| name | development-process |
| description | Development workflow including TDD, refactoring process, and code change workflow. Automatically applied to all development work. |
Development Process
Development workflow guidelines. See reference.md and examples.md for details.
Core Processes
Test-Driven Development (TDD)
- Write tests before implementing features
- Clarify requirements and interfaces while writing tests
- Run tests frequently during implementation to get feedback
- Write tests for all new functionality
Refactoring Process
- Run all tests before starting to confirm current state
- Make incremental changes in small units
- Run tests after each change
- Update imports and references
- Update tests if needed
- Update documentation
- Ensure all tests pass before completion
Code Change Workflow
- Before changes: Understand current structure, check existing tests, review related code, plan changes
- During development: Make incremental changes, run tests frequently, fix linter errors immediately, update documentation simultaneously, run pre-commit frequently
- Before completion: Run all tests, check linter (use pre-commit), verify README examples, check imports