Test-Driven Development (TDD)
Write the test first. Watch it fail. Write minimal code to pass. Then refactor.
Core Principle
If you didn't watch the test fail, you don't know if it tests the right thing. Production code only after a failing test. No exceptions unless the user explicitly approves (e.g. throwaway prototype, generated config).
When to Activate
- Implementing a new feature or function
- Fixing a bug (write failing test that reproduces the bug first)
- Refactoring (t
[Description truncada. Veja o README completo no GitHub.]