From tdd-system
Prime the TDD engine — activate Red-Green-Refactor cycle with regression memory recall before writing any code.
npx claudepluginhub joysusy/violet-plugin-place --plugin tdd-systemprime/# Authors: Joysusy & Violet Klaudia 💖
## TDD Cycle Primer
> If it isn't tested, it's broken. If the test doesn't fail first, the test is invalid.
> 没测过就是坏的。测试不先飘红,就不是有效测试。
### Before You Write Code
1. **Recall**: Check for surfaced failures and prior regression context
- `${CLAUDE_PLUGIN_ROOT}/references/regression-memory-loop.md`
2. **Red**: Write a test that fails — proving the bug exists or the feature is missing
- `${CLAUDE_PLUGIN_ROOT}/references/tdd-workflow.md`
3. **Green**: Write minimal code to make the test pass
4. **Refactor**: Clean up without breaking the green state.../tdd-cycleOrchestrates advanced TDD cycle for feature requirements using multi-expert collaboration, structured dissent, and adaptive learning modes.
/tdd-cycleExecute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
/tdd-cycleExecute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
/tdd-cycleExecute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
/tdd-cycleOrchestrates strict red-green-refactor TDD cycle for a feature/module, writing tests/code to .tdd-cycle/ with checkpoints and coverage checks. Supports --incremental, --suite, --coverage flags.
If it isn't tested, it's broken. If the test doesn't fail first, the test is invalid. 没测过就是坏的。测试不先飘红,就不是有效测试。
${CLAUDE_PLUGIN_ROOT}/references/regression-memory-loop.md${CLAUDE_PLUGIN_ROOT}/references/tdd-workflow.mdIF bug fix → Red test reproduces the exact bug first
IF new feature → Red test defines the expected behavior first
IF refactor → Green tests exist BEFORE touching code
IF AI validation → Run agent-evaluation checklist
IF regression → Check regression-memory-loop for prior context
${CLAUDE_PLUGIN_ROOT}/references/testing-tactics.md for details