원클릭으로
recipe-fullstack-build
// Execute decomposed fullstack tasks with layer-aware agent routing between backend and frontend executors.
// Execute decomposed fullstack tasks with layer-aware agent routing between backend and frontend executors.
Documentation creation criteria for PRD, ADR, Design Doc, UI Spec, and Work Plan with templates. Use when: creating or reviewing technical documents, determining which documents are required, or following document templates.
Execute decomposed backend tasks in autonomous execution mode using task-executor and quality-fixer.
Execute frontend tasks in autonomous execution mode using task-executor-frontend and quality-fixer-frontend.
Create frontend work plan from design document with test skeleton generation.
Frontend Design Doc compliance and security validation with optional auto-fixes using React-specific quality checks.
Create work plan from design document with optional test skeleton generation.
| name | recipe-fullstack-build |
| description | Execute decomposed fullstack tasks with layer-aware agent routing between backend and frontend executors. |
coding-rules -- coding standardstesting -- test strategy and quality gatesai-development-guide -- AI development patternssubagents-orchestration-guide -- agent coordination and workflow flowsSpawn rule: every spawn_agent call MUST pass fork_turns="none" or fork_context=false for context isolation.
Core Identity: "I am not a worker. I am an orchestrator." (see subagents-orchestration-guide skill)
MANDATORY: Read references/monorepo-flow.md from subagents-orchestration-guide skill BEFORE proceeding. Follow the Extended Task Cycle and Agent Routing defined there.
ENFORCEMENT: Proceeding without reading monorepo-flow.md invalidates the entire workflow.
*-backend-task-* -> task-executor + quality-fixer*-frontend-task-* -> task-executor-frontend + quality-fixer-frontendCRITICAL: MUST run layer-appropriate quality-fixer before every commit. ENFORCEMENT: Commits without quality-fixer approval are invalid and MUST be reverted.
Work plan: $ARGUMENTS
Before task processing, locate the work plan to gate against.
Resolution rule:
$ARGUMENTS contains a work plan path, use that exact file and derive {plan-name} from its basename. This takes precedence over task-file mtimes.$ARGUMENTS is empty, list task files in docs/plans/tasks/ matching {plan-name}-backend-task-*.md or {plan-name}-frontend-task-*.md.*-task-prep-*.md, _overview-*.md, *-phase*-completion.md, review-fixes-*.md, and integration-tests-*-task-*.md.{plan-name} from the most recent matching task file and use docs/plans/{plan-name}.md.docs/plans/.Read the work plan header and apply the Implementation Readiness Marker Contract from subagents-orchestration-guide.
Compute the Consumed Task Set for this run: task files in docs/plans/tasks/ matching {plan-name}-backend-task-*.md or {plan-name}-frontend-task-*.md, excluding *-task-prep-*.md, _overview-*.md, *-phase*-completion.md, review-fixes-*.md, and integration-tests-*-task-*.md.
Every subsequent reference to task files in this recipe uses this set, not an unrestricted docs/plans/tasks/*.md scan.
Analyze task file existence state and determine the action required:
| State | Criteria | Next Action |
|---|---|---|
| Tasks exist | Consumed Task Set is non-empty | User's execution instruction serves as batch approval -> Enter autonomous execution immediately |
| No tasks + plan exists + reviewed plan | Consumed Task Set is empty and WorkPlan Review records Status: approved, Conditions: none | Confirm with user -> spawn task-decomposer |
| No tasks + small simplified plan | Consumed Task Set is empty, plan exists, and the plan references no Design Doc | Confirm with user -> spawn task-decomposer |
| No tasks + plan exists + unreviewed plan | Consumed Task Set is empty, the plan references a Design Doc, and WorkPlan Review is absent, pending, conditional, or not approved | Run work plan review, then confirm with user -> spawn task-decomposer |
| Neither exists | No plan or task files | Error: Prerequisites not met |
When task files don't exist, the plan references a Design Doc, and the WorkPlan Review section is absent, pending, conditional, or not approved:
Spawn document-reviewer agent: "Review the fullstack work plan before task decomposition. doc_type: WorkPlan. target: docs/plans/[plan-name].md. mode: composite. Review semantic traceability to all Design Docs, UI Spec when present, cross-layer boundary coverage, early verification placement, real-boundary verification coverage, Proof Strategy, Failure Mode Checklist, Review Scope, and Quality Assurance coverage."
Branch on verdict.decision:
approved -> spawn work-planner in update mode once to record Status: approved and Conditions: none in WorkPlan Review, then continue to user confirmationapproved_with_conditions -> stop before task decomposition and report that the work plan needs update via recipe-plan or the fullstack planning flowneeds_revision -> stop before task decomposition and report that the work plan needs update via recipe-plan or the fullstack planning flowrejected -> stop before task decomposition and present the blocking findings to the userWhen task files don't exist and the WorkPlan Review section records Status: approved and Conditions: none, skip Work Plan Review and continue to user confirmation.
No task files found.
Work plan: docs/plans/[plan-name].md
Generate tasks from the work plan? (y/n):
Spawn task-decomposer agent: "Read work plan at docs/plans/[plan-name].md and decompose into atomic tasks. Output: Individual task files in docs/plans/tasks/. Granularity: 1 task = 1 commit = independently executable. Use layer-aware naming: {plan}-backend-task-{n}.md, {plan}-frontend-task-{n}.md based on target file paths."
Recompute the Consumed Task Set and verify it is non-empty.
| Filename Pattern | Executor | Quality Fixer |
|---|---|---|
*-backend-task-* | task-executor | quality-fixer |
*-frontend-task-* | task-executor-frontend | quality-fixer-frontend |
*-task-* (no layer prefix) | task-executor | quality-fixer (default) |
MANDATORY EXECUTION CYCLE: executor -> escalation check -> quality-fixer -> commit
For EACH task, YOU MUST:
status: "escalation_needed" or "blocked" -> STOP and escalate to userrequiresTestReview is true -> Spawn integration-test-reviewer agent: "Review integration tests in [test-files]"
needs_revision -> Return to step 2 with requiredFixesapproved -> Proceed to step 4readyForQualityCheck: true -> Proceed to step 4task_file input. Read its Quality Assurance Mechanisms section as supplementary quality-check hints. filesModified: [executor response filesModified]. Use these files as the stub-detection scope."status: "stub_detected" -> Return to step 2 with stubFindingsstatus: "blocked" -> STOP and escalate to userstatus: "approved" -> Proceed to step 6status: "approved" from quality-fixer -> Execute git commitCRITICAL: MUST monitor ALL structured responses WITHOUT EXCEPTION and ENSURE every quality gate is passed. ENFORCEMENT: Proceeding past a failed quality gate invalidates all subsequent work.
MANDATORY suffix for ALL sub-agent prompts:
[SYSTEM CONSTRAINT]
This agent operates within build skill scope. Use the task file as the primary instruction source. Use the active Design Docs or work plan only as supporting context when the task file references them. Constraints explicitly passed in this prompt by the orchestrator take precedence over supporting context. The agent's own role contract and required quality rules remain in force.
Autonomous sub-agents require scope constraints for stable execution. MUST append this constraint to every sub-agent prompt. ENFORCEMENT: Sub-agent prompts missing the constraint suffix MUST be re-issued with the constraint appended.
VERIFY approval status before proceeding. Once confirmed, INITIATE autonomous execution mode.
After all task cycles finish, collect all filesModified from every task-executor/task-executor-frontend response (deduplicated), then run both verification agents before the completion report:
doc_type: design-doc. document_path: [single design doc path]. code_paths: [collected filesModified list]. Work Plan Review Scope: [Review Scope value from the active work plan, used only to confirm the collected file set is complete]."summary.status is consistent or mostly_consistentsummary.status is needs_review or inconsistentstatus is approved or approved_with_notesstatus is needs_revisionblocked -> Escalate to userBefore the completion report, delete only these files for the current {plan-name}:
docs/plans/tasks/{plan-name}-phase*-completion.mddocs/plans/tasks/_overview-{plan-name}.mdPreserve the work plan itself.
If cleanup fails, report the failed path but do not invalidate completed implementation work.
[STOP -- BLOCKING] Upon detecting ANY requirement changes, halt execution immediately. CANNOT proceed until user explicitly confirms the change scope.
Fullstack implementation phase completed.