一键导入
speckit-workflow
Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and implement phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and implement phases.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used only when the user explicitly asks to use `$ralph-specum-cancel`, or explicitly asks Ralph Specum in Codex to stop execution or remove a spec.
This skill should be used only when the user explicitly asks to use `$ralph-specum-design`, or explicitly asks Ralph Specum in Codex to run the design phase.
This skill should be used only when the user explicitly asks to use `$ralph-specum-feedback`, or explicitly asks Ralph Specum in Codex to draft or submit feedback.
This skill should be used only when the user explicitly asks to use `$ralph-specum-help`, or explicitly asks Ralph Specum in Codex for help or command guidance.
This skill should be used only when the user explicitly asks to use `$ralph-specum-implement`, or explicitly asks Ralph Specum in Codex to run implementation for approved tasks, quick mode, or an explicit continue request.
This skill should be used only when the user explicitly asks to use `$ralph-specum-index`, or explicitly asks Ralph Specum in Codex to generate or refresh index artifacts.
| name | speckit-workflow |
| description | Comprehensive understanding of the spec-kit methodology. Constitution-driven feature development with specify, plan, tasks, and implement phases. |
| version | 0.1.0 |
The SpecKit methodology is a constitution-driven approach to feature development. It ensures consistency across features by grounding all decisions in project principles.
Constitution First: Every feature is designed against the project's constitution - a living document of principles, constraints, and standards.
Governance Over Convention: Rather than implicit patterns, SpecKit makes governance explicit through:
.specify/
├── memory/
│ └── constitution.md # Project principles and standards
├── .current-feature # Active feature pointer
├── templates/ # Artifact templates
│ ├── spec-template.md
│ ├── plan-template.md
│ ├── tasks-template.md
│ └── checklist-template.md
└── specs/
└── <id>-<name>/ # Feature directories
├── .speckit-state.json
├── .progress.md
├── .coordinator-prompt.md
├── spec.md # Feature specification
├── plan.md # Technical design
├── tasks.md # Implementation tasks
├── research.md # Research findings (optional)
├── data-model.md # Entity definitions (optional)
├── contracts/ # API contracts (optional)
└── checklists/ # Quality checklists
Features use auto-incremented 3-digit IDs:
001-user-auth002-payment-gateway003-notification-systemBenefits:
/speckit:constitution)Establish or update project-wide principles.
Inputs: Project context, team preferences
Outputs: .specify/memory/constitution.md
Constitution sections:
/speckit:specify)Define the feature specification against constitution.
Inputs: Feature goal, constitution reference
Outputs: spec.md
Specification contains:
/speckit:clarify) - OptionalResolve ambiguities through structured Q&A.
Inputs: spec.md with ambiguities
Outputs: Updated spec.md with clarifications
Rules:
/speckit:plan)Generate technical design from specification.
Inputs: spec.md, constitution, codebase context
Outputs: plan.md, optionally data-model.md, contracts/
Plan contains:
/speckit:tasks)Break plan into dependency-ordered implementation tasks.
Inputs: plan.md, spec.md
Outputs: tasks.md
Task format:
- [ ] T001 [P] [US1] Task description `path/to/file.ts`
Components:
T001: Sequential task ID[P]: Parallel marker (optional)[US1]: User story reference (optional)Task phases:
/speckit:implement)Execute tasks via Ralph Wiggum loop.
Inputs: tasks.md, state file
Outputs: Code changes, commits, updated progress
Execution model:
.speckit-state.json){
"featureId": "001",
"name": "user-auth",
"basePath": ".specify/specs/001-user-auth",
"phase": "execution",
"taskIndex": 0,
"totalTasks": 15,
"taskIteration": 1,
"maxTaskIterations": 5,
"globalIteration": 1,
"maxGlobalIterations": 100,
"awaitingApproval": false
}
.progress.md)Tracks:
/speckit:checklist)Domain-specific quality checklists:
Checklists are "unit tests for requirements" - verifiable criteria before implementation.
/speckit:analyze)Cross-artifact consistency analysis:
| Command | Purpose | Phase |
|---|---|---|
/speckit:start <name> | Create or resume feature | Entry |
/speckit:constitution | Create/update project principles | 1 |
/speckit:specify | Define feature specification | 2 |
/speckit:clarify | Resolve spec ambiguities | 3 |
/speckit:plan | Generate technical design | 4 |
/speckit:tasks | Break plan into tasks | 5 |
/speckit:implement | Execute tasks | 6 |
/speckit:analyze | Check consistency | Any |
/speckit:checklist | Generate quality checklist | Any |
/speckit:status | Show current state | Any |
/speckit:switch <id> | Change active feature | Any |
/speckit:cancel | Stop execution, cleanup | Any |
| Agent | Purpose | Used By |
|---|---|---|
constitution-architect | Create/update constitution | constitution |
spec-analyst | Generate specifications | specify |
plan-architect | Technical design | plan |
task-planner | Task breakdown | tasks |
spec-executor | Execute single task | implement |
qa-engineer | Verification tasks | implement |
All phases reference the constitution:
Constitution markers in artifacts:
[C§3.1]: References constitution section 3.1[MUST]: Required by constitution[SHOULD]: Recommended by constitution[MAY]: Optional per constitution