speckit-plan
Execute the implementation planning workflow using the plan template to generate design artifacts.
Execute the implementation planning workflow using the plan template to generate design artifacts.
specs/<feature>/spec.md.specify/ templatesIf the spec is missing, ask the user to run speckit-specify first.
Setup: Run .specify/scripts/bash/setup-plan.sh --json from repo root and parse JSON for FEATURE_SPEC, IMPL_PLAN, SPECS_DIR, BRANCH. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
Load context: Read FEATURE_SPEC and .specify/memory/constitution.md. Load IMPL_PLAN template (already copied).
Execute plan workflow: Follow the structure in IMPL_PLAN template to:
Stop and report: Command ends after Phase 2 planning. Report branch, IMPL_PLAN path, and generated artifacts.
Extract unknowns from Technical Context above:
Generate and dispatch research agents:
For each unknown in Technical Context:
Task: "Research {unknown} for {feature context}"
For each technology choice:
Task: "Find best practices for {tech} in {domain}"
Consolidate findings in research.md using format:
Output: research.md with all NEEDS CLARIFICATION resolved
Prerequisites: research.md complete
Extract entities from feature spec → data-model.md:
Generate API contracts from functional requirements:
/contracts/Agent context update:
.specify/scripts/bash/update-agent-context.sh <agent_type>Output: data-model.md, /contracts/*, quickstart.md, agent-specific file
specs/<feature>/plan.md (filled implementation plan)specs/<feature>/research.mdspecs/<feature>/data-model.mdspecs/<feature>/contracts/ (API schemas)specs/<feature>/quickstart.mdAfter planning:
确保开发环境已安装必要的依赖和工具。
根据项目需求进行基础配置。
按照示例代码实现核心功能。
运行测试确保功能正常。
完成开发后进行部署和监控。