Skip to content

feat(claude): add dedicated TDD rule with Red-Green-Refactor discipline#90

Merged
paveg merged 1 commit intomainfrom
feat/add-tdd-rule
Mar 16, 2026
Merged

feat(claude): add dedicated TDD rule with Red-Green-Refactor discipline#90
paveg merged 1 commit intomainfrom
feat/add-tdd-rule

Conversation

@paveg
Copy link
Owner

@paveg paveg commented Mar 16, 2026

Summary

  • Add dot_claude/rules/tdd.md with detailed TDD rules: Red-Green-Refactor cycle, granularity guidance, uncertainty handling, and exceptions for non-testable contexts
  • Simplify TDD section in development-principles.md to defer to the new dedicated rule file
  • Exceptions explicitly cover dotfiles, CI config, shell scripts, and declarative config files

Test plan

  • just test passes (lint + format)
  • chezmoi apply places ~/.claude/rules/tdd.md correctly
  • CI passes on push

🤖 Generated with Claude Code

…ne (#90)

Extract TDD guidance from development-principles.md into a dedicated
tdd.md rule file with detailed Red-Green-Refactor cycle, granularity
rules, uncertainty guidance, and exceptions for non-testable contexts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paveg paveg merged commit acb2abd into main Mar 16, 2026
8 checks passed
@paveg paveg deleted the feat/add-tdd-rule branch March 16, 2026 08:00
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.

1 participant