rulebook-quality-gates
Automated quality checks and enforcement for code commits. Use when validating code quality, running pre-commit checks, ensuring test coverage, or enforcing coding standards before commits and pushes.
Best use case
rulebook-quality-gates is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Automated quality checks and enforcement for code commits. Use when validating code quality, running pre-commit checks, ensuring test coverage, or enforcing coding standards before commits and pushes.
Teams using rulebook-quality-gates should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/rulebook-quality-gates/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How rulebook-quality-gates Compares
| Feature / Agent | rulebook-quality-gates | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Automated quality checks and enforcement for code commits. Use when validating code quality, running pre-commit checks, ensuring test coverage, or enforcing coding standards before commits and pushes.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Quality Gates Enforcement ## Pre-Commit Checklist **MUST run these checks before every commit:** ```bash 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.** ## Quality Thresholds | Check | Requirement | |-------|-------------| | Type Check | Zero errors | | Lint | Zero warnings | | Tests | 100% pass rate | | Coverage | 95%+ | | Build | Must succeed | ## Git Hooks Rulebook can install automated Git hooks: ```bash rulebook init # Prompts to install hooks ``` ### Pre-commit Hook - Format check - Lint check - Type check ### Pre-push Hook - Build verification - All tests - Coverage threshold check ## Fixing Common Issues ```bash 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 ```