agentleFS
shinprshinpr/claude-code-workflows/skills/recipe-fullstack-implement/SKILL.md

recipe-fullstack-implement

Skill712 starsChanged 8 months agoMITView on GitHub

Orchestrate full-cycle implementation across backend and frontend layers

1 other project uses a version of this.

Adopted by

Most recently taken up by

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
  1. Very specific:

    Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.

    line 21
  2. Very specific:

    MANDATORY: Read references/monorepo-flow.md from subagents-orchestration-guide skill BEFORE proceeding.

    line 25
  3. Distinctive:

    Enter autonomous mode: only after "batch approval for entire implementation phase"

    line 32
  4. Distinctive:

    When continuing existing flow, verify:

    line 52
  5. Distinctive:

    Create separate Design Docs per layer (see monorepo-flow.md "Layer Context in Design Doc Creation")

    line 64
  6. Distinctive:

    Run design-sync for cross-layer consistency verification

    line 67
  7. Distinctive:

    When user responds to questions:

    line 81
  8. Distinctive:

    Update the orchestrator-owned convergence record from the answer, then update the Structural Scale judgment through the Small evidence gate.

    line 82
  9. Distinctive:

    If commit capability is unavailable → Apply Specialist Result Acceptance before autonomous mode

    line 97
  10. Very specific:

    Commit only after the layer-appropriate quality-fixer returns pass or verification_incomplete.

    line 101
  11. Very specific:

    Check executor status before quality-fixer (escalation check).

    line 116
  12. Very specific:

    Run the layer quality-fixer after the executor and any required test-review loop completes, passing task_file, upstream mutationEvidence, …

    line 120
  13. Very specific:

    Delete every file matching docs/plans/tasks/{plan-name}-backend-task-*.md and docs/plans/tasks/{plan-name}-frontend-task-*.md (the …

    line 144
  14. Distinctive:

    If task-file deletion fails, include the filesystem error in the completion report and finish the report with the implementation result.

    line 147
  15. Distinctive:

    After acceptance-test-generator execution, when invoking work-planner (subagent_type: "dev-workflows:work-planner"), communicate:

    line 152

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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: llm-friendly-context before writing Agent prompts, handoffs, or generated artifacts. Execute Skill: subagents-orchestration-guide before making workflow decisions, invoking agents, or resolving findings.

Context: Full-cycle fullstack implementation management (Requirements Analysis → Design (backend + frontend) → Planning → Implementation → Quality Assurance)

Orchestrator Definition

Core Identity: "I am an orchestrator." (see subagents-orchestration-guide skill)

Local authority gate: Make this recipe's workflow decisions and validate each returned result directly; delegate semantic deliverable production to the named specialist.

Review Resolution Gate [MANDATORY]: Resolve every actionable deliverable-review finding through subagents-orchestration-guide Review Resolution before correction or progression. Before the first finding disposition, read references/review-resolution.md from the loaded subagents-orchestration-guide skill.

Required Reference

MANDATORY: Read references/monorepo-flow.md from subagents-orchestration-guide skill BEFORE proceeding. Follow the Fullstack Flow defined there instead of the standard single-layer flow.

Execution Protocol

  1. Invoke named specialists for deliverable production — pass deliverable paths between them and validate their results (see subagents-orchestration-guide "Orchestrator Execution Boundary")
  2. Follow monorepo-flow.md for the design phase (multiple Design Docs, design-sync, vertical slicing)
  3. Follow subagents-orchestration-guide skill for all other orchestration rules (stop points, structured responses, escalation)
  4. Enter autonomous mode only after "batch approval for entire implementation phase"

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.

Execution Decision Flow

1. Current Situation Assessment

Instruction Content: $ARGUMENTS

Assess the current situation:

Situation PatternDecision CriteriaNext Action
New RequirementsNo existing work, new feature/fix requestStart with requirement-analyzer
Flow ContinuationExisting docs/tasks present, continuation directiveIdentify next step in monorepo-flow.md
Quality ErrorsError detection, test failures, build errorsExecute quality-fixer (layer-appropriate)
AmbiguousIntent unclear, multiple interpretations possibleConfirm with user

2. Progress Verification for Continuation

When continuing existing flow, verify:

  • Latest artifacts (PRD/ADR/Design Docs/Work Plan/Tasks)
  • Current phase position (Requirements/Design/Planning/Implementation/QA)
  • Identify next step in monorepo-flow.md

3. Design through Planning Phase

Execute Skill: external-resource-context before running the external resource hearing in monorepo-flow.md.

Follow monorepo-flow.md for the current Large or Medium design-through-planning flow. Its Large table and Medium step range define the required steps, agent invocations, and stop points.

Key points to enforce as the orchestrator runs the flow:

  • Create separate Design Docs per layer (see monorepo-flow.md "Layer Context in Design Doc Creation")
  • Frontend Design Doc references an applicable approved UI Spec and reuses applicable ui-analyzer output produced earlier in the flow
  • Execute document-reviewer once per Design Doc (separate invocations)
  • Run design-sync for cross-layer consistency verification
  • Pass all Design Docs to work-planner (subagent_type: "dev-workflows:work-planner") with vertical slicing instruction
  • Pass the Work Plan to document-reviewer (doc_type: WorkPlan) and request batch approval after Review Resolution converges and governing-source conflicts are resolved

4. Bind the Applicable Flow

After Structural Scale is determined, follow only that scale's applicable path. Treat each applicable design, review, approval, planning, implementation, verification, cleanup, and reporting phase as a gate. Advance only when the current phase's stated evidence or approval exists; skip only branches whose stated condition is false.

After requirement-analyzer [Stop]

Execute Skill: requirement-convergence before running the hearing protocol.

Build and judge the convergence record by the rules in references/criteria.md of the requirement-convergence skill, from the user's retained wording, using requirement-analyzer scopeEvidence and costEvidence as supporting facts, then run the requirement-convergence hearing protocol. After the user answers the requirements stop, apply the subagents-orchestration-guide Small evidence gate before assigning the final Structural Scale; when the gate is unresolved, invoke codebase-analyzer before routing.

When user responds to questions:

  • Update the orchestrator-owned convergence record from the answer, then update the Structural Scale judgment through the Small evidence gate.
  • Re-execute requirement-analyzer only when the answer changes the repository analysis target or scope evidence.
  • Repeat the hearing until every convergence field is ready or weak-but-explicit, then proceed with the resulting Scale.

Subagents Orchestration Guide Compliance Execution

Pre-execution Checklist (MANDATORY):

  • Read monorepo-flow.md reference
  • Confirmed relevant flow steps
  • Identified current progress position
  • Clarified next step
  • Recognized stopping points
  • one complete-scope codebase-analyzer result included before Design Doc creation
  • code-verifier included before document-reviewer for each Design Doc
  • Environment check: Can I execute per-task commit cycle?
    • If commit capability is unavailable → Apply Specialist Result Acceptance before autonomous mode
    • Other environments (tests, quality tools) → Quality agents retain proof limitations while the task cycle continues

Required Flow Compliance:

  • Commit only after the layer-appropriate quality-fixer returns pass or verification_incomplete; a quality-fixer pass authorizes a commit at a defined commit point rather than creating one
  • Obtain user approval before Edit/Write/MultiEdit outside autonomous mode

Mandatory Orchestrator Responsibilities

Task Execution Quality Cycle (Filename-Pattern-Based)

Agent routing by task filename (see monorepo-flow.md reference):

*-backend-task-*   → dev-workflows:task-executor + dev-workflows:quality-fixer
*-frontend-task-*  → dev-workflows-frontend:task-executor-frontend + dev-workflows-frontend:quality-fixer-frontend

Rules:

  1. Execute ONE task completely before starting next (each task goes through the full 4-step cycle via Agent tool, using the correct executor per filename pattern)
  2. Check executor status before quality-fixer (escalation check). When requiresTestReview is true, identify the changed integration/E2E test files in the current changes and invoke integration-test-reviewer with them as changedTestFiles, plus diffBase, taskFile, prompt claims, and mutationEvidence, then branch on its status:
    • pass → Continue to rule 3
    • blocked → Apply subagents-orchestration-guide Specialist Result Acceptance
    • needs_revision → Pass qualityIssues unchanged into the Review Resolution Gate, return rerouted corrections to the layer executor, and continue to rule 3 only when correction re-review prior_feedback_reconciliation establishes convergence
  3. Run the layer quality-fixer after the executor and any required test-review loop completes, passing task_file, upstream mutationEvidence, and qualityCommand when available (caller first, otherwise current task)
  4. Check quality-fixer response:
    • stub_detected → Return to executor with the layer quality-fixer's incompleteImplementations array unchanged as the canonical incompleteImplementations field
    • blocked → Apply Specialist Result Acceptance
    • verification_incomplete → Retain the complete result for final retry and proceed to commit
    • pass → Proceed to commit
  5. Apply subagents-orchestration-guide Commit Boundary Check before each commit; append its verification trailers when the quality-fixer result is verification_incomplete

Post-Implementation Review (After All Tasks Complete)

Apply subagents-orchestration-guide's retained verification limitation retry with each layer's quality-fixer before the document-dependent reviewers. Continue after clearing or retaining each result and report only repeated limitations.

Resolve all readable Design Docs from the Work Plan, or the Work Plan itself when none exist; missing input blocks review.

Invoke the code-reviewer calls for the subagents-orchestration-guide Post-Implementation Review Units and one security-reviewer call, then await all:

  • code-reviewer (subagent_type: "dev-workflows:code-reviewer") → one call per review unit with the resolved governingDocuments list, the unit's changed files as implementationFiles, the unit's tasks as task scope, and the Work Plan path
  • security-reviewer (subagent_type: "dev-workflows:security-reviewer") → review the completed implementation against the same governingDocuments list

Apply subagents-orchestration-guide's Post-Implementation Review status-routing and fix/re-run rules. Present the unified report; proceed to Final Cleanup after the complete review set reaches Review Resolution convergence.

Final Cleanup

Before the completion report, commit the post-review corrections applied at Review Resolution convergence when any remain uncommitted, applying subagents-orchestration-guide Commit Boundary Check, then delete the implementation task files this recipe consumed. Their work is then committed; docs/plans/ is ephemeral working state and is not retained between recipe runs:

  • Delete every file matching docs/plans/tasks/{plan-name}-backend-task-*.md and docs/plans/tasks/{plan-name}-frontend-task-*.md (the {plan-name} derived from the work plan path used in this run)
  • Preserve the work plan itself (docs/plans/{plan-name}.md) — the user decides whether to delete it after final review

If task-file deletion fails, include the filesystem error in the completion report and finish the report with the implementation result.

In the completion report, list each declined actionable finding with its ID, governing reason, and evidence when any occurred.

Test Information Communication

After acceptance-test-generator execution, when invoking work-planner (subagent_type: "dev-workflows:work-planner"), communicate:

  • testSkeletons: every non-null path from generatedFiles

Execution Method

Deliverable production is executed through the specialist selected by monorepo-flow.md and subagents-orchestration-guide; workflow decisions and returned-result validation remain with the orchestrator.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.