spec-driven-development
Use when a feature should be specified before it is coded — stories, acceptance criteria, tasks, a per-criterion check. Triggers: "스펙 먼저", "명세부터 쓰고 구현", "수용 기준 먼저", "spec first", "spec-driven development".
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- spec-driven-development
- license
- MIT
- metadata
- { "version": "1.1.0" }
- scenarios
- [ "write the spec and acceptance criteria first, then implement", "let's do spec-driven development on this feature", "check that every acceptance criterion is actually met", "스펙부터 쓰고 구현하자", "수용 기준 먼저 정하고 코드 짜줘", "명세 항목별로 구현이 맞는지 검증해줘" ]
- description
- Use when a feature should be specified before it is coded — stories, acceptance criteria, tasks, a per-criterion check. Triggers: "스펙 먼저", "명세부터 쓰고 구현", "수용 기준 먼저", "spec first", "spec-driven development".
- compatibility
- { "optional": [ "sequential-thinking" ], "recommended": [ "think-tool" ], "remote_mcp_note": "think-tool이 있으면 수용 기준의 누락과 모호함을 더 잘 잡습니다. Claude 설정 → MCP Servers에서 remote SSE 엔드포인트를 추가하세요." }
02 资源文件 6
- 参考文档references/bedspace.md3.8 KB
- 参考文档references/consensus_peaks.md6.2 KB
- 参考文档references/region2vec.md2.8 KB
- 参考文档references/scembed.md5.1 KB
- 参考文档references/templates.md717 B
- 参考文档references/utilities.md8.4 KB
03 SKILL.md 正文
Standing Mandates
- NEVER start coding because the request "looks clear". Code written without a spec leaves nothing to count
against: unrequested changes and missing behaviour both pass unnoticed (teams bench: with no spec,
scope_matchcould not even be measured). Write the spec first, get it approved, then code. - A fact the request does not give is marked
[확인 필요: <fact>], never guessed; a guessed rule ships as code. - Code that needs behaviour the spec lacks stops until the spec is amended and re-approved. Never amend the spec to match code already written: the spec then proves nothing, because it was bent to fit the code it should judge.
Goal: every AC-n traces to a US-n, a task and a piece of evidence, and every change outside the spec is listed.
Spec-Driven Development
One flow from request to proof: spec, design, tasks, code, then a check of each criterion against evidence.
Not for an implementation plan or ticket breakdown alone (write:plans); the test-first loop itself
(develop:test-driven-development); choosing topology or datastore (develop:architecture-designer); running the
work through the multi-agent graph (teams:develop). A one-line fix → say so and skip.
Process
- Specify. Read the code and docs first; ask one line at most. Write
spec.md: problem,US-nstories,AC-ncriteria in Given/When/Then (each cites itsUS-n), out of scope,[확인 필요]items. Before the gate, sweep for criteria the request implies but never states — inputs that must count as the same (case, whitespace, encoding), resource bounds (growth, retention), behaviour while a state holds — each becomes an AC or a[확인 필요](bench: a spec without the sweep letBob/bobeach get their own lockout counter). Gate: show the spec and wait for approval. No design or code before it. - Design.
design.md: interface contracts, data model, decisions in one line each. Every item names theAC-nit serves; an item serving none is cut. - Tasks.
tasks.md: one task per AC (or a tight group), each with its failing test first and its IDs. Order by dependency. - Implement. Take tasks in order. A needed change the spec lacks goes spec first (amend, re-approve), then code. Anything already changed outside the spec is logged, not hidden.
- Verify. For each
AC-n, run the check and record the test name or output. An AC with no evidence is unfinished. List every out-of-spec change. Then write the tally.
Templates: references/templates.md. Store under specs/<feature>/, or where the project already keeps specs.
Output Template
Per step, the file named above. The closing report is only what follows — design.md and tasks.md stay files, never pasted:
| AC | Story | Task | Evidence (test name / output) | Status |
|---|---|---|---|---|
| AC-1 | US-1 | T1 | rejects expired token — pass |
met |
| AC-2 | US-1 | T2 | — | unmet |
Out-of-spec changes: file — what changed — why — spec amended? (or "none"). Open: each [확인 필요: …] with who
can answer.
Tally: <n> stories · <m> AC, <k> met with evidence · <j> out-of-spec changes · <o> open facts.
What Claude Does / What You Do
| Claude | You |
|---|---|
| Drafts spec, design and tasks from code and your words | Approve or amend the spec before anything is built |
| Marks missing facts, never fills them | Answer each [확인 필요] |
| Amends the spec before any out-of-spec code | Approve amendments |
| Runs each AC check and reports evidence | Decide whether an unmet AC blocks release |
Related Skills
develop:test-driven-development— the red-green loop each task runswrite:spec— turn an already-settled conversation into a spec with no interviewwrite:plans— plan or ticket breakdown when only that is neededteams:develop— run the approved spec through the multi-agent graph
04 同仓库更多 Skills
diagram
Use when something must be drawn as a checked figure, not Mermaid: page layout, B-tree, lock timeline, ER, benchmark chart, architecture, sequence. SVG + PNG. Triggers: "도식화해줘", "그림으로 그려줘", "책에 넣을 그림", "시퀀스 다이어그램", "draw this as a figure".
test-master
Use when writing, improving, or auditing tests, or writing case specs with expected results from a spec. Triggers: "테스트 작성", "테스트 케이스 작성", "test case writing", "단위 테스트", "커버리지 분석", "test plan", "defect report".
sre-engineer
Use when setting up production reliability practices. Triggers on: "SLO 정하고 싶어", "에러 버짓", "알람 피로", "반복 작업(toil) 줄이기", "golden signals dashboard", "burn-rate alert". Not for active incidents or chaos tests.
sql-pro
Use when someone needs help writing or rewriting SQL — authoring complex joins, CTEs, window functions, or recursive queries — or designing a schema from scratch, normalizing an existing one, or migrating queries between database dialects.
spring-boot-engineer
Use when building or extending a Spring Boot 3.x Java backend — REST, Spring Security, JPA, WebFlux, Actuator. Triggers on: "Spring Boot API", "스프링 시큐리티 설정", "JPA 연동". Not for service decomposition or query tuning.
like-my-code
Use when a repo's code style must become written policy — harness conventions (coding.md, boundaries.md) backed by repo evidence. Triggers: "내 코드 스타일로 컨벤션 뽑아줘", "이 레포 스타일을 정책으로", "like my code", "extract conventions from this repo".