/jutsu-tdd:test-driven-developmentfrom jutsu-tdd
Guides through the Red-Green-Refactor TDD cycle for new functions, features, bug fixes, and refactoring across backend and frontend stacks.
Ships in jutsu-tdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Red → Green → Refactor cycle for all code changes.
✅ Always use TDD for:
❌ Skip TDD for:
# Start with test
test "calculates total with tax" do
result = Calculator.calculate_total([100, 200])
assert Money.equal?(result, Money.new(:USD, 324))
end
# Run test - should FAIL
mix test
# Just enough to pass
def calculate_total(prices) do
prices |> Enum.sum() |> Kernel.*(1.08) |> Money.new(:USD)
end
Extract constants, improve naming, etc.
test/path/module_test.exsapps/api/test/your_app/task/task_test.exsComponentName.test.tsxmobile/libraries/atorasu/atoms/Button/Button.test.tsx# Backend
mix test path/to/test.exs
# Frontend
yarn test path/to/test.tsx
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 plugins ship this exact skill · first indexed Jul 14, 2026
npx claudepluginhub thedotmack/han --plugin jutsu-tddOther plugins' skills for the same job