verify-before-commit
Installation
SKILL.md
Skill: verify-before-commit
When to use
After completing any implementation task, before git commit.
Steps
Pre-commit:
RUN: <type-check-cmd>— detect from repo:npx tsc --noEmit(package.json) /go build ./...(go.mod). Fix all errors.RUN: <lint-cmd>— detect:npx eslint src//go vet ./.... Fix errors; note warnings.RUN: <test-cmd>— detect:npm test/go test ./.... Fix failures.- Smoke check: manually verify the golden path works end-to-end.
- Commit with message describing why, not what.