skills/reviewing-code/SKILL.md
Runs an adversarial code review loop that spawns independent reviewer and fixer subagents, iterating until only nitpicks remain. Scores findings by confidence, fixes real issues, and re-reviews with fresh eyes — all internal, no GitHub comments. Use when asked to review code, self-review, adversarial review, or polish code before pushing
npx skillsauth add riccardogrin/skills reviewing-codeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Adversarial review loop: reviewer finds issues → fixer resolves them → fresh reviewer verifies → repeat until clean. All findings and fixes happen locally — nothing is posted to GitHub.
| File | Read When |
|------|-----------|
| references/review-perspectives.md | Spawning reviewer subagents — describes each review angle and what to look for |
| references/confidence-scoring.md | Scoring findings — rubric, thresholds, and false positive exclusions |
This is a fully autonomous process — the user is not involved until the review is complete or the manager needs help with something it can't resolve on its own.
The manager (you) orchestrates the loop between two roles:
The manager decides everything dynamically: how many reviewers to spawn, how many fixers to spawn, whether to loop again, and when to escalate to the user. No numbers are hardcoded — scale to the size and complexity of the change.
git diff --name-only origin/{base_branch}...HEAD for the file listgit diff origin/{base_branch}...HEAD for the full diffLoad references/review-perspectives.md for the detailed instructions to give each agent.
Decide how many reviewers to spawn based on the scope of changes:
These are guidelines, not rules — use judgment. A 2-file change touching critical auth code may warrant 3 reviewers. A 20-file rename refactor may only need 1.
Each subagent receives the diff, the list of changed files, and any relevant CLAUDE.md content. Subagents must not see each other's findings — independent review is the point.
Each agent returns a list of findings, each with:
references/confidence-scoring.md)Load references/confidence-scoring.md for the rubric and false positive list.
Spawn new reviewer subagent(s) with fresh context — no knowledge of the previous review or fixes.
Scale the re-review the same way as Phase 2: if the fixes were small and localized, one reviewer is enough. If the fixes were extensive or touched many files, use more reviewers.
Each agent receives:
git diff origin/{base_branch}...HEAD)Evaluate the results:
There is no hard iteration cap. Stop when findings degrade to nitpicks. If the loop isn't converging (same issues reappearing, or fixes introducing new issues of similar severity), ask the user for guidance rather than looping forever.
Present a summary to the user:
## Review Complete
**Rounds:** {N} review cycles
**Findings:** {total} found, {fixed} fixed, {filtered} filtered as false positives
**Changes:** {files_changed} files modified
### Fixed Issues
1. [{severity}] {description} — {file}:{line}
2. ...
### Remaining (nitpicks, not fixed)
1. [{severity}] {description} — {file}:{line}
2. ...
If the user wants to proceed, they can commit and push. The skill does not commit or push automatically.
Ask the user for help when:
data-ai
Downloads YouTube videos, transcribes audio via OpenAI Whisper, and produces summaries stored locally. Covers yt-dlp download, audio extraction, transcription, caching, and summarization. Use when a YouTube link is shared and the user wants a transcript or summary
development
Creates implementation-ready plans through discovery interviews, external research, and codebase analysis. Covers requirements, competitor research, architecture decisions, and change sequencing. Use when planning features, roadmaps, specs, or any work that needs discovery before coding
development
Generates an autonomous game design loop that iteratively expands a game concept into a comprehensive vision and implementation plan across multiple sessions. Covers mechanic exploration, system design, competitor research, and plan generation. Use when developing a game idea from seed concept to full implementation plan
testing
Generates an autonomous implementation loop that executes tasks from a plan across Claude sessions, with periodic audit passes that inject follow-up tasks. Covers loop script, prompt design, and audit cadence. Use when setting up autonomous task execution or Ralph-style iterative workflows