Back to list
hivellm

rulebook-quality-gates

by hivellm

CLI tool to standardize AI-generated projects with templates, rules enforcement, and automation

5🍴 0📅 Jan 8, 2026

SKILL.md


name: rulebook-quality-gates description: 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. version: "1.0.0" category: core author: "HiveLLM" tags: ["quality", "testing", "coverage", "linting", "pre-commit", "git-hooks"] dependencies: [] conflicts: []

Quality Gates Enforcement

Pre-Commit Checklist

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.

Quality Thresholds

CheckRequirement
Type CheckZero errors
LintZero warnings
Tests100% pass rate
Coverage95%+
BuildMust succeed

Git Hooks

Rulebook can install automated Git hooks:

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

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

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon