一键导入
recipe-front-plan
// Create frontend work plan from design document with test skeleton generation.
// Create frontend work plan from design document with test skeleton generation.
| name | recipe-front-plan |
| description | Create frontend work plan from design document with test skeleton generation. |
Context: Dedicated to the frontend planning phase.
documentation-criteria -- document quality standardsimplementation-approach -- implementation methodologysubagents-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."
Execution Method:
Orchestrator spawns agents and passes structured data between them.
Included in this skill:
Responsibility Boundary: This skill completes with work plan approval.
Create frontend work plan with the following process:
Check for existence of design documents in docs/design/.
[STOP -- BLOCKING] If no design documents exist, notify user and halt. CANNOT proceed without a design document.
Spawn acceptance-test-generator agent: "Generate test skeletons from Design Doc at [path]. [UI Spec at [ui-spec path] if exists.]"
Spawn work-planner agent: "Create work plan from Design Doc at [path]. Integration test file: [path from step 2]. fixture-e2e test file: [path from step 2 or null]. service-integration-e2e test file: [path from step 2 or null]. E2E absence reasons by lane: [values from step 2 when an E2E lane is null]. Integration tests are created with each phase implementation, fixture-e2e runs alongside UI implementation, service-integration-e2e runs only in the final phase when a service E2E file exists. Include Implementation Readiness: pending in the work plan header."
Spawn document-reviewer agent: "Review the frontend work plan. doc_type: WorkPlan. target: docs/plans/[plan-name].md. mode: composite. Review semantic traceability to the Design Doc and UI Spec, 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 proceed to Step 5approved_with_conditions or needs_revision -> spawn work-planner in update mode with the findings or conditions, then repeat Step 4. Use max 2 revision iterations as defined by the needs_revision row in subagents-orchestration-guide Approval Status Vocabulary.rejected -> stop and present the blocking findings to the user.[STOP -- BLOCKING] Interact with user to complete plan and obtain approval for plan content. Clarify specific implementation steps and risks. CANNOT proceed until user explicitly approves the work plan.
ENFORCEMENT: Plan content MUST be approved before declaring completion. Unapproved plans are invalid.
Frontend planning phase completed.
Please provide separate instructions for implementation.
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.
Frontend Design Doc compliance and security validation with optional auto-fixes using React-specific quality checks.
Execute decomposed fullstack tasks with layer-aware agent routing between backend and frontend executors.
Create work plan from design document with optional test skeleton generation.