design

A command that turns an existing plan into a detailed technical design for building the feature.

In plain words
What is it for?
Use it to document system structure, APIs, data rules, implementation tasks, and sprint-by-sprint success conditions.
Why use it?
It connects the requested feature to architecture, data formats, error handling, and agreed checks before coding starts.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/teamspwk/nova/design
Clone the repo
git clone --depth 1 https://github.com/TeamSPWK/nova

Made for: Claude Code.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,849 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.01849
Opus 5 $0.00010 $0.00924
Sonnet 5 $0.00004 $0.00370
Haiku 4.5 $0.00002 $0.00185

Measured yesterday against content hash f826ac05c85a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. **검증 명령** 컬럼을 반드시 포함한다 — `curl`, `npm test`, `playwright test` 등 실행 가능한 명령이어야 Evaluator가 자동 검증할 수 있다
.claude/commands/design.md · 135 lines

How it starts

The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CPS(Context-Problem-Solution) 프레임워크로 Design 문서를 작성한다.

Role

너는 Nova Engineering의 Design 작성자다. Plan 문서를 기반으로 기술적 설계 상세를 작성한다.

Execution

  1. 사용자 입력에서 기능명/주제를 추출한다.
  2. 해당 Plan 문서가 docs/plans/에 있는지 확인한다.
    • 있으면 Plan을 읽고 기반으로 설계
    • 없으면 "먼저 /plan을 실행하세요" 안내
  3. docs/templates/cps-design.md가 있으면 참고한다. 없으면 아래 인라인 구조를 사용한다 (템플릿 없음을 언급하지 않는다).
  4. 다음 구조를 반드시 채운다:

Context (설계 배경)

  • Plan 요약, 설계 원칙

Problem (설계 과제)

  • 기술적 과제 목록 (복잡도, 의존성)
  • 기존 시스템과의 접점

Solution (설계 상세)

  • 아키텍처 (다이어그램 또는 구조 설명)
  • 데이터 모델 / API 설계 / 핵심 로직
  • 데이터 계약 (Data Contract): 주요 필드의 단위/포맷/변환 규칙을 테이블로 명시. 구현자가 잘못된 가정을 하지 않도록 반드시 작성
  • 에러 처리

Sprint Contract (스프린트별 검증 계약) — 구현 전 필수

Sprint Contract는 구현 전에 정의하고, 구현 후에 검증한다. 사후 추가된 Sprint Contract는 "통과하기 위한 체크리스트"로 전락한다. 사전 정의된 Sprint Contract는 "구현의 방향을 잡는 나침반"이다.

Generator(구현자)와 Evaluator(검증자)가 사전에 합의하는 성공 조건. Evaluator는 이 계약을 기준으로 PASS/FAIL을 판정한다.

Plan에 스프린트가 정의되어 있으면 스프린트별로, 없으면 기능 단위로 작성한다:

Sprint Done 조건 검증 방법 검증 명령 우선순위
1 {사용자가 X하면 Y가 되어야 한다} {어떻게 검증하는가} {실행 가능한 명령} Critical
1 {조건 2} {검증 방법} {실행 가능한 명령} Nice-to-have
2 {조건 3} {검증 방법} {실행 가능한 명령} Critical

Sprint Contract 작성 원칙

  1. 구현 전에 정의한다 — Design 문서 작성 시 Sprint Contract를 함께 작성한다. 구현 후 추가는 "맞추기용 체크리스트"가 된다.
  2. 각 조건은 테스트 가능해야 한다 (주관적 기준 금지)
  3. 검증 명령 컬럼을 반드시 포함한다 — curl, npm test, playwright test 등 실행 가능한 명령이어야 Evaluator가 자동 검증할 수 있다
  4. Evaluator가 이 계약의 조건이 불충분하다고 판단하면 수정을 요청할 수 있다
  5. "동작한다"가 아니라 "사용자가 쓸 수 있다"가 기준이다

Sprint Contract → Evaluator 연동

  • /run 실행 시, Evaluator는 Sprint Contract의 Done 조건을 체크리스트로 사용한다
  • 검증 명령이 있는 조건은 자동 실행하여 PASS/FAIL을 판정한다
  • 검증 명령이 없는 조건은 LLM 판단으로 검증하되, "수동 검증 필요" 경고를 포함한다

관통 검증 조건 (End-to-End)

"저장됨" ≠ "사용 가능함". 데이터가 입력부터 최종 표시까지 관통하는지 검증한다.

# 시작점 (사용자 행동) 종착점 (결과 확인) 우선순위
1 {데이터 입력/저장} {다른 화면에서 로드/표시} Critical

평가 기준 (Evaluation Criteria)

  • 기능: 모든 요구사항이 동작하는가?
  • 설계 품질: 구조가 일관되고 확장 가능한가?
  • 단순성: 불필요한 복잡도가 없는가?

Read the full file on GitHub · 135 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 135 lines · 19 tokens per session scan A f826ac05c85a

Subscribe to this mod's changes

design is a command published in the GitHub repository TeamSPWK/nova (2 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 1,849 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.