From rulebook
Enforces code quality gates via pre-commit/pre-push Git hooks: linting (0 warnings), type checks, formatting, 100% test pass, 95%+ coverage, builds.
npx claudepluginhub hivellm/rulebook --plugin rulebookThis skill uses the workspace's default tool permissions.
---
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Builds DCF models with sensitivity analysis, Monte Carlo simulations, and scenario planning for investment valuation and risk assessment.
Calculates profitability (ROE, margins), liquidity (current ratio), leverage, efficiency, and valuation (P/E, EV/EBITDA) ratios from financial statements in CSV, JSON, text, or Excel for investment analysis.
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