| name | run-checks |
| description | Runs the full quality check suite for the Torrust website. Use before committing or opening a PR to verify types, linting, and that the build succeeds. |
Run Checks
When to use this skill
Use this skill before committing changes or opening a pull request to ensure everything passes.
Steps
Run these in order:
npm run dev
npm run check
npm run lint
npm run build
npm run preview
Fix common issues
- Type errors — fix reported TypeScript/Svelte errors, then re-run
npm run check
- Lint errors — run
npm run format to auto-fix formatting, then re-run npm run lint
- Build failures — read the Vite output carefully; usually caused by type errors or missing imports
Quick pre-commit shortcut
If you only need to verify types and lint (no full build):
npm run check && npm run lint