quality-gates

Validates completion claims by requiring command output, exit codes, and staged test evidence.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/devbasex/ai-plugins --skill quality-gates-devbasex
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: quality-gates
Source: https://github.com/devbasex/ai-plugins/tree/main/plugins/ndf/skills/quality-gates
Command: npx skills add https://github.com/devbasex/ai-plugins --skill quality-gates-devbasex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? It prevents premature "done" declarations by requiring verifiable evidence—executed commands, exit codes, timestamps, and scope—before any work can be reported as complete. ## Core Features & Use Cases - Evidence-Based Completion: Requires recorded commands, exit codes, execution times, and target scope instead of verbal claims of success. - Staged Verification Pipeline: Enforces a four-stage sequence from focused tests through full test suites, static analysis, and end-to-end integration checks. - Mode-Specific Definitions of Done: Applies different completion checklists for light, operation, standard, legacy-refactor, and documentation change modes. - Use Case: Before reporting a bug fix as complete, run the focused test, the full test suite, and the linter, then record each command with its exit code in the verification report table. ## Quick Start Ask the AI to verify whether the current change meets the completion criteria and produce a verification evidence report with commands and exit codes.

Frequently Asked Questions about quality-gates

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

FAQPage Schema
How do I prove a code change is complete before reporting it?▼

Record every verification command with its exit code, execution time, and target scope in a structured report. Run staged checks from focused tests through full suites and static analysis, and map each acceptance criterion to its verification result.

What evidence should a completion report include?▼

A completion report should include the executed commands, exit codes, execution timestamps, and target scope for each verification stage. It must also list unverified items, pre-existing failures with justification, and out-of-scope findings.

How are coverage thresholds determined for completion checks?▼

Coverage thresholds come from the project's own configuration files, such as fail_under in pyproject.toml or coverageThreshold in jest.config. If no threshold is configured, only the measured value is recorded without a pass/fail judgment.

Can I declare completion if some tests were already failing before my change?▼

Pre-existing failures can be excluded only if you demonstrate they fail on the code before your change. You must explicitly document them as existing failures with that evidence rather than silently ignoring them.

When should full end-to-end tests be required before completion?▼

End-to-end verification is required for standard-mode changes involving behavior, contracts, or migrations, and for high-risk changes. Light and operation modes require only static analysis plus a single execution of the affected path.