Skip to content

feat: #34 - Enforce vertical TDD workflow with 4-phase process#35

Merged
iamladi merged 1 commit intomainfrom
feat/tdd-skill-upgrade
Feb 12, 2026
Merged

feat: #34 - Enforce vertical TDD workflow with 4-phase process#35
iamladi merged 1 commit intomainfrom
feat/tdd-skill-upgrade

Conversation

@iamladi
Copy link
Owner

@iamladi iamladi commented Feb 12, 2026

Summary

Closes #34

  • Replace simple TDD presence-check with structured 4-phase vertical workflow (Planning → Tracer Bullet → Incremental Loop → Refactor) that prevents horizontal slicing
  • Add per-cycle checklist enforcing behavioral tests, public interface testing, and minimal implementation
  • Add 4 reference documents: mocking policy (boundary-only), interface design (DI), test quality (behavioral), refactoring guidance
  • Update implementer agent to receive TDD workflow instructions and inject reference excerpts into subagent prompts
  • Align test-patterns example with boundary-only mocking policy

Test plan

  • Invoke /implement with tdd: strict in CLAUDE.md and verify implementer follows vertical TDD (one test → one impl per cycle)
  • Verify tracer bullet phase pauses for confirmation in strict mode
  • Verify tdd: soft proceeds without blocking gates
  • Verify tdd: off skips all TDD checks
  • Confirm reference files load correctly via Glob("**/tdd/references/*.md", path: "~/.claude/plugins")

Replace simple presence-check TDD enforcement with a structured 4-phase
workflow (Planning → Tracer Bullet → Incremental Loop → Refactor) that
prevents horizontal slicing — where agents write all tests first then
all code, producing brittle implementation-coupled tests.

Adds per-cycle checklist, reference documents for mocking policy,
interface design, test quality, and refactoring guidance. Updates
implementer agent to inject TDD reference excerpts into subagent prompts.
@iamladi iamladi merged commit 38f5ec5 into main Feb 12, 2026
1 check passed
@iamladi iamladi deleted the feat/tdd-skill-upgrade branch February 12, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(tdd): enforce vertical TDD workflow with 4-phase process

1 participant