recipe-design
Skill712 starsChanged 8 months agoMITView on GitHub
Execute from codebase-scoped analysis through optional ADR decisions to complete Design Doc approval
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shinpr/codex-workflowstheir own version, first seen Nov 3, 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/codex-workflows★ 39same 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 repository27 other files it gives its agents.
- ai-development-guideSkill
- coding-principlesSkill
- documentation-criteriaSkill
- external-resource-contextSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- recipe-add-integration-testsSkill
- recipe-buildSkill
- 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-planSkill
- recipe-quality-profileSkill
- recipe-reverse-engineerSkill
- recipe-reviewSkill
- recipe-update-docSkill
- requirement-convergenceSkill
- subagents-orchestration-guideSkill
- testing-principlesSkill
- typescript-rulesSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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
- Very specific: line 12
Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.
- Distinctive: line 40
Use the approved PRD path when one exists.
- Very specific: line 83
When adrDecisionPoints is non-empty:
- Very specific: line 89
After user approval, update each ADR status to Accepted and verify the changed status.
- Distinctive: line 93
Create the complete MVP implementation design from reviewed artifacts and unchanged repository evidence.
- Distinctive: line 107
Keep verifier observations unchanged so corrections remain traceable to observed repository evidence instead of becoming …
- Distinctive: line 132
All stop points received explicit user confirmation.
≈ “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
Explicit User Instruction: The user explicitly instructs and authorizes every subagent call named in this recipe. Execute each applicable call when its prerequisites are met.
Execute Skill: documentation-criteria before document routing or creation.
Execute Skill: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts.
Execute Skill: subagents-orchestration-guide before invoking agents or resolving findings.
Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.
Outcome and Ownership
Coordinate the design phase from repository evidence to an approved Design Doc. The user owns product requirements and exclusions; the orchestrator owns convergence readiness, Structural Scale, ADR qualification, evidence selection, and Review Resolution. Named specialists own semantic investigation and artifact authorship.
The Design Doc is always the complete implementation design for Medium/Large work. A qualifying ADR batch narrows technical choices before the Design Doc, which retains the complete flow and implementation boundary.
Requirements: $ARGUMENTS
Flow
requirement source -> codebase-analyzer -> scope/decision confirmation [Stop]
|
optional ADR batch -> batch review [Stop]
|
Design Doc -> code-verifier -> Review Resolution
|
document-reviewer -> design-sync -> approval [Stop]Execute each dependent step after its prerequisite evidence exists. Use Review Resolution for every actionable verifier, reviewer, or design-sync finding. Wait at each [Stop] for explicit user confirmation.
At each Invoke below, build the Agent prompt as a mechanical extraction: copy the named source values into the exact fields, apply only the declared serialization, then invoke immediately.
Step 1: Select the Governing Requirement Source
Use the approved PRD path when one exists. Otherwise use the requirements verbatim.
Set requirement_context to the approved PRD path exactly. Only when no approved PRD exists, use the orchestrator's convergence record unchanged.
Step 2: Collect Decision Material
Invoke dev-workflows:codebase-analyzer:
prd_path: [approved PRD path]or, when no approved PRD exists:
requirements: [requirements verbatim]Invoke once for the complete scope. Require one valid JSON result and let the analyzer discover affected paths, responsibility boundaries, and cross-layer contracts. Treat its focus areas as existing-behavior safeguards, not as new requirements.
This independent discovery keeps scope and option convergence grounded in repository evidence rather than the orchestrator's unverified implementation hypothesis.
Step 3: Confirm Scope and ADR Decisions
Execute Skill: requirement-convergence. The orchestrator builds and judges the convergence record from the user request and Step 2 evidence.
Judge all four convergence fields by the rules in references/criteria.md of the requirement-convergence skill. Assign cost from Step 2 structural evidence and record its unknowns; run the hearing only for fields below ready.
Determine Structural Scale from outcomes and responsibility boundaries. File count is supporting evidence only.
Resolve decisionMaterials.candidateDecisionPoints against the governing requirement source, applicable simplifications, reuse, and invalidations. Remove a point when that evidence already converges on one sufficient approach. For each remaining item, apply documentation-criteria filters in order:
- Choice requires judgment between at least two credible, materially distinct options inside the scope of the requirements.
- The selection has durable material impact.
Record every passing item as adrDecisionPoints; an empty list routes directly to the Design Doc. ADR creation is limited to items that pass both filters.
Present the requirement-convergence Scope Confirmation. Place target responsibilities with their strongest file evidence, applicable simplifications with their conditions, and each qualifying ADR decision point with its filter evidence or none under Decision evidence; place Structural Scale with its boundary rationale and the recommended document route under Workflow.
Offer proceed, or correct scope and re-run analysis. Ask a question only when its answer can change a convergence field, the outcome, or scope. Continue only when every convergence field is ready or weak-but-explicit. [Stop: Scope confirmation].
Step 4: Create and Approve an ADR Batch When Needed
When adrDecisionPoints is non-empty:
- Invoke
dev-workflows:technical-designeronce with exact inputs:document_to_create: ADRBatch;requirement_context;decision_pointsas the orderedadrDecisionPointsfrom Step 3, unchanged; anddecision_materialsas the corresponding objects from Step 2decisionMaterials.candidateDecisionPoints, copied unchanged in that order. - Invoke
dev-workflows:document-revieweronce with exact inputs:doc_type: ADRBatch,targets: [all returned paths], andrequirement_context. - Route the reviewer verdict first:
passproceeds withissues: [];needs_revisionapplies Review Resolution, updates one ADR per path serially, and re-reviews the complete batch;rejectedresolves the governing-source conflict before another review. - Present one batch decision after Review Resolution converges, including a decline-only result; unresolved governing-source conflicts still block approval.
[Stop: ADR batch approval]. - After user approval, update each ADR status to
Acceptedand verify the changed status.
Step 5: Create the Design Doc
Create the complete MVP implementation design from reviewed artifacts and unchanged repository evidence; this keeps the Design Doc traceable to approved sources instead of an orchestrator-authored shadow design.
Invoke dev-workflows:technical-designer with exactly:
document_to_create: DesignDoc;requirement_context;structural_scale;adr_paths: [accepted paths or []];codebase_analysis: [complete Step 2 JSON unchanged].
The Design Doc owns the full end-to-end design and retains all applicable downstream safeguards in the documentation-criteria template.
Step 6: Verify and Resolve Repository Claims
Keep verifier observations unchanged so corrections remain traceable to observed repository evidence instead of becoming orchestrator-authored design instructions.
Invoke dev-workflows:code-verifier with doc_type: design-doc and the Design Doc path to verify current premises and feasibility while treating planned behavior as intent.
Apply Review Resolution to every discrepancy before document review. Send only apply findings to a fresh technical-designer update invocation with Operation Mode: update, Existing Document: [Design Doc path], and correction_findings: [complete findings unchanged except for their dispositions]. The designer applies its review-triggered bounded self-verification gate when a finding names an unverified decision-changing premise; this fresh designer is the sole correction specialist and selects the evidence route. Rerun code-verifier after a correction with the previous complete result, dispositions, and correction diff or paths as prior_feedback. Build the single verification_evidence object defined by Review Resolution from the latest result and continue at its convergence condition.
Step 7: Review and Approve
Invoke dev-workflows:document-reviewer with exact inputs: doc_type: DesignDoc, target, review_context: creation, the original user requirements verbatim as requirements_verbatim, requirement_context, codebase_analysis, and verification_evidence from Step 6.
pass: continue.needs_revision: apply Review Resolution, update through a fresh technical-designer invocation using the existing path and complete applied findings, then re-review withprior_feedback.rejected: resolve technical governing-source conflicts through Review Resolution; ask the user only when the outcome, desired-future requirements, and non-goals cannot all remain true and the user must choose which changes.
Invoke dev-workflows:design-sync for consistency with other Design Docs and apply Review Resolution to actionable conflicts. Report SKIPPED distinctly when only one Design Doc exists.
Present the Design Doc, accepted ADR paths, resolved limitations/declines, and design-sync result. [Stop: Design approval].
Completion Criteria
- Scope and Structural Scale were determined from outcomes and responsibility boundaries.
- ADRs exist only for decision points passing both filters, and the complete batch received one review and approval.
- A Design Doc exists regardless of whether ADRs were needed.
- Applicable existing-behavior, contract, assumption, equivalence, and verification safeguards reached the Design Doc.
- Review Resolution routed only
needs_revisionissues into correction work. - All stop points received explicit user confirmation.
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.

