From Wingman
Retrospective analysis of Wingman reviews — identify trends, prune stale patterns, and recommend automation improvements
How this skill is triggered — by the user, by Claude, or both
Slash command
/wingman:review-retroThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform a retrospective analysis of accumulated review data. Identify what's working, what's not, and refine the feedback loop.
Perform a retrospective analysis of accumulated review data. Identify what's working, what's not, and refine the feedback loop.
Run this weekly or when review findings feel repetitive.
Read all .json files in .reviews/ with "status": "categorized".
Also read the current .claude/rules/review-patterns.md.
If fewer than 3 categorized reviews exist, tell the user there isn't enough data yet and suggest running more /review:loop cycles first.
Files written by wingman v2 (wingman_schema_version: "2") carry a
top-level reviewer block with tool_version, model, provider,
reasoning_effort, session_id, and wall_seconds. Use these when
analysing trends:
reviewer.tool (codex/gemini/claude) and by
reviewer.model to compare findings produced by different reviewers and
models (e.g. did gemini surface different patterns than codex?).reviewer.wall_seconds over time to spot reviewer performance
regressions or model-tier upgrades.reviewer.tool_version when interpreting findings — a tool
upgrade can change which categories surface.Older v1 files (no wingman_schema_version) lack these fields. Either
run python3 scripts/migrate-reviews.py from the wingman repo to
backfill (best-effort extraction from raw_review prose), or treat
v1 files as model: "unknown" for trend analysis.
Identify the top 5 most frequent finding patterns across all reviews. For each:
.claude/rules/review-patterns.md?For each pattern in .claude/rules/review-patterns.md:
Look for findings categorized as "logic" that could be automated:
For each opportunity, explain specifically what rule or check to add.
If there are reviews spanning more than 1 week, calculate:
Based on the analysis:
.claude/rules/review-patterns.md (no appearances in 4+ weeks)Commit changes:
docs(review): retro — prune stale patterns, refine rules
Print a structured report:
Wingman Retro Report
====================
Reviews analyzed: N (date range: YYYY-MM-DD to YYYY-MM-DD)
Trend: findings are [decreasing/stable/increasing]
First half avg: X findings/review
Second half avg: Y findings/review
Top recurring patterns:
1. <pattern> — N occurrences — [covered/not covered]
2. ...
Rule effectiveness:
- Active and working: N patterns
- Needs rewrite: N patterns
- Stale (archived): N patterns
Automation recommendations:
- <specific rule to add to linter/type checker>
- ...
Actions taken:
- Archived N stale patterns
- Rewrote N unclear patterns
- Added N new patterns
npx claudepluginhub ashbrener/wingman --plugin wingmanProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.