Spec Clarity#
ํ๋ง๋๋ก (๋น๊ฐ๋ฐ์์ฉ)#
์ด ์คํฌ์ "๋ฌด์์ ๋ง๋ค์ง"์ ๋ํ ์๊ตฌ์ฌํญ(์คํ)์ด ์ถฉ๋ถํ ๋ช
ํํ์ง ๋๊น์ง ๋ฐ์ ธ ๋ณด๋ ๊ฒ์ ๋์ฐ๋ฏธ์
๋๋ค. ๋ง์น ์ง์ ์ง๊ธฐ ์ ์ ์ค๊ณ๋์ ๋น ์ง ๋ถ๋ถ์ด๋ ์ ๋งคํ ํํ์ด ์๋์ง ๊ผผ๊ผผํ ์ ๊ฒํด ์ฃผ๋ ๊ฐ๋ฆฌ์์ ๊ฐ์ต๋๋ค. ์ง๋ฌธ ๋์ง๊ธฐ โ ํต์ฌ ์คํ ์ ๋ฆฌ โ ์ ๋งคํจ ์ ์ ์ธก์ โ ๋ฐ๋ ์๊ฒฌยท๋จ์ํ ๊ฒํ โ ์ต์ข
ํฉ๊ฒฉ/๋ถํฉ๊ฒฉ ํ์ ๊น์ง ํ ํ๋ฆ์ผ๋ก ์๋ดํฉ๋๋ค. ๋๋ถ์ ๊ฐ๋ฐ์ด ์์๋๊ธฐ ์ ์ ์คํด์ ๋๋ฝ์ ๋ฏธ๋ฆฌ ๊ฑธ๋ฌ๋ผ ์ ์์ต๋๋ค.
๋ฌด์์ยท์ธ์ (๋น๊ฐ๋ฐ์์ฉ)#
- ๋ฌด์์ ํด์ฃผ๋์: ์๊ตฌ์ฌํญ์ด ๋ชจํธํ์ง ์๊ณ , ๋น ์ง ๋ถ๋ถ ์์ด ๋ช
ํํ์ง ๋จ๊ณ๋ณ๋ก ๊ฒ์ฆํฉ๋๋ค.
- ์ธ์ ์ผ์ง๋์: ์๊ตฌ์ฌํญ์ ๋ณธ๊ฒฉ์ ์ผ๋ก ๋ค๋ฌ๊ณ ๊ฒ์ฆํ๋ ์ ์ฒด ๊ณผ์ ์ ์ฒ์๋ถํฐ ๋๊น์ง ์งํํ๊ณ ์ถ์ ๋ ์ฌ์ฉํฉ๋๋ค.
-
์งํ ์์(์ถ์ฒ): ์ํฌ๋ผํ
์ค์ ์ธํฐ๋ทฐ๋ก ์จ์ ๊ฐ์ ๋์ด๋ด๊ธฐ โ ํต์ฌ ์คํ(Seed) ๋ง๋ค๊ธฐ โ ์ ๋งคํจ ์ ์ ๊ณ์ฐ โ ๋ฐ๋ ๊ด์ ยท๋จ์ํ ๊ฒํ โ 3๋จ๊ณ ์ข
ํฉ ํ๊ฐ โ ์ต์ข
ํต๊ณผ/๋ถํต๊ณผ(Specification Gate) ํ์ .
- ๊ฒฐ๊ณผ๋ฌผ: ์ธํฐ๋ทฐ ์ ๋ฆฌ ๋ฆฌํฌํธ, ํต์ฌ ์คํ ๋ฌธ์, ๊ฒฐ์ ๊ธฐ๋ก, ํ๊ฐ ๊ฒฐ๊ณผ ๋ฆฌํฌํธ๊ฐ ๋ฌธ์๋ก ๋จ์ต๋๋ค.
ํต์ฌ ์ฉ์ด (๋น๊ฐ๋ฐ์์ฉ)#
| ์ฉ์ด | ์ฌ์ด ์ค๋ช
|
| Spec (์คํ) | ๋ฌด์์ ์ด๋ป๊ฒ ๋ง๋ค์ง ์ ๋ฆฌํ ์๊ตฌ์ฌํญ ๋ช
์ธ |
| Socratic Interview (์ํฌ๋ผํ
์ค์ ์ธํฐ๋ทฐ) | ๊ผฌ๋ฆฌ์ ๊ผฌ๋ฆฌ๋ฅผ ๋ฌด๋ ์ง๋ฌธ์ผ๋ก ์จ์ ๊ฐ์ ๊ณผ ๋นํ์ ๋๋ฌ๋ด๋ ๋ฐฉ๋ฒ |
| Seed Spec (ํต์ฌ ์คํ) | ๋ ์ด์ ํ๋ค๋ฆฌ์ง ์๋๋ก ๊ณ ์ ํ ๊ฐ์ฅ ์ค์ํ ๊ธฐ์ค ์คํ |
| Ambiguity Score (์ ๋งคํจ ์ ์) | ์๊ตฌ์ฌํญ์ด ์ผ๋ง๋ ๋ชจํธํ์ง ์ซ์๋ก ๋ํ๋ธ ์งํ(๋ฎ์์๋ก ๋ช
ํ) |
| Contrarian Review (๋ฐ๋ ๊ด์ ๊ฒํ ) | ์ผ๋ถ๋ฌ ๋ฐ๋ ์
์ฅ์์ ๊ฐ์ ๊ณผ ๊ท๋ชจ๋ฅผ ํ๋ค์ด ๋ณด๋ฉฐ ์ฝ์ ์ ์ฐพ๋ ๊ฒํ |
| Simplifier (๋จ์ํ) | ๋ถํ์ํ๊ฒ ๋ณต์กํ ๋ถ๋ถ์ ์ฐพ์ ๋ ๊ฐ๋จํ๊ฒ ์ค์ด๋ ์์
|
| Specification Gate (์คํ ๊ด๋ฌธ) | ์คํ์ด ๊ธฐ์ค์ ํต๊ณผํ๋์ง ํฉ๊ฒฉ/๋ถํฉ๊ฒฉ์ ๊ฐ๋ฅด๋ ์ต์ข
๊ด๋ฌธ |
| Consensus (ํฉ์) | ์ฌ๋ฌ ๊ฒ์ฆ ๋จ๊ณ๊ฐ ๋ชจ๋ ๊ฐ์ ๊ฒฐ๋ก ์ ๋๋ฌํ๋์ง ์ฌ๋ถ |
The main skill orchestrating the entire spec clarity verification flow.
Scope#
| Feature | Command |
| Socratic Deep Interview | /spec:interview |
| Seed Spec Creation | /spec:seed |
| Seed Spec Verification | /spec:verify |
| Seed Spec Evolution | /spec:evolve |
| Ambiguity Score Calculation | /spec:ambiguity |
| 3-Stage Integrated Evaluation | /spec:evaluate |
| Contrarian Review | /spec:challenge |
| Simplifier Complexity Reduction | /spec:simplify |
Quick Start#
# Full flow (recommended)
/spec:interview # 1. Expose assumptions via Socratic interview
/spec:seed # 2. Create Seed spec
/spec:ambiguity # 3. Calculate ambiguity score
/spec:challenge # 4. Contrarian review (parallelizable)
/spec:simplify # 5. Simplifier reduction (parallelizable)
/spec:evaluate # 6. 3-stage integrated evaluation
# Individual use
/spec:verify # Seed spec structural verification only
/spec:evolve # Evolve locked Seed spec
Execution Flow#
Socratic Interview โ Seed Spec (DRAFT)
โ Ambiguity Score
โ Contrarian + Simplifier (parallel)
โ Apply fixes
โ Seed Spec (LOCKED)
โ 3-Stage Evaluation
โ Specification Gate PASS/FAIL
Quality Gates#
| Metric | Criteria | Config File |
| Ambiguity Score | <= 0.2 | config/thresholds.yaml |
| Convergence | >= 0.95 | config/thresholds.yaml |
| Consensus | 3/3 unanimous | config/thresholds.yaml |
Output#
| File | Location |
| Socratic Discovery Report | docs/socratic-discovery-{slug}.md |
| Seed Spec | docs/seed-spec-{slug}.md |
| Decision Log | docs/decision-log-{slug}.md |
| Evaluation Result Report | docs/spec-evaluation-{slug}.md |
references/AMBIGUITY_RUBRIC.md โ 5-dimension ambiguity rubric
references/SEED_SPEC_SCHEMA.md โ Seed spec schema
references/EVALUATION_PROTOCOL.md โ 3-stage evaluation protocol