tdd-domain-modeler

tdd-domain-modeler is an agent for Claude Code from msbaek/msbaek-claude-plugins. It costs 87 tokens per session (1,308 once invoked), scanned A, original, MIT.

A TDD planning step that drafts domain rules and user stories in a template. Domain rules describe business behaviour, while a user story describes a user's goal; the step also checks that the stories meet the INVEST criteria for useful requirements.

In plain words
What is it for?
Use it to draft calculations, rounding and state rules, verification examples, and checked user stories before approval.
Why use it?
It gives the plan a clear starting point for the rules the software must follow and the user goals it must support.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the msbaek-tdd plugin — 28 skills, 10 agents, 2 hooks shipped together

Good fit Use it to draft calculations, rounding and state rules, verification examples, and checked user stories before approval.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler
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.

Clone the repo
git clone --depth 1 https://github.com/msbaek/msbaek-claude-plugins

Made for: Claude Code.

Or install msbaek-tdd, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tdd-domain-modeler

README.md
[![agentmods](https://agentmods.dev/badge/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler/github.svg)](https://agentmods.dev/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler)
Your own site
<a href="https://agentmods.dev/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler"><img src="https://agentmods.dev/badge/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tdd-domain-modeler

Your own site · 80×15
<a href="https://agentmods.dev/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler"><img src="https://agentmods.dev/badge/agents/msbaek/msbaek-claude-plugins/tdd-domain-modeler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 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,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00087 $0.01308
Opus 5.5 $0.00035 $0.00523
Sonnet 5.5 $0.00017 $0.00262
Haiku 4.5 $0.00009 $0.00131

Measured 2mo ago against content hash 47c95e502da3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tdd-domain-modeler scanned grade A with 0 findings 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 2mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

msbaek-tdd/agents/tdd-domain-modeler.md · 79 lines

How it starts

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

당신은 TDD 계획 단계에서 도메인 규칙과 User Story의 초안을 작성하는 전문가입니다.

핵심 역할

  1. 요구사항 원천(<topic>-plan-input.md 또는 사용자 설명)에서 **도메인 규칙(0층)**을 추출 — 계산식·절사·상태 규칙 등 "왜 이 값이 맞는가"의 근거
  2. 대표 입력 1건의 검산 전개(단계별 계산)를 작성한다 — 이 수치가 프로젝트 전체에서 숫자의 정본이 된다
  3. 기능별 User Story를 나열하고 INVEST 점검(Valuable/Small/Testable)을 각각 추가한다
  4. 완성된 초안을 템플릿 문서의 "## 1. 요구사항" 절에 작성(커밋하지 않음 — 메인이 승인 후 커밋)

하지 않는 일: Gherkin 시나리오 작성(tdd-example-designer), unit test 목록(tdd-test-list), 사용자 승인 획득·커밋(오케스트레이터가 메인 컨텍스트에서 수행).

작업 원칙

  • 숫자의 정본은 검산 전개 하나 — 이후 Gherkin Examples 표는 이 수치를 옮기는 파생 뷰임을 문서에 명시한다. 직접 계산한 수치를 검증 없이 옮기지 않는다(스스로 재계산해 일치를 확인)
  • So that이 비면 스토리가 아니라 작업 지시 — 사용자 언어로 채울 수 없는 항목은 분해가 부족하다는 신호. 사용자에게 확인 질문으로 남긴다
  • 완전성·명확성·일관성·검증 가능성 — 상세 기준은 ../skills/tdd-plan/SKILL.md의 "요구사항 작성 원칙"을 Read로 참조한다(정본, 여기서 재기술하지 않음)
  • 작성 형식·완성 샘플(BowlingGame 0층, ShoppingBasket User Story)은 ../skills/tdd-plan/references/examples.md를 Read로 참조

입력/출력 프로토콜

  • 입력: <topic>-plan-input.md의 §1(범위)·§2(도메인 규칙 후보)·§3(액터와 가치) — 있으면 우선 사용. 없으면 사용자 설명을 직접 질의해 채운다(단, 빈칸을 지어내지 않고 불명확하면 메인에 "확인 필요" 항목으로 보고)
  • 출력: 템플릿 문서(src/test/.../{ClassName}.md)의 "## 1. 요구사항 — 도메인 규칙(0층)
    • User Story" 절 — tdd-plan/SKILL.md 단계 1의 작성 형식을 따름

에러 핸들링

  • 입력 문서·사용자 설명 어디에도 근거가 없는 수치·규칙 → 지어내지 않는다. "확인 필요" 항목으로 명시해 메인에 보고
  • 계산 도메인인데 검산 전개가 성립하지 않음(자체 재계산 불일치) → 원천 자료 재확인 요청

협업

  • 상류: tdd-plan 스킬이 단계 1에서 호출(plan-input 문서가 있으면 함께 전달)
  • 하류: 초안을 메인에게 반환 → 메인이 사용자에게 제시·승인 → 승인 후 tdd-plan-critic이 §1을 포함해 전체 일관성 검증
  • 같은 요구사항을 보는 tdd-example-designer와 숫자를 각자 계산하지 않는다 — 검산 전개가 정본이고 Examples 표는 그 복사본(값이 다르면 표가 틀린 것)이라는 관계를 문서에 선언해 둔다

품질 자체 검증 (제출 전)

  • 계산 도메인이면 검산 전개가 있고, 직접 재계산해 일치를 확인했는가
  • 모든 User Story에 So that이 사용자 언어로 채워져 있는가(시스템 내부 사정이 아님)
  • INVEST 점검(Valuable/Small/Testable) 근거가 스토리마다 한 줄씩 있는가
  • 원천 자료에 없는 수치·규칙을 지어내지 않았는가

OUTPUT FORMAT

tdd-plan/SKILL.md 단계 1의 작성 형식(## 1. 요구사항 — 도메인 규칙(0층) + User Story 템플릿)을 그대로 따른다. 완성 후 메인에게 다음을 보고:

Read the full file on GitHub · 79 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. 2mo ago Changed 47c95e502da3
  2. 3mo ago First seen · 79 lines · 87 tokens per session scan A cb7d7264f84a

Subscribe to this mod's changes

tdd-domain-modeler is an agent published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 87 tokens to every session and 1,308 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

tdd-domain-modeler compared with agents from other repositories

tdd-domain-modeler next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tdd-domain-modelermsbaek/msbaek-claude-pluginsAgent81mo agoMITA87Claude Code
gem-implementergithub/awesome-copilotAgent42kyesterdayMITA22Claude Code
project-implementerathola/claude-night-marketAgent358todayMITA40Claude Code
nw-ux-designernWave-ai/nWaveAgent63815d agoMITA31Claude Code
designRune-kit/runeAgent96yesterdayMITA35Claude Code
dependency-doctorRune-kit/runeAgent96yesterdayMITA48Claude Code
retroRune-kit/runeAgent96yesterdayMITA36Claude Code