Defines engineering standards for this project.
Deliver a clean, maintainable, production-ready CLI tool.
| Layer | Responsibility |
|---|---|
| CLI | user interaction |
| Config | configuration |
| Scanner | file system logic |
| Generator | output |
| Utils | shared tools |
Example:
❌ Scanner should NOT handle CLI ❌ CLI should NOT handle filesystem logic
- Type hints
- Docstrings
- Logging
print()for debugging- hardcoded paths
- duplicated logic
Use logging levels:
| Level | Usage |
|---|---|
| DEBUG | internal state |
| INFO | normal operations |
| WARNING | recoverable issues |
| ERROR | failures |
Each feature must include:
- Implementation
- CLI integration
- Documentation update
Before release:
- CLI works correctly
- documentation updated
- no debug code
- clean output
"Simple, predictable, and maintainable over clever."