From core
Writes tests for code using TDD principles: red-green-refactor cycle, failing tests first, minimal implementation, refactoring. Useful for modules, functions, flows, edge cases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/core:testThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
han-core:test - Write tests for code using test-driven development principles
han-core:test - Write tests for code using test-driven development principles
/test [arguments]
Write tests for code using test-driven development principles
Write tests for the specified code or feature using test-driven development (TDD) methodology.
Follow TDD methodology:
When the user says:
npx claudepluginhub thebushidocollective/han --plugin coreEnforces RED-GREEN-REFACTOR TDD cycle: write a failing test first, then minimal code to pass, then refactor. Use when implementing features or fixing bugs during the implement phase.
Guides TDD workflow with red-green-refactor cycle: plan interfaces, tracer bullet tests, minimal implementation to green, refactor under tests. For explicit TDD requests only.
Enforces strict TDD workflow for feature implementation: write one failing test, minimal code to pass, refactor, repeat. Prevents writing full test suites upfront.