Agent Skill
2/7/2026pre-commit-check
Run all pre-commit checks before committing changes. Use to manually verify changes pass all quality gates before committing.
C
cartridge
79GitHub Stars
1Views
npx skills add cartridge-gg/controller
SKILL.md
| Name | pre-commit-check |
| Description | Run all pre-commit checks before committing changes. Use to manually verify changes pass all quality gates before committing. |
name: pre-commit-check description: Run all pre-commit checks before committing changes. Use to manually verify changes pass all quality gates before committing.
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
Skills Info
Original Name:pre-commit-checkAuthor:cartridge
Download