quality-gateway | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / quality-gateway

quality-gateway

maintained by bitsoex

star 35 account_tree 30 verified_user MIT License
bolt View GitHub

name: quality-gateway description: > Orchestrates quality checks at key lifecycle points: before edits, after edits, and before completion. Coordinates sub-skills (test-augmentation, doc-sync, coding-standards, security-review) to ensure consistent code quality. Use when making significant code changes or before completing a task. compatibility: Requires Node.js 24+; works with any codebase metadata: version: "1.0"

Quality Gateway

Orchestrates quality checks at key lifecycle points in the development workflow. This skill coordinates sub-skills to ensure consistent code quality.

When to Use This Skill

  • Before starting significant code changes (pre-edit baseline)
  • After completing code changes (post-edit validation)
  • Before marking a task as complete (final quality gate)
  • When running the /quality-check command

Skill Contents

Sections

Available Resources

📚 references/ - Detailed documentation

📦 assets/ - Templates and resources


Sub-Skills

The quality gateway orchestrates these sub-skills:

Sub-Skill Purpose Skill Location
test-augmentation Validates test coverage .claude/skills/test-augmentation/
doc-sync Validates documentation .claude/skills/doc-sync/
coding-standards Enforces code style .claude/skills/coding-standards/
security-review Checks for vulnerabilities .claude/skills/security-review/

Lifecycle Hooks

Hook When Purpose
pre-edit Before changes Capture baseline metrics
post-edit After changes Validate changes meet standards
on-stop Before completion Final quality gate

IDE Integration

The quality gateway integrates with AI IDEs through hooks:

IDE Integration Method Reference
Claude Code Native hooks in settings.json assets/claude-quality-hooks.md
Cursor IDE Rules + Commands assets/cursor-quality-integration.md

For hook implementation patterns, see the agent-hooks skill in .claude/skills/agent-hooks/.

Quality Checks

Pre-Edit (Baseline)

Before making changes:

  1. Record current test coverage
  2. Note existing linting errors
  3. Capture documentation state

Post-Edit (Validation)

After making changes:

  1. Verify test coverage maintained or improved
  2. Check for new linting errors
  3. Validate documentation is in sync

On-Stop (Final Gate)

Before completing:

  1. Run full test suite
  2. Verify no regressions
  3. Check all quality thresholds met

Commands

Command Purpose
/quality-check Run full quality gate
/add-tests Generate missing tests
/sync-docs Update documentation

Assets

Asset Description
assets/claude-quality-hooks.md Claude Code hook configurations
assets/cursor-quality-integration.md Cursor IDE integration guide

References

Reference Description
references/test-result-caching.md How to save and reuse test results

Test Result Caching

Always save test output to .tmp/ instead of running tests multiple times:

# Run once and save
pnpm test 2>&1 | tee .tmp/pnpm-test-latest.txt

# Then grep from file (don't run tests again!)
grep "FAIL" .tmp/pnpm-test-latest.txt
tail -20 .tmp/pnpm-test-latest.txt

See references/test-result-caching.md for all tools.

Related Skills

  • agent-hooks - Hook implementation patterns (in targeted/skills/)
  • test-augmentation - Test coverage validation
  • doc-sync - Documentation synchronization
  • coding-standards - Code style enforcement
  • security-review - Security vulnerability checks

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 35
GitHub Forks 30
Created Jan 2026
Last Updated 4个月前
tools tools productivity tools

Related Skills

planning-with-files
chevron_right
specs-gen
chevron_right
agent-browser
chevron_right
building-agents
chevron_right
pr

pr

MoonshotAI
star 6.1k
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.