Check if the code you just wrote follows the backend development guidelines.
Execute these steps:
- •Run
git statusto see modified files - •Read
.trellis/spec/backend/index.mdto understand which guidelines apply - •Based on what you changed, read the relevant guideline files:
- •Database changes →
.trellis/spec/backend/database-guidelines.md - •Error handling →
.trellis/spec/backend/error-handling.md - •Logging changes →
.trellis/spec/backend/logging-guidelines.md - •Type changes →
.trellis/spec/backend/type-safety.md - •Any changes →
.trellis/spec/backend/quality-guidelines.md
- •Database changes →
- •Review your code against the guidelines
- •Report any violations and fix them if found