Coding with AI needs new best practices.
Here’s a few:
- Lint everything, no unused refs
- <50 lines a function
- AI code review
- Your AI code breaks, you own it
- Force comments on every function
- Mermaid diagram for each PR
- Mandatory AI written unit tests
- Small, stacked PRs
- AI generated unit tests