recipe-front-design
Skill712 starsChanged 8 months agoMITView on GitHub
Execute from repository evidence through applicable UI Spec and optional ADR decisions to complete frontend 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-designSkill
- recipe-diagnoseSkill
- recipe-front-adjustSkill
- recipe-front-buildSkill
- 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
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
7
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.
- Very specific: line 36
Use Review Resolution for every actionable finding.
- Distinctive: line 42
Use the approved PRD path when one exists.
- Very specific: line 58
When a UI Spec applies, load and apply external-resource-context only when an external resource can change the current UI direction, …
- Distinctive: line 60
Ask for prototype code only when it supplies an unresolved approved UI decision or the target cannot be determined from requirements, …
- Very specific: line 74
Add only an existing ui_spec_path, a decision-relevant prototype_path, and selected external_resource_refs or [].
- Distinctive: line 94
Run this step only when Step 3 determined that a UI Spec applies.
- Very specific: line 111
When adrDecisionPoints is non-empty:
- Very specific: line 117
After user approval, set every ADR status to Accepted and verify the status update.
- Distinctive: line 121
Create the complete frontend MVP implementation design from reviewed artifacts and unchanged repository/UI evidence.
- Very specific: line 135
When a backend Design Doc already exists for this feature, pass a distinct output_path such as …
- Distinctive: line 139
Keep verifier observations unchanged so corrections remain traceable to observed repository evidence instead of becoming …
- Distinctive: line 161
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 a Medium/Large frontend design from evidence to an applicable UI Spec and approved Design Doc. The user owns product requirements and exclusions; the orchestrator owns convergence readiness, Structural Scale, document routing, ADR qualification, evidence selection, and Review Resolution. Named specialists own semantic investigation and artifacts.
The frontend Design Doc always carries the complete implementation design. An ADR batch narrows qualifying technical choices; an applicable UI Spec owns UI structure and behavior that remain to be designed.
Requirements: $ARGUMENTS
Flow
requirement source -> codebase-analyzer -> scope/document routing confirmation [Stop]
|
conditional UI analysis -> UI Spec review [Stop]
|
optional ADR batch/review [Stop]
|
Design Doc -> code-verifier/Resolution -> document-reviewer
|
design-sync -> approval [Stop]Use Review Resolution for every actionable finding. Wait at each [Stop] for explicit user confirmation.
At each Agent invocation below, build the 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 Repository Decision Material
Invoke dev-workflows-frontend:codebase-analyzer once for the complete scope with exactly prd_path: [approved PRD path], or requirements: [requirements verbatim] when no approved PRD exists.
Require one valid JSON result and let the analyzer discover affected paths, responsibility boundaries, and cross-layer contracts. Treat focusAreas as existing-behavior safeguards rather than requirements.
This independent discovery keeps scope and option convergence grounded in repository evidence rather than the orchestrator's unverified implementation hypothesis.
Step 3: Determine UI Spec Applicability and Resolve UI Evidence
Apply the documentation-criteria UI Spec creation condition. When it does not apply, skip UI analysis and Step 5.
When a UI Spec applies, load and apply external-resource-context only when an external resource can change the current UI direction, component contract, or verification boundary. Otherwise use external_resource_refs: [].
Ask for prototype code only when it supplies an unresolved approved UI decision or the target cannot be determined from requirements, repository UI, and recorded resources. A missing optional prototype is not a stop condition.
Invoke dev-workflows-frontend:ui-analyzer with exactly one governing source:
prd_path: [approved PRD path]or, when no approved PRD exists:
requirements: [requirements verbatim]Add only an existing ui_spec_path, a decision-relevant prototype_path, and selected external_resource_refs or [].
ui_spec_path: [existing UI Spec path]
prototype_path: [decision-relevant path]
external_resource_refs: [selected references or []]Step 4: Confirm Scope and ADR Decisions
Execute Skill: requirement-convergence. Build and judge the convergence record from the governing requirement source, repository analysis, and applicable UI analysis.
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 candidate decision points against the governing source, applicable code/UI simplifications, reuse, and invalidations; applicable UI facts may support or contradict the remaining options. Apply documentation-criteria Choice and Durability filters only after this convergence and record passing points as adrDecisionPoints; an empty list is valid.
Present the requirement-convergence Scope Confirmation. Place affected responsibilities, applicable simplifications with their conditions, and qualifying ADR points or none under Decision evidence; place Structural Scale, UI Spec applicability, and the recommended document route under Workflow. Offer proceed, or correct and re-run. 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 5: Create and Approve the UI Spec
Run this step only when Step 3 determined that a UI Spec applies.
Invoke dev-workflows-frontend:ui-spec-designer with exact inputs:
requirement_context: [the value set in Step 1]
ui_analysis: [complete Step 3 UI analyzer JSON unchanged]
codebase_analysis: [complete Step 2 codebase-analyzer JSON unchanged]
prototype_path: [decision-relevant path from Step 3 exactly, or absent]
prototype_reference_strength: [binding | reference, present with a prototype_path]
external_resource_refs: [selected Step 3 reference records unchanged, or []]Invoke dev-workflows-frontend:document-reviewer with exact inputs: doc_type: UISpec and target as the UI Spec path returned by ui-spec-designer, unchanged. pass presents the UI Spec with issues: []; needs_revision applies Review Resolution and re-reviews after correction; rejected resolves the governing-source conflict before another review. [Stop: UI Spec approval].
Step 6: Create and Approve an ADR Batch When Needed
When adrDecisionPoints is non-empty:
- Route shared/backend-owned points to technical-designer first, then frontend-owned points to technical-designer-frontend. Invoke each owner with exact inputs:
document_to_create: ADRBatch;requirement_context; its ordereddecision_pointsfrom Step 4, unchanged;decision_materialsas the corresponding Step 2decisionMaterials.candidateDecisionPointsobjects copied unchanged in that order; andui_spec_pathonly when the approved UI Spec constrains that owner's decision. Run owner batches serially so each batch allocates ADR numbers after the preceding batch exists. - Collect all returned paths and invoke
dev-workflows-frontend:document-revieweronce with exact inputs:doc_type: ADRBatch,targets: [all paths], andrequirement_context. The reviewer follows the approved UI Spec cited by the ADRs when it can change the decision review. - 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, set every ADR status to
Acceptedand verify the status update.
Step 7: Create the Frontend Design Doc
Create the complete frontend MVP implementation design from reviewed artifacts and unchanged repository/UI evidence; this keeps the Design Doc traceable to approved sources instead of an orchestrator-authored shadow design.
Invoke dev-workflows-frontend:technical-designer-frontend with exactly:
document_to_create: DesignDoc;requirement_context;structural_scale;- applicable approved
ui_spec_pathexactly and selected external-resource reference records unchanged; adr_paths: [accepted paths or []];codebase_analysis: [complete Step 2 JSON unchanged];ui_analysis: [complete Step 3 JSON unchanged; omit when absent].
The Design Doc owns the full component-to-service implementation and retains all applicable downstream safeguards.
When a backend Design Doc already exists for this feature, pass a distinct output_path such as docs/design/[feature-name]-frontend-design.md; preserve the backend path as a reference.
Step 8: Verify, Review, and Approve
Keep verifier observations unchanged so corrections remain traceable to observed repository evidence instead of becoming orchestrator-authored design instructions.
Invoke dev-workflows-frontend:code-verifier with doc_type: design-doc and document_path as the Design Doc path returned by technical-designer-frontend, unchanged, to verify current premises and feasibility while treating planned behavior as intent. Apply Review Resolution before document review; send applied findings to a fresh technical-designer-frontend 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 for an unverified decision-changing premise; this fresh designer is the sole correction specialist and selects the evidence route. Rerun verification after an applied correction with the previous complete result, dispositions, and correction diff or paths as prior_feedback, then build one verification_evidence object from the latest result. Continue at the Review Resolution convergence condition.
Invoke dev-workflows-frontend:document-reviewer with exact inputs: doc_type: DesignDoc; target as the returned Design Doc path unchanged; review_context: creation; original user requirements unchanged as requirements_verbatim; the Step 1 requirement_context unchanged; the same unchanged codebase_analysis and optional ui_analysis supplied to the designer; and Step 8 verification_evidence unchanged. The reviewer follows an applicable UI Spec and accepted ADR paths cited by the Design Doc only when they can change an in-scope finding.
pass: continue.needs_revision: apply Review Resolution, update through a fresh technical-designer-frontend 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-frontend:design-sync with source_design as the returned Design Doc path unchanged, apply Review Resolution to actionable conflicts, and report SKIPPED distinctly when only one Design Doc exists.
Present the applicable UI Spec, Design Doc, accepted ADR paths, resolved limitations/declines, and sync result. [Stop: Design approval].
Completion Criteria
- External and prototype evidence was requested only when it controlled a current decision.
- Scope and Structural Scale were determined from outcomes and responsibility boundaries.
- ADRs exist only for points passing both filters, and the batch received one review and approval.
- An applicable UI Spec and a complete frontend Design Doc exist regardless of ADR need.
- Applicable existing UI behavior, contracts, assumptions, states, 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.

