critical-review
Skill16 starsChanged 7 months agoMITView on GitHub
Run a multi-round critical review loop using specialized subagents. Use when the user asks to review changes, harden code, or ensure quality before merge. Spawns parallel review agents across security, core-logic, tests, CLI integration, and API surface, then iterates fix-and-re-review rounds until all agents report clean.
We split this skill into the rules it gives an agent
12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run a comprehensive, multi-round critical review of recent changes using specialized subagents.
- Very specific: line 10
Use $ARGUMENTS as a scope hint when provided (e.g., a module name, file glob, or feature area).
- Distinctive: line 28
Ask the agent to report "No findings." if everything is clean.
- Distinctive: line 33
Run git diff --name-only (staged + unstaged) and git log --oneline to determine which files changed.
- Very specific: line 34
If $ARGUMENTS narrows the scope, filter the file list accordingly.
- Distinctive: line 35
Read each changed file to have full context before spawning reviewers.
- Very specific: line 49
Run quality gates after fixes: pnpm check:write, pnpm typecheck, and relevant tests.
- Distinctive: line 52
If any HIGH or MEDIUM findings were fixed, go back to step 2 for the next round.
- Distinctive: line 64
Stay in scope: Do not refactor code unrelated to the changes under review.
- Distinctive: line 71
Run these after every fix round, before spawning the next review:
- Distinctive: line 82
All five agents report zero HIGH and zero MEDIUM findings on the changes.
- Distinctive: line 83
All quality gates pass.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
critical-review
Run a comprehensive, multi-round critical review of recent changes using specialized subagents.
Use $ARGUMENTS as a scope hint when provided (e.g., a module name, file glob, or feature area). When omitted, review all uncommitted or recently committed changes on the current branch.
Review agents
Spawn these five review agents in parallel each round:
| Agent type | Focus |
security-reviewer | Path traversal, injection, symlinks, deletion safety, permission checks, DoS vectors |
core-logic-reviewer | DRY violations, type safety, edge cases, error propagation, maintainability |
test-reviewer | Coverage gaps, assertion quality, test isolation, DRY in tests, E2E reliability |
cli-integration-reviewer | Command registry, renderer, interactive adapter, commander adapter consistency |
api-docs-reviewer | Naming conventions, documentation completeness, barrel exports, breaking change risk |
Each agent prompt must:
- List the specific files to review (use
git diff --name-onlyagainst the base branch to identify them). - Describe what was already fixed in prior rounds so the agent does not re-report resolved issues.
- Request findings categorized as HIGH / MEDIUM / LOW / INFO with clear descriptions.
- Ask the agent to report "No findings." if everything is clean.
Steps
- Identify scope.
- Run
git diff --name-only(staged + unstaged) andgit log --onelineto determine which files changed. - If
$ARGUMENTSnarrows the scope, filter the file list accordingly. - Read each changed file to have full context before spawning reviewers.
- Run
- Round N: Spawn review agents.
- Launch all five agents in parallel using the
Agenttool with the appropriatesubagent_type. - Each agent prompt must be self-contained: include file paths, prior-round context, and what to check.
- Collect all findings.
- Launch all five agents in parallel using the
- Triage findings.
- Aggregate results into a table:
| Reviewer | HIGH | MEDIUM | LOW | INFO |. - Identify all HIGH and MEDIUM findings that are actionable and specific to the changes (ignore pre-existing codebase issues not introduced by the changes).
- Aggregate results into a table:
- Fix findings.
- Apply fixes for all HIGH findings and all MEDIUM findings that represent real bugs, behavioral inconsistencies, or security issues.
- For MEDIUM findings that are stylistic or pre-existing patterns, note them but do not fix unless they are trivially addressable.
- Run quality gates after fixes:
pnpm check:write,pnpm typecheck, and relevant tests.
- Iterate.
- If any HIGH or MEDIUM findings were fixed, go back to step 2 for the next round.
- In each subsequent round, tell agents what was fixed so they verify the fixes and look for new issues.
- Continue until all agents report no remaining HIGH or MEDIUM findings.
- Report.
- Summarize all rounds: what was found, what was fixed, what was intentionally deferred.
- Present the final findings table showing all agents clean.
Rules
- Never skip a round. Even if only one agent had findings, re-run all five to catch regressions.
- Fix, don't suppress. Address root causes. Do not silence findings by removing tests or weakening assertions.
- Stay in scope. Do not refactor code unrelated to the changes under review.
- Permission-dependent tests that fail when running as root should use
skip: process.getuid?.() === 0 && "root bypasses file permissions". - Pre-existing failures (e.g., tests in other modules that were already failing) should be noted but not counted against the review.
- Track progress with
TodoWriteso the user can see round-by-round status.
Quality gates
Run these after every fix round, before spawning the next review:
pnpm check:write # Biome lint + format with auto-fix
pnpm typecheck # Type-check all packages
pnpm test # Unit tests (or targeted test file)Exit criteria
The review loop is complete when:
- All five agents report zero HIGH and zero MEDIUM findings on the changes.
- All quality gates pass.
- Changes are committed and pushed.
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- yeisonrestrepo/code-conductor★ 17same name
- kimon1230/claude_extensions★ 4same name
- parsoFish/skills★ 1same name
- JigneshAmmineni/agentic-engineering-workflow★ 0same name
- mido-99/Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- critical-reviewSkill
- harness-commandSkill
- harness-hookSkill
- harness-mcpSkill
- harness-prompt-sectionSkill
- harness-settingsSkill
- harness-skillSkill
- harness-subagentSkill
- npm-workflow-releaseSkill
- harness-commandSkill
- harness-hookSkill
- harness-mcpSkill
- harness-prompt-sectionSkill
- harness-settingsSkill
- harness-skillSkill
- harness-subagentSkill
- npm-workflow-releaseSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

