Check if the code you just wrote follows the frontend development guidelines.
Execute these steps:
- •Run
git statusto see modified files - •Read
.trellis/spec/frontend/index.mdto understand which guidelines apply - •Based on what you changed, read the relevant guideline files:
- •Component changes →
.trellis/spec/frontend/component-guidelines.md - •Hook changes →
.trellis/spec/frontend/hook-guidelines.md - •State changes →
.trellis/spec/frontend/state-management.md - •Type changes →
.trellis/spec/frontend/type-safety.md - •Any changes →
.trellis/spec/frontend/quality-guidelines.md
- •Component changes →
- •Review your code against the guidelines
- •Report any violations and fix them if found