quality-gates

Run typecheck, test, and lint quality gates across agent-driven sessions.

50|7|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Kanevry/session-orchestrator --skill quality-gates-kanevry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gates
Source: https://github.com/Kanevry/session-orchestrator/tree/main/skills/quality-gates
Command: npx skills add https://github.com/Kanevry/session-orchestrator --skill quality-gates-kanevry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides consistent, repeatable quality checks for code sessions to detect regressions and enforce standards before committing changes, reducing release risk and developer context-switching.

Core Features & Use Cases

  • Baseline checks: Quick non-blocking health checks at session start to capture a baseline for later comparison.
  • Incremental checks: Run tests on changed files and typechecks after implementation waves to surface regressions and create follow-up tasks.
  • Full Gate: Blocking final gate at session end that requires typecheck, tests, and lint to pass before commit; detects debug artifacts.
  • Per-File checks: Targeted checks for reviewers to validate specific changed files.
  • Graceful degradation: Automatically skips missing tools and notes the absence instead of failing the session.
  • Use Case: Integrate into agent-driven session orchestration to ensure waves and final commits meet quality expectations.

Quick Start

Run the Baseline quality check to capture session health using the configured test, typecheck, and lint commands.

Frequently Asked Questions about quality-gates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce automated code quality gates in CI workflows?

Automated code quality gates enforce consistent typechecking, testing, and linting before commits to detect regressions. They apply blocking checks at session end and require all configured commands to pass, reducing release risk in agent-driven workflows.

What's the best way to run incremental quality checks on changed files during development?

Incremental quality checks run tests on changed files and typechecks after implementation waves to surface regressions early. This non-blocking approach creates follow-up tasks for failing checks without halting the active development session.

Can I configure custom test, typecheck, and lint commands for quality gates?

Quality gates respect configurable session fields for test-command, typecheck-command, and lint-command. You define the specific commands your project uses, and the checks execute those exact scripts during baseline, incremental, full gate, and per-file validation phases.

What happens to CI quality checks if testing or linting tools are missing?

Quality checks gracefully degrade when tools are missing by automatically skipping the unavailable check and noting its absence. This prevents the session from failing outright, allowing remaining configured checks to execute successfully.

How do baseline quality checks differ from full gate checks?

Baseline checks perform quick non-blocking health scans at session start to capture a reference state, while full gate checks are blocking validations at session end requiring typecheck, tests, and lint to pass before commit.

Do I need session orchestration to run per-file quality checks?

Per-file quality checks work within session orchestration to let reviewers validate specific changed files. They run targeted typechecking, testing, and linting on individual files rather than executing checks across the entire project codebase.