ワンクリックで
ds-tdd-mode
Drive implementation with tests, one vertical slice at a time.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Drive implementation with tests, one vertical slice at a time.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Design a target architecture for a new system — module boundaries, dependency rules, seams, and build order — from its requirements. Reports a blueprint; changes nothing.
Analyze an existing codebase's architecture and produce a sequenced refactoring plan — assess module boundaries, dependency structure, and layering, then lay out ordered, risk-tagged steps. Language-agnostic. Reports a plan; changes nothing.
Turn a goal or another command's output into an ordered task roadmap.
Find the root cause of a failure with the scientific method — reproduce, isolate, fix, then prove it.
Interview the user relentlessly about a plan or design until reaching shared understanding.
Run an extremely strict maintainability + single-source-of-truth review of code changes — abstraction quality, file sprawl, spaghetti-condition growth, and duplicate/competing implementations. Reports findings by default; `--fix` applies the mechanical, unambiguous ones — structural/code-judo restructurings rest on judgment and stay reported.
| name | ds-tdd-mode |
| description | Drive implementation with tests, one vertical slice at a time. |
| disable-model-invocation | true |
When active, build the feature test-first. Each test verifies observable behavior through a public interface — never implementation details.
Do not write all tests before any implementation. Tests written against imagined behavior verify guessed data shapes, not real user-facing outcomes. Slice vertically instead: one test, one implementation, repeat.
Good tests:
Bad tests — red flags:
assert add(a, b) == a + b) — the test can never disagree with the code. Draw expected values from an independent source: a known-good literal, a worked example, or the spec.A test that breaks on a behavior-preserving refactor is coupled to implementation. Rewrite it against the interface.
For each slice: the test, then the implementation. Report which behaviors remain untested.
Confirm activation with "TDD mode active." Activating a mode only turns on this posture; it is not approval to begin work — continue with whatever the user already asked for, or wait for their next instruction.