Agent Skillsshinpr/claude-code-workflows › recipe-fullstack-implement

recipe-fullstack-implement

GitHub

全栈实现编排技能,管理从需求到QA的完整周期。通过子代理协调前后端开发,遵循单体仓库流程,强制审查决议与结果验证,确保高质量交付。

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

触发场景

启动全栈功能开发 需要跨层代码实现与集成 执行复杂的全栈重构任务

安装

npx skills add shinpr/claude-code-workflows --skill recipe-fullstack-implement -g -y
更多选项

不安装直接使用

npx skills use shinpr/claude-code-workflows@recipe-fullstack-implement

指定 Agent (Claude Code)

npx skills add shinpr/claude-code-workflows --skill recipe-fullstack-implement -a claude-code -g -y

安装 repo 全部 skill

npx skills add shinpr/claude-code-workflows --all -g -y

预览 repo 内 skill

npx skills add shinpr/claude-code-workflows --list

SKILL.md

Frontmatter
{
    "name": "recipe-fullstack-implement",
    "description": "Orchestrate full-cycle implementation across backend and frontend layers",
    "disable-model-invocation": true
}

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; include declined IDs with governing reasons and evidence in the final user report. 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"

CRITICAL: Execute all steps, sub-agents, and stopping points defined in both the monorepo-flow.md reference and subagents-orchestration-guide skill.

Execution Decision Flow

1. Current Situation Assessment

Instruction Content: $ARGUMENTS

Assess the current situation:

Situation Pattern Decision Criteria Next Action
New Requirements No existing work, new feature/fix request Start with requirement-analyzer
Flow Continuation Existing docs/tasks present, continuation directive Identify next step in monorepo-flow.md
Quality Errors Error detection, test failures, build errors Execute quality-fixer (layer-appropriate)
Ambiguous Intent unclear, multiple interpretations possible Confirm 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 complete design-through-planning flow (Steps 1-17 for Large scale, Steps 1-15 for Medium scale). The flow table in that reference defines every step, agent invocation, parallelization rule, and stop point.

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 the approved UI Spec (pass UI Spec path to technical-designer-frontend) and reuses the 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 only after the review passes

4. Register All Flow Steps Using TaskCreate (MANDATORY)

After scale determination, use TaskCreate to register each design/planning step and the implementation, verification, cleanup, and report phases. Complete registration before invoking subagents; mark and advance the active phase with TaskUpdate.

After requirement-analyzer [Stop]

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

Run the requirement-convergence hearing protocol on the returned convergence object before presenting anything else, using the analyzer's scope facts and cost band as the facts it presents.

When user responds to questions:

  • If any convergence field is below ready → Re-execute requirement-analyzer with the hearing answers so the record is re-judged. Repeat until every field is ready or weak-but-explicit
  • If response matches any scopeDependencies.question → Check impact for scale change
  • If scale changes → Re-execute requirement-analyzer with updated context
  • If confidence: "confirmed" or no scale change → Proceed to next step

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
  • codebase-analyzer included before each 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 unavailable → Escalate before autonomous mode
    • Other environments (tests, quality tools) → Subagents will escalate

Required Flow Compliance:

  • Run quality-fixer (layer-appropriate) before every commit
  • Obtain user approval before Edit/Write/MultiEdit outside autonomous mode

Scope Boundary for Subagents

Append the following block to every subagent prompt invoked from this recipe:

Scope boundary for subagents:
Operate within the task scope and referenced files in the prompt.
Use loaded skills to execute that scope.
Escalate when the required fix or investigation falls outside that scope.

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, invoke integration-test-reviewer with diffBase, changed integration/E2E paths, taskFile, prompt claims, and mutationEvidence, then branch on its status:
    • approved → Continue to rule 3
    • blocked → Escalate to user
    • needs_revision → Run the Review Resolution Gate through its correction re-review, escalation, and convergence transitions; return rerouted corrections to the layer executor and continue to rule 3 only at 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 incompleteImplementations[] details
    • blocked → Escalate to user
    • approved → Proceed to commit

Post-Implementation Verification (After All Tasks Complete)

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

Emit one code-verifier call per resolved document plus one security-reviewer call in one assistant message, then await all:

  • code-verifier (subagent_type: "dev-workflows:code-verifier") → each resolved doc_type, single document_path, and code_paths from git diff --name-only main...HEAD
  • security-reviewer (subagent_type: "dev-workflows:security-reviewer") → the typed governingDocuments list and implementationFiles

Apply subagents-orchestration-guide's Post-Implementation Verification pass/fail and fix/re-run rules with the layer-appropriate executor and quality-fixer. Present the unified report; proceed to Final Cleanup after all pass.

Final Cleanup

Before the completion report, delete the implementation task files this recipe consumed. Their work is 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 files cannot be deleted (filesystem error), report the failure but do not block the completion report.

Test Information Communication

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

  • Generated integration test file path (from generatedFiles.integration)
  • Generated fixture-e2e test file path or null (from generatedFiles.fixtureE2e)
  • Generated service-integration-e2e test file path or null (from generatedFiles.serviceE2e)
  • Per-lane E2E absence reason (from e2eAbsenceReason.fixtureE2e and e2eAbsenceReason.serviceE2e, when each lane is null)

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.

版本历史

  • 51b7dbc 当前 2026-08-05 01:49

    新增基于证据的审查决议机制;简化规划逻辑并收敛审查流程;强化以结果为导向的编排规范。

  • 29b9210 2026-08-03 04:24

    重构需求收集协议,强制步骤证据记录以防止跳过;规范化任务注册机制,修正规则顾问触发条件及日期命令引用。

  • d439b50 2026-07-31 02:56

    重构以最小化Opus 5工作流提示词,定义最终验证者治理文档,分离编排任务跟踪,实现最终验证者并发执行及权威质量指令传递。

  • 56ab6c1 2026-07-19 22:46

    优化提示词执行指导,使技能引导更具项目感知能力

  • 66e3b29 2026-07-05 12:02

同 Skill 集合

dev-skills/skills/ai-development-guide/SKILL.md
dev-skills/skills/coding-principles/SKILL.md
dev-skills/skills/documentation-criteria/SKILL.md
dev-skills/skills/external-resource-context/SKILL.md
dev-skills/skills/frontend-ai-guide/SKILL.md
dev-skills/skills/implementation-approach/SKILL.md
dev-skills/skills/integration-e2e-testing/SKILL.md
dev-skills/skills/llm-friendly-context/SKILL.md
dev-skills/skills/requirement-convergence/SKILL.md
dev-skills/skills/test-implement/SKILL.md
dev-skills/skills/testing-principles/SKILL.md
dev-skills/skills/typescript-rules/SKILL.md
dev-workflows-frontend/skills/ai-development-guide/SKILL.md
dev-workflows-frontend/skills/coding-principles/SKILL.md
dev-workflows-frontend/skills/documentation-criteria/SKILL.md
dev-workflows-frontend/skills/external-resource-context/SKILL.md
dev-workflows-frontend/skills/frontend-ai-guide/SKILL.md
dev-workflows-frontend/skills/implementation-approach/SKILL.md
dev-workflows-frontend/skills/integration-e2e-testing/SKILL.md
dev-workflows-frontend/skills/llm-friendly-context/SKILL.md
dev-workflows-frontend/skills/recipe-diagnose/SKILL.md
dev-workflows-frontend/skills/recipe-front-adjust/SKILL.md
dev-workflows-frontend/skills/recipe-front-build/SKILL.md
dev-workflows-frontend/skills/recipe-front-design/SKILL.md
dev-workflows-frontend/skills/recipe-front-plan/SKILL.md
dev-workflows-frontend/skills/recipe-front-review/SKILL.md
dev-workflows-frontend/skills/recipe-task/SKILL.md
dev-workflows-frontend/skills/recipe-update-doc/SKILL.md
dev-workflows-frontend/skills/requirement-convergence/SKILL.md
dev-workflows-frontend/skills/subagents-orchestration-guide/SKILL.md
dev-workflows-frontend/skills/task-analyzer/SKILL.md
dev-workflows-frontend/skills/test-implement/SKILL.md
dev-workflows-frontend/skills/testing-principles/SKILL.md
dev-workflows-frontend/skills/typescript-rules/SKILL.md
dev-workflows-fullstack/skills/ai-development-guide/SKILL.md
dev-workflows-fullstack/skills/coding-principles/SKILL.md
dev-workflows-fullstack/skills/documentation-criteria/SKILL.md
dev-workflows-fullstack/skills/external-resource-context/SKILL.md
dev-workflows-fullstack/skills/frontend-ai-guide/SKILL.md
dev-workflows-fullstack/skills/implementation-approach/SKILL.md
dev-workflows-fullstack/skills/integration-e2e-testing/SKILL.md
dev-workflows-fullstack/skills/llm-friendly-context/SKILL.md
dev-workflows-fullstack/skills/recipe-add-integration-tests/SKILL.md
dev-workflows-fullstack/skills/recipe-build/SKILL.md
dev-workflows-fullstack/skills/recipe-design/SKILL.md
dev-workflows-fullstack/skills/recipe-diagnose/SKILL.md
dev-workflows-fullstack/skills/recipe-front-adjust/SKILL.md
dev-workflows-fullstack/skills/recipe-front-build/SKILL.md
dev-workflows-fullstack/skills/recipe-front-design/SKILL.md
dev-workflows-fullstack/skills/recipe-front-plan/SKILL.md

元信息

文件数
0
版本
51b7dbc
Hash
00bda77a
收录时间
2026-07-05 12:02

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 06:51
浙ICP备14020137号-1 $访客地图$