| íëĒŠ | ë´ėŠ |
|---|---|
| Invoke | /project:specify |
| Category | pipeline |
| Complexity | high |
/project:specify#
Stage 2: Specification â Secures implementation-quality specifications through spec clarity verification.
Triggers#
- After Discovery completion, before Planning
- When hidden assumptions in requirements need to be exposed
- When spec quality needs to be quantitatively verified
Usage#
/project:specify " Community feature "
/project:specify --skip-interview # Skip interview (when existing results available)
Parameters#
| Parameter | Required | Description | Example |
|---|---|---|---|
description |
â | Spec target description | "Community feature" |
Options#
| Option | Default | Description |
|---|---|---|
--skip-interview | false | Skip Socratic interview |
--depth | 5 | Socratic interview depth (1-5) |
Skip Conditions#
This stage can be skipped in the following cases:
- A LOCKED Seed spec already exists
- Ambiguity score ⤠0.2 confirmed
- 3-stage evaluation PASS confirmed
Execution Flow#
Phase 1: Socratic Interview#
Source: cc-spec-clarity â /spec:interview
- 5-stage recursive questioning to expose hidden assumptions
- Artifacts:
docs/socratic-discovery-{slug}.md
Phase 2: Seed Spec + Verification#
Source: cc-spec-clarity â /spec:seed, /spec:ambiguity
- Convert Socratic results to Seed spec
- 5-dimension ambiguity score calculation
- Contrarian review + Simplifier simplification (parallel)
- Apply corrections and lock Seed spec
Phase 3: 3-Stage Evaluation#
Source: cc-spec-clarity â /spec:evaluate
- Mechanical verification (10-item checklist)
- Semantic verification (ambiguity + Contrarian + Simplifier)
- Consensus verification (Analyst + PM + Architect panel)
Gate: Specification Gate#
| Condition | Criteria |
|---|---|
| Ambiguity score | ⤠0.2 |
| Convergence | âĨ 0.95 |
| Contrarian unresolved Critical | 0 |
| Consensus | 3/3 unanimous |
Pass â Proceed to /project:plan (Planning stage)
Fail â Revise flagged items and re-evaluate
Artifacts#
| File | Path |
|---|---|
| Socratic discovery report | docs/socratic-discovery-{slug}.md |
| Seed spec | docs/seed-spec-{slug}.md |
| Decision log | docs/decision-log-{slug}.md |
| Evaluation result | docs/spec-evaluation-{slug}.md |
After Completion#
- Update specification status to
completedin.pipeline/{slug}.yaml - Record artifact paths
- Present context-clear handoff:
â
Specification stage complete (Gate PASSED). Artifacts saved:
- docs/seed-spec-{slug}.md
- docs/socratic-discovery-{slug}.md
- docs/decision-log-{slug}.md
- docs/spec-evaluation-{slug}.md
**Option 1 (Recommended)**: Clear context and continue to Planning
/clear
Then run: /project:plan
**Option 2**: Continue in current context
Proceed directly to /project:plan
Related Commands#
/project:discoverâ Previous stage (Discovery)/project:planâ Next stage (Planning)