Check if the code you just wrote follows the backend development guidelines.
Execute these steps:
-
Run git status to see modified files
-
Read .trellis/spec/backend/index.md to 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
-
Review your code against the guidelines
-
Report any violations and fix them if found