Keeps short one-job agent workflows for specs, test-first slices, test audits, project docs and multi-agent dispatch so coding agents reload how you work each session.
tdd
Test-driven development: the agent writes the failing test, then the code, one behavior at a time. Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green, or test-first.
ソース情報
- リポジトリ
- MasihMoafi/skills
- ソースの最終更新活動
- 2026年11月3日 08:37
- 検出された SKILL.md の言語
- 英語
- スター
- 8
- フォーク
- 0
tdd: red-green one slice at a time
Makes the agent write one failing test for the next behavior, then the smallest code that passes, repeating slice by slice.
Uses
Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green or test-first.
How to use
Name the behavior and pick the public seam → run the repo test command once for baseline → Red: one failing test for the missing behavior → Green: smallest code that passes → next slice; refactor only after the behavior is green.
Limitations
A test that passes immediately is a characterization test—pick a truly missing behavior. Code written before its test is deleted and rewritten test-first.
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
| name | tdd |
|---|---|
| description | Test-driven development: the agent writes the failing test, then the code, one behavior at a time. Use when building a feature or fixing a bug test-first, or when the user says tdd, red-green, or test-first. |