From tdd
Guides strict Test-Driven Development cycles: write one failing test (Red), minimal passing code (Green), refactor. Repeat for feature behaviors with /tdd [feature].
How this skill is triggered — by the user, by Claude, or both
Slash command
/tdd:tdd [feature description or function signature][feature description or function signature]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build the following using strict Test-Driven Development:
Build the following using strict Test-Driven Development:
Feature: $ARGUMENTS
Repeat this cycle for each behavior. Never skip steps.
should return 0 for empty cartWork from simple to complex:
Each test should require a small code change. If you need to write more than ~10 lines of production code to pass a test, the test is too big. Split it.
After each cycle, briefly state:
When the feature is complete, provide a summary of all behaviors covered and any gaps that would need integration or manual testing.
npx claudepluginhub findexu/finpack-claude --plugin tddEnforces strict TDD red-green-refactor cycle: write failing test first, minimal implementation to pass, then refactor. Use before coding for test-driven safe development.
Enforces strict TDD workflow for feature implementation: write one failing test, minimal code to pass, refactor, repeat. Prevents writing full test suites upfront.