recipe-review
Skill39 starsChanged 12 days agoMITView on GitHub
Reviews completed implementation for governing-source compliance, scope economy, repository quality, and security, and applies user-approved corrections.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shinpr/claude-code-workflowstheir own version, first seen Mar 23, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- shinpr/claude-code-workflows★ 712same 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 repository30 other files it gives its agents.
- ai-development-guideSkill
- coding-rulesSkill
- documentation-criteriaSkill
- external-resource-contextSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- recipe-add-integration-testsSkill
- recipe-buildSkill
- recipe-designSkill
- recipe-diagnoseSkill
- recipe-front-adjustSkill
- recipe-front-buildSkill
- recipe-front-designSkill
- recipe-front-planSkill
- recipe-front-reviewSkill
- recipe-fullstack-buildSkill
- recipe-fullstack-implementSkill
- recipe-implementSkill
- recipe-outcome-watchSkill
- recipe-planSkill
- recipe-prepare-implementationSkill
- recipe-quality-profileSkill
- recipe-reverse-engineerSkill
- recipe-update-docSkill
- requirement-convergenceSkill
- reviewee-judgmentSkill
- subagent-delegationSkill
- subagents-orchestration-guideSkill
- testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Before loading required skills, use wc -c to size the files and set both exec_command.max_output_tokens and the outer // @exec: …
- Very specific: line 16
Invocation rule: Start each named agent with spawn_agent and fork_turns="none".
- Very specific: line 43
If a single active work plan is explicitly provided or unambiguously resolved for that Design Doc, read its Review Scope line.
- Distinctive: line 59
If either reviewer returns a blocked or otherwise unusable result, apply Orchestrator Escalation Resolution before continuing.
- Distinctive: line 88
Use the design-side route when the Design Doc is stale, excessive, or incorrect for the required outcome.
- Distinctive: line 89
Use the code-side route when the required correction changes implementation.
- Distinctive: line 93
If the user declines corrections, skip Steps 5-10 and proceed to Step 11.
- Distinctive: line 97
Use the llm-friendly-context Task File Contract.
- Distinctive: line 101
Run this step only when the user selects a design-side correction.
- Very specific: line 105
If multiple Design Docs exist in docs/design/, invoke design-sync agent: "Check cross-Design Doc consistency after updating [path]."
- Distinctive: line 106
If the user selected both routes, re-evaluate the code-side findings against the updated Design Doc and drop any that are now satisfied.
- Very specific: line 110
Create task file at docs/plans/tasks/review-fixes-task-01.md Include only findings selected for code-side correction.
- Distinctive: line 117
Start the Per-Task Change Set before execution.
- Distinctive: line 131
After any code fix, both Steps 9 and 10 are mandatory even when only one reviewer initially reported a finding.
- Very specific: line 137
Delete the review-fix task file this recipe created, if present.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Required Skills [LOAD BEFORE EXECUTION]
Before loading required skills, use wc -c to size the files and set both exec_command.max_output_tokens and the outer // @exec: {"max_output_tokens": N} budget to accommodate their contents, including the combined output of batched reads. Split oversized reads upfront; recover any truncated content before proceeding.
- [LOAD IF NOT ACTIVE]
coding-rules— repository implementation rules - [LOAD IF NOT ACTIVE]
testing— verification and test quality rules - [LOAD IF NOT ACTIVE]
ai-development-guide— review and repair discipline - [LOAD IF NOT ACTIVE]
llm-friendly-context— task file contract - [LOAD IF NOT ACTIVE]
subagents-orchestration-guide— agent coordination and result handling
Invocation rule: Start each named agent with spawn_agent and fork_turns="none". When invoking the same named agent again within this flow, use followup_task on its existing instance with the inputs specified for the current invocation.
Context: Post-implementation quality assurance
Orchestrator Definition
Core Identity: Coordinate review, perform lightweight evidence collection and routing directly, and invoke specialists for semantic review and implementation repair.
Execution Plan: Reuse the active execution plan. When the workflow has multiple dependent actions and no plan exists, create one that tracks them through final verification.
Execution Method
- Implementation review -> Invoke code-reviewer agent
- Security validation -> Invoke security-reviewer agent
- Code-side fix path -> Invoke task-executor agent
- Design-side update path -> Invoke technical-designer in update mode, then document-reviewer, then design-sync when multiple Design Docs exist
- Quality checks -> Invoke quality-fixer agent
- Re-validation -> Invoke code-reviewer / security-reviewer agents
Orchestrator spawns sub-agents and passes structured data between them.
Design Doc (uses most recent if omitted): $ARGUMENTS
Execution Flow
Step 1: Prerequisite Check
Identify the Design Doc in docs/design/. Derive $STEP_1_FILES as the complete change set for the current work from repository history, tracking state, and the working tree. Include committed, staged, unstaged, and untracked paths, and pass the complete set unchanged to both reviewers.
If a single active work plan is explicitly provided or unambiguously resolved for that Design Doc, read its Review Scope line. Otherwise set Work Plan: none and Review Scope: none; do not infer.
Step 2: Execute code-reviewer
Invoke code-reviewer agent: "Review the completed implementation. governingDocuments: [{type: design-doc, path: [path]}]. Work Plan: [resolved work plan path or none]. Review Scope: [literal Review Scope value or none]. implementationFiles: [$STEP_1_FILES]. Return the initial review JSON."
Store output as: $STEP_2_OUTPUT
Step 3: Execute security-reviewer
Invoke security-reviewer with governingDocuments: [{type: "design-doc", path: [path]}] and implementationFiles: $STEP_1_FILES.
Store output as: $STEP_3_OUTPUT
Step 4: Verdict and Response
Review reception: Unnecessary repairs create lasting work. Before assigning a fix, use Review Resolution to judge no change, removal or narrowing, and reuse first; record why any retained or added mechanism is necessary.
If either reviewer returns a blocked or otherwise unusable result, apply Orchestrator Escalation Resolution before continuing.
Apply a security-reviewer finding only when leaving it unresolved would violate an explicit governing requirement or repository rule, or leave a concrete material security failure in the actual reachable trust model. The violated requirement, rule, or failure defines implementation scope: route the smallest correction that resolves it, treating the reviewer's suggestion as one candidate implementation.
Code criteria:
code-reviewerverdict ispass
Security criteria:
pass-> Passneeds_revision-> Requires disposition
Report required corrections from both results, then apply Review Resolution before proposing corrections:
Implementation Review: [verdict]
Acceptance Criteria: [fulfilled/unfulfilled items with evidence]
Findings: [required-correction findings with basis and effect]
Security Review: [status from security-reviewer]
Findings by category:
- [confirmed_risk] [location]: [description] — [rationale]
- [defense_gap] [location]: [description] — [rationale]
Proposed corrections:
Code-side fix
Design-side updateApply Review Resolution before presenting results. Recommend a correction route only for findings classified apply or user decision required:
- Use the design-side route when the Design Doc is stale, excessive, or incorrect for the required outcome. A selected reduction may require both source updates and code removal; neither route makes existing implementation authoritative.
- Use the code-side route when the required correction changes implementation.
Present the review. When no correction remains, proceed to Step 11. Because this recipe is a review request rather than prior implementation authority, ask once before applying the proposed code or document corrections.
If the user declines corrections, skip Steps 5-10 and proceed to Step 11.
Step 5: Prepare Fix Context
Use the llm-friendly-context Task File Contract.
Step 5d: Design-Side Update
Run this step only when the user selects a design-side correction.
- Invoke technical-designer agent in update mode: "Update Design Doc at [path]. Apply the selected Review Resolution disposition to these findings; neither existing implementation nor the prior design is automatically correct: [d-routed findings with code locations and current Design Doc values]. Update the relevant sections and add change history."
- Invoke document-reviewer agent: "Review updated Design Doc at [path] for consistency and completeness. doc_type: DesignDoc. review_context: update."
- If multiple Design Docs exist in
docs/design/, invoke design-sync agent: "Check cross-Design Doc consistency after updating [path]." - If the user selected both routes, re-evaluate the code-side findings against the updated Design Doc and drop any that are now satisfied.
Step 6: Create Task File
Create task file at docs/plans/tasks/review-fixes-task-01.md
Include only findings selected for code-side correction.
Step 7: Execute Fixes
Invoke task-executor agent: "Execute the accepted review fixes. Task file: docs/plans/tasks/review-fixes-task-01.md."
Start the Per-Task Change Set before execution. Inspect the executor result and repository diff, add its paths, and continue when the requested fixes are present; resolve an incomplete or unusable result through Orchestrator Escalation Resolution.
Step 8: Quality Check
Invoke quality-fixer with task_file, filesModified: taskWriteSet, and executor operation-verification evidence. On pass, add its paths and commit the reconciled Per-Task Change Set; repair stubs through task-executor, accumulate their paths, and resolve blocked results through Orchestrator Escalation Resolution.
Step 9: Re-validate code-reviewer
Invoke code-reviewer with the original governing documents and implementation change set, plus prior_feedback: [the complete Step 2 result, applied corrections, declined finding IDs with reasons and evidence, and the correction paths or diff]. Apply its Rerun Boundary.
Step 10: Re-validate security-reviewer
Invoke security-reviewer with governingDocuments: [{type: "design-doc", path: [path]}], the actual implementation and fix files, and prior_feedback: [applied corrections and declined finding IDs with reasons and evidence from Step 4].
After any code fix, both Steps 9 and 10 are mandatory even when only one reviewer initially reported a finding.
Apply Review Resolution to rerun findings. Its convergence rule governs any further correction and rerun; code-reviewer receives the latest complete result and the next correction paths or diff.
Step 11: Final Report
Delete the review-fix task file this recipe created, if present. Its work is committed; docs/plans/ is ephemeral working state.
Implementation Review:
Initial: [verdict]
Final: [verdict] (if fixes executed)
Security Review:
Initial: [status]
Final: [status] (if fixes executed)
Remaining issues:
- [items requiring manual intervention]Completion Criteria
- Design Doc identified and implementation files checked
- code-reviewer invoked and compliance validated
- security-reviewer invoked and security reviewed
- Results presented to user
- Fixes executed if user approved (with quality-fixer gate)
- Re-validation completed after fixes (both code and security)
- Final report presented to user
Scope: Completed implementation review, security review, and approved corrections.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

