Agent skill
TDD — 最小 RED テストの作成
受入条件の中から最小の1点だけを RED にする。複数失敗要因を同時に作らない。 RED→GREEN→REFACTOR の順を厳守するための Skill。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/cas
SKILL.md
使い方
- 最初は「落ちるテストを1つだけ」用意する(受入条件は1点)
- Green 化では「そのテストだけを通す最小実装」を行う
- その後に重複除去・命名・設計整合をリファクタで行う
手順
- RED: 失敗する最小テストを1つだけ追加
- GREEN: そのテストだけ通す最小実装
- REFACTOR: 重複排除/命名/設計整合を実施
例
examples/red_case_sample.py
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?