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