tdd-feature

tdd-feature is a skill for Claude Code from msbaek/msbaek-claude-plugins. It costs 281 tokens per session (7,067 once invoked), scanned A, original, MIT.

A guided workflow for building one feature or use case with test-driven development, or TDD: write a failing test, make it pass, then improve the code. It agrees on the plan and completion checks with you before implementing the feature.

In plain words
What is it for?
Use it to plan and implement one complete feature through tests, with up to three commits organized around the testing cycle.
Why use it?
It turns a feature into a sequence of tested, reviewable changes and keeps the expected behavior clear.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it to plan and implement one complete feature through tests, with up to three commits organized around the testing cycle.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add msbaek/msbaek-claude-plugins
Claude Code
/plugin install msbaek-tdd

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-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/tdd-feature/github.svg)](https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-feature)
Your own site
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-feature"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/tdd-feature/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-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/msbaek/msbaek-claude-plugins/tdd-feature"><img src="https://agentmods.dev/badge/skills/msbaek/msbaek-claude-plugins/tdd-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 281 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,067 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.00281 $0.07067
Opus 5.5 $0.00112 $0.02827
Sonnet 5.5 $0.00056 $0.01413
Haiku 4.5 $0.00028 $0.00707

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

Security

Grade A, and why

tdd-feature 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/skills/tdd-feature/SKILL.md · 325 lines

How it starts

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

tdd-feature — 간결 Plan → Feature 단위 자율 RGB

하나의 feature(use case)를, 간결한 plan을 사용자와 합의한 뒤 RGB 사이클로 끝까지 자율 구현하는 오케스트레이터입니다. 기존 tdd-red/tdd-green/tdd-blue 에이전트를 재사용합니다.

GOAL

  • 성공 = 하나의 feature가 ① 간결 plan 합의 ② 모든 programmer test가 RGB로 구현·통과 ③ feature(use case) 전체가 reviewable-commits 표준(Why-body)을 갖춘 3-phase 커밋(test:/feat:/refactor:)으로 남음
  • Phase A (인터랙티브): 문제·기능 분해·완료조건을 사용자와 합의
  • Phase B (자율): 합의된 단일 feature를 피드백 없이 끝까지 구현
  • 향후 리뷰어가 커밋 메시지만으로 그 feature에서 내린 결정의 의도(Why)·맥락을 재구성할 수 있음

CONSTRAINTS

Hard Rules

1. WIP = 1 (한 번에 하나의 feature)
  • 한 실행에서 feature(use case) 하나만 구현한다. plan에 feature가 2개 이상이면, 이번에 구현할 하나를 선택하고 나머지는 수정하지 않는다.
  • 선택한 feature 완료 후 종료한다. 남은 feature는 "이어서 다시 호출" 또는 "다른 세션에서" 진행하도록 안내한다.
  • 한 번에 하나에 집중해야 맥락·품질이 유지되고 슬라이스 단위로 동작을 검증할 수 있다(Walking Skeleton → 슬라이스 정교화).
2. 자율성 경계 = Phase 경계
  • Phase A(plan)는 인터랙티브 — 각 단계마다 사용자 합의를 받고 다음으로 간다.
  • Phase B(구현)는 자율 — plan이 합의되면 그 feature의 모든 test에 대해 R→G→B를 피드백 요청 없이 끝까지 실행한다.
  • 경계를 넘지 않는다: plan 미합의 상태로 구현 진입 금지, 합의 후 구현 중 불필요한 중단·재확인 금지. (이 점이 /tdd-rgb와의 근본 차이 — tdd-rgb는 기어가 정한 검토 지점마다 피드백을 받는다.)
2a. 기어(Gears) 위치 — Phase B = high 기어

이 스킬은 --gear 옵션을 받지 않는다. Phase B의 자율 진행 자체가 feature 범위의 high 기어이기 때문이다. 따라서 tdd-rgb의 high 기어 안전장치를 동일하게 적용한다 (자율성만 가져오고 안전망을 제외하는 것은 허용되지 않는다):

  • 시작 전 폭발 반경(blast radius) 점검 — 인증/인가, 결제·금액 계산, 데이터 삭제·변경, 외부 API 호출, 동시성에 해당하면 Phase B 진입 전에 경고하고 "/tdd-rgb --gear=low|mid로 단계별 검토"를 권한다. 결정은 사용자
  • 시작 커밋 해시 기록 — Phase B 시작 시 HEAD를 plan 문서에 남긴다(적대적 리뷰 diff 기준점)
  • 완료 보고 전 적대적 리뷰 — ../tdd-rgb/references/adversarial-review.md의 절차를 그대로 실행. green 스위트 + 적대적 리뷰 통과가 이 스킬의 Definition of Done
  • 후퇴·놀라움 발생 시 — 자율을 중단하고 사용자에게 돌아가는 것이 다운시프트에 해당한다 (tdd-rgb의 다운시프트 신호와 동일: revert, 예상 밖 실패 반복, 최소 구현 초과)

low·mid 기어가 필요하면 이 스킬이 아니라 /tdd-rgb --gear=low|mid를 쓴다 — 낯선 도메인, 학습 목적, 설계 확신 부족은 자율 구현의 전제(작동하는 이론 보유)를 만족하지 않는다.

3. use case 내 3-phase 커밋 (high 기어의 커밋 단위)
  • feature(use case) 하나 = 최대 3개 커밋. 테스트 단위가 아니라 phase 단위로 나눈다 — 그 feature의 모든 test에 대한 Red 변경을 한 커밋(test:)에, Green 변경을 한 커밋 (feat:)에, Blue 변경을 한 커밋(refactor:, tidying이 불필요하면 생략)에 담는다. 테스트마다 나누지 않고, feature 전체를 진행해 한 phase씩 끝낸다: 모든 test의 Red를 다 쓴 뒤 → 모든 test의 Green을 채우고 → 마지막에 Blue를 한 번 적용한다.
  • 따라서 R/G/B 에이전트는 커밋하지 않는다 — git add까지만 수행하고(커밋 보류), 각 phase가 feature의 모든 test에 대해 끝날 때마다 이 오케스트레이터가 커밋한다.
  • use case 경계를 넘겨 합치지 않는다 — 두 feature를 같은 phase 커밋에 담으면 "이 phase가 이 feature에 대해 무엇을 했는가"라는 리뷰 단위가 성립하지 않는다. Hard Rule 1(WIP=1)이 이 경계를 자동으로 보장한다.
  • 제약: test 단위 revert는 불가능하다(되돌림 단위는 phase). phase 단위 되돌림 (구현만, 또는 tidying만)은 가능하다. 확신이 부족하면 /tdd-rgb --gear=low|mid로 간다 (정본: ../tdd-rgb/SKILL.md의 "진행 표기 규칙").

Read the full file on GitHub · 325 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 · +11 lines 7b9300854a5e
  2. 2mo ago Changed 8fee3010a6b4
  3. 2mo ago Changed e6169f647e85
  4. 3mo ago Changed · +10 lines 116915048711
  5. 3mo ago First seen · 304 lines · 281 tokens per session scan A 9a545f7c86bd

Subscribe to this mod's changes

tdd-feature is a skill published in the GitHub repository msbaek/msbaek-claude-plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 281 tokens to every session and 7,067 once invoked, about $0.0011 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-feature compared with skills from other repositories

tdd-feature next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tdd-featuremsbaek/msbaek-claude-pluginsSkill81mo agoMITA281Claude Code
engram-testing-coverageGentleman-Programming/engramSkill8.4k10d agoMITA25Claude Code, Codex
iterative-developmentalinaqi/maggySkill7128d agoMITA24Claude Code
tddglebis/claude-skillsSkill419todayMITA92Claude Code
mobiai-mobile-tddArisGuimera/MobiAI-CoreSkill4964d agoMITA38Claude Code
nw-ddd-eventsourcingnWave-ai/nWaveSkill63815d agoMITA38Claude Code
nw-leanux-methodologynWave-ai/nWaveSkill63815d agoMITA37Claude Code