Help us improve
Share bugs, ideas, or general feedback.
From rulebook
Enforces code quality gates via Git hooks: pre-commit checks linting, formatting, type-checking; pre-push verifies tests, 95%+ coverage, and builds before commits/pushes.
npx claudepluginhub hivellm/rulebook --plugin rulebookHow this skill is triggered — by the user, by Claude, or both
Slash command
/rulebook:rulebook-quality-gatesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**MUST run these checks before every commit:**
Enforces quality gates in TypeScript/Node.js projects: pre-commit linting/formatting with ESLint/Prettier/tsc, tests/coverage with Vitest, builds, CI checks, security audits, E2E with Playwright, and Lighthouse performance.
Pre-commit quality gate verification: runs git diff, tests, and linting, then checks build, coverage, security, and documentation gates before committing.
Configures pre-commit hooks for linting, formatting, type checking, and testing in Python, Rust, and TypeScript projects to enforce quality gates on commits, ideal for monorepos.
Share bugs, ideas, or general feedback.
MUST run these checks before every commit:
npm run type-check # Type check
npm run lint # Lint (0 warnings)
npm run format # Format check
npm test # All tests (100% pass)
npm run build # Build verification
npm run test:coverage # Coverage check (95%+)
If ANY fail, FIX before committing.
| Check | Requirement |
|---|---|
| Type Check | Zero errors |
| Lint | Zero warnings |
| Tests | 100% pass rate |
| Coverage | 95%+ |
| Build | Must succeed |
Rulebook can install automated Git hooks:
rulebook init # Prompts to install hooks
npm run type-check # See type errors
npm run lint # See lint warnings
npm run lint:fix # Auto-fix lint issues
npm test # Run all tests
npm run test:coverage # See coverage report