Full pipeline: evaluation -> spec -> implementation -> review -> QA
日本語の概要は準備中です。原文の説明を表示しています。
Discipline skill — TDD red-green-refactor cycle. Use when implementing any feature or bugfix, before writing implementation code.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Write the test first. Watch it fail. Write minimal code to pass.
Core principle: If you didn't watch the test fail, you don't know if it tests the right thing.
/tdd
Invoke this skill before implementing any feature or bugfix. It establishes the discipline for your implementation session.
Exceptions (ask the user): throwaway prototypes, generated code, configuration files.
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
Write code before the test? Delete it. Start over.
Write one minimal test showing what should happen.
Requirements:
Run the test. Confirm:
Test passes? You're testing existing behavior. Fix the test.
Write the simplest code to pass the test.
Don't add features, refactor other code, or "improve" beyond the test.
Run the test. Confirm:
Test fails? Fix code, not test.
After green only:
Keep tests green. Don't add behavior.
Next failing test for next behavior.
| Quality | Good | Bad |
|---|---|---|
| Minimal | One thing. "and" in name? Split it. | test('validates email and domain and whitespace') |
| Clear | Name describes behavior | test('test1') |
| Shows intent | Demonstrates desired API | Obscures what code should do |
| Excuse | Reality |
|---|---|
| "Too simple to test" | Simple code breaks. Test takes 30 seconds. |
| "I'll test after" | Tests passing immediately prove nothing. |
| "Tests after achieve same goals" | Tests-after = "what does this do?" Tests-first = "what should this do?" |
| "Already manually tested" | Ad-hoc is not systematic. No record, can't re-run. |
| "Deleting X hours is wasteful" | Sunk cost fallacy. Keeping unverified code is technical debt. |
| "Need to explore first" | Fine. Throw away exploration, start with TDD. |
| "Test hard = design unclear" | Listen to the test. Hard to test = hard to use. |
| "TDD will slow me down" | TDD is faster than debugging. |
All of these mean: Delete code. Start over with TDD.
Never fix bugs without a test.
| Problem | Solution |
|---|---|
| Don't know how to test | Write wished-for API. Write assertion first. |
| Test too complicated | Design too complicated. Simplify interface. |
| Must mock everything | Code too coupled. Use dependency injection. |
| Test setup huge | Extract helpers. Still complex? Simplify design. |
Before marking work complete:
Can't check all boxes? You skipped TDD. Start over.
/debug — systematic debugging when tests reveal unexpected failures/verify — verification before claiming work is completeまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Full pipeline: evaluation -> spec -> implementation -> review -> QA
日本語の概要は準備中です。原文の説明を表示しています。
Convenes multiple agents to debate an important decision
日本語の概要は準備中です。原文の説明を表示しています。
Create a pull request from the current branch with structured summary
日本語の概要は準備中です。原文の説明を表示しています。
Discipline skill — systematic debugging process. Use when encountering any bug, debug issue, test failure, broken function, or unexpected behavior, before proposing fixes.
日本語の概要は準備中です。原文の説明を表示しています。
Enriches CLAUDE.md by exploring the project and specializes agents to the real stack
日本語の概要は準備中です。原文の説明を表示しています。
QA + bugfix cycle until it passes
日本語の概要は準備中です。原文の説明を表示しています。