Files
social-app/.opencode/commands/trellis/check-backend.md
T

712 B

Check if the code you just wrote follows the backend development guidelines.

Execute these steps:

  1. Run git status to see modified files
  2. Read .trellis/spec/backend/index.md to understand which guidelines apply
  3. 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
  4. Review your code against the guidelines
  5. Report any violations and fix them if found