spec-flow
✓CleanSpec-driven development workflow. Interactive phase-by-phase confirmation from proposal to implementation. Trigger: 'spec-flow', 'spec mode', 'need a plan', 'structured development', 'write a spec', 'feature spec', 'technical spec', 'éæ±ææ¡£', 'ææ¯æ¹æ¡', 'ä»»å¡æè§£', 'è§æ ¼é©±å¨', 'åä¸ªæ¹æ¡', 'å个è§å', 'ç»æåå¼å', 'plan this feature', 'break this down', 'design doc'. Creates .spec-flow/ directory with proposal, requirements, design, and tasks.
Install Command
npx skills add echoVic/spec-flowSKILL.md
--- name: spec-flow description: "Spec-driven development workflow. Interactive phase-by-phase confirmation from proposal to implementation. Trigger: 'spec-flow', 'spec mode', 'need a plan', 'structured development', 'write a spec', 'feature spec', 'technical spec', 'éæ±ææ¡£', 'ææ¯æ¹æ¡', 'ä»»å¡æè§£', 'è§æ ¼é©±å¨', 'åä¸ªæ¹æ¡', 'å个è§å', 'ç»æåå¼å', 'plan this feature', 'break this down', 'design doc'. Creates .spec-flow/ directory with proposal, requirements, design, and tasks." argument-hint: "[feature description] [--fast] [--skip-design]" --- # Spec-Flow - Structured Development Workflow Structured workflow for complex feature development. Creates living documentation that guides implementation and serves as team reference. ## Core Principles 1. **One phase at a time** â NEVER generate documents for subsequent phases in advance 2. **Mandatory confirmation** â After each phase, STOP and wait for user confirmation 3. **User-driven progression** â Only proceed when user says "continue"/"ok"/"next"/"ç»§ç»"/"好" ## Parameters | åæ° | 说æ | |------|------| | `--fast` | è·³è¿éé¶æ®µç¡®è®¤ï¼ä¸æ¬¡æ§çæææææ¡£ï¼æåæ´ä½ç¡®è®¤ï¼ | | `--skip-design` | è·³è¿ Design é¶æ®µï¼ç®ååè½ï¼æ¶ææ¾èæè§æ¶ï¼ | ## Language Rule **ææçæç .md æä»¶å¿ 须使ç¨ä¸æã** ## Interaction Rules Load `references/interaction-rules.md` for detailed confirmation templates and prohibited behaviors. --- ## Five-Phase Workflow Copy this checklist and check off items as you complete them: ### Spec-Flow Progress: - [ ] **Phase 0: Initialize** â ï¸ REQUIRED - [ ] 0.1 Run `scripts/init-spec-flow.sh <feature-name>` or create `.spec-flow/active/<feature>/` - [ ] 0.2 Check if `.spec-flow/steering/` exists â if so, read for project context - [ ] 0.3 é®èªå·±ï¼**è¿ä¸ªåè½çæ ¸å¿ä»·å¼æ¯ä»ä¹ï¼ç¨ä¸å¥è¯è½è¯´æ¸ åï¼** - [ ] **Phase 1: Proposal** â ï¸ REQUIRED - [ ] 1.1 Create `.spec-flow/active/<feature>/proposal.md` using `templates/proposal.md.template` - [ ] 1.2 å å«ï¼Background, Goals, Non-Goals, Scope, Risks, Open Questions - [ ] 1.3 é®èªå·±ï¼**ææ²¡æéå«çéæ±æ²¡ååºæ¥ï¼** - [ ] 1.4 é®èªå·±ï¼**Non-Goals æ¯å¦è¶³å¤æç¡®ï¼è½é²æ¢ scope creep åï¼** - [ ] 1.5 â¸ï¸ 确认èç¹ â çå¾ ç¨æ·ç¡®è®¤åç»§ç» - [ ] **Phase 2: Requirements** - [ ] 2.1 Create `.spec-flow/active/<feature>/requirements.md` using `templates/requirements.md.template` - [ ] 2.2 Load `references/ears-format.md` â ä½¿ç¨ EARS æ ¼å¼ç¼åéæ± - [ ] 2.3 å å«ï¼FR-xxx åè½éæ±, NFR-xxx éåè½éæ±, AC-xxx éªæ¶æ å - [ ] 2.4 é®èªå·±ï¼**æ¯æ¡éæ±é½æ¯å¯æµè¯çåï¼** - [ ] 2.5 é®èªå·±ï¼**è¾¹çæ åµè¦çäºåï¼éè¯¯åºæ¯å¢ï¼** - [ ] 2.6 â¸ï¸ 确认èç¹ â çå¾ ç¨æ·ç¡®è®¤åç»§ç» - [ ] **Phase 3: Design**ï¼é¤é `--skip-design`ï¼ - [ ] 3.1 Create `.spec-flow/active/<feature>/design.md` using `templates/design.md.template` - [ ] 3.2 å å«ï¼Architecture (Mermaid), Components, API, Data Model, Error Handling - [ ] 3.3 é®èªå·±ï¼**è¿ä¸ªè®¾è®¡è½æ»¡è¶³ææ requirements åï¼éæ¡å¯¹ç §** - [ ] 3.4 é®èªå·±ï¼**ææ²¡ææ´ç®åçæ¹æ¡ï¼è¿åº¦è®¾è®¡äºåï¼** - [ ] 3.5 â¸ï¸ 确认èç¹ â çå¾ ç¨æ·ç¡®è®¤åç»§ç» - [ ] **Phase 4: Tasks** - [ ] 4.1 Create `.spec-flow/active/<feature>/tasks.md` using `templates/tasks.md.template` - [ ] 4.2 Load `references/task-decomposition.md` â éµå¾ªä»»å¡æè§£è§è - [ ] 4.3 æ¯ä¸ªä»»å¡ï¼1-2 tool calls å¯å®æï¼æ æ³¨å¤æåº¦ Low/Medium/High - [ ] 4.4 åç»ï¼Setup â Implementation â Testing â Documentation - [ ] 4.5 é®èªå·±ï¼**ä»»å¡ä¹é´çä¾èµå ³ç³»å¯¹åï¼ææ²¡æå¯ä»¥å¹¶è¡çï¼** - [ ] 4.6 â¸ï¸ 确认èç¹ â çå¾ ç¨æ·ç¡®è®¤åç»§ç» - [ ] **Phase 5: Implementation** - [ ] 5.1 Load `references/execution-modes.md` â 确认æ§è¡æ¨¡å¼ - [ ] 5.2 é»è®¤ Step Modeï¼éä»»å¡ç¡®è®¤ï¼ï¼ç¨æ·å¯åæ¢ Batch/Phase Mode - [ ] 5.3 æ¯ä¸ªä»»å¡æ§è¡åï¼è¯» tasks.md â æ£æ¥ä¾èµ â 读 design.md - [ ] 5.4 æ¯ä¸ªä»»å¡æ§è¡åï¼æ´æ° tasks.md ç¶æï¼`- [ ]` â `- [x]`ï¼ - [ ] 5.5 å ¨é¨å®æåï¼å½æ¡£å° `.spec-flow/archive/` --- ## Directory Structure ``` .spec-flow/ âââ steering/ # å ¨å±é¡¹ç®ä¸ä¸æï¼å¯éï¼ â âââ constitution.md â âââ product.md â âââ tech.md â âââ structure.md âââ active/ # è¿è¡ä¸ â âââ <feature>/ â âââ proposal.md â âââ requirements.md â âââ design.md â âââ tasks.md âââ archive/ # 已宿 ``` ## Steering Documents (Optional) | Document | Purpose | Template | |----------|---------|----------| | `constitution.md` | é¡¹ç®æ²»çåå | `templates/steering/constitution.md.template` | | `product.md` | äº§åæ¿æ¯ãç®æ ç¨æ· | `templates/steering/product.md.template` | | `tech.md` | ææ¯æ ã约æ | `templates/steering/tech.md.template` | | `structure.md` | 代ç ç»ç»ãå½åè§è | `templates/steering/structure.md.template` | ## Phase Transitions | From | To | Condition | |------|-----|-----------| | Proposal | Requirements | Proposal approved, questions resolved | | Requirements | Design | Requirements complete, testable | | Requirements | Tasks | `--skip-design`, simple feature | | Design | Tasks | Design approved | | Tasks | Implementation | Tasks confirmed | | Implementation | Done | All tasks complete â archive | ## Compatibility Works with any AI agent that supports Skills format: Claude Code, Blade, OpenClaw, Cursor, Windsurf, etc.
Similar Skills
Comprehensive skill for Product Managers to create organize and manage Product Teams, Strategy, PRDs, release plans, user stories, and standalone issues with high-quality acceptance criteria. Supports both full documentation workflows (PRD â Plan â Stories) and quick issue creation (standalone stories, tasks, bugs). All documentation follows design-driven development principles with functional, testable acceptance criteria based on visual designs and user flows.
npx skills add diegoeis/product-spec-kitPRD-first feature development workflow that generates a PRD file from a reference template, captures requirements, business flow, clarification questions, and test plans, then waits for user confirmation before implementation. Use when users ask to design or implement new features, change product behavior, request a PRD-driven process, or ask for a greenfield feature that is complex and has no existing base (plan before action).
npx skills add LaiTszKin/develop-new-featuresAutonomous quality engineering swarm that forges production-ready code through continuous behavioral verification, exhaustive E2E testing, and self-healing fix loops. Combines DDD+ADR+TDD methodology with BDD/Gherkin specifications, 7 quality gates, defect prediction, chaos testing, and cross-context dependency awareness. Architecture-agnostic - works with monoliths, microservices, modular monoliths, and any bounded-context topology.
npx skills add ikennaokpala/forgeInteractive system flow tracing across CODE, API, AUTH, DATA, NETWORK layers with SQLite persistence and Mermaid export. Use for security audits, compliance documentation, flow tracing, feature ideation, brainstorming, debugging, architecture reviews, or incident post-mortems. Triggers on audit, trace flow, document flow, security review, debug flow, brainstorm, architecture review, post-mortem, incident review.
npx skills add ArunJRK/audit-flow