Pre-commit Check Skill
Run all pre-commit checks before committing changes.
Usage
Manually verify changes pass all quality gates before committing.
Steps
- •Run
pnpm formatto format code and fix auto-fixable lint issues - •Run
pnpm lintto check for remaining lint/format issues - •Run appropriate tests based on changed files
- •Verify TypeScript compilation succeeds
- •Review changes one final time
- •Ready to commit if all checks pass
Notes
- •Husky pre-commit hook automatically runs format + lint:check
- •This skill useful for checking before pushing or during development
- •Consider running
pnpm buildfor major changes