quality-gate

Designs and executes project-specific quality gates and verification levels from detected stack and change risk.

1|Updated Sep 11, 2026
One-click install
npx skills add https://github.com/rebuildup/my-web-2026 --skill quality-gate-rebuildup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-gate
Source: https://github.com/rebuildup/my-web-2026/tree/main/skills/quality-gate
Command: npx skills add https://github.com/rebuildup/my-web-2026 --skill quality-gate-rebuildup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often apply a fixed, generic test checklist to every change, wasting CI resources on irrelevant checks while missing real verification gaps. This Skill compiles a quality gate tailored to the project's actual stack, framework guidance, and change risk, then keeps it versioned as repository configuration. ## Core Features & Use Cases - Stack-aware quality profile compilation: Detects languages, frameworks, runtimes, and architecture boundaries, then consults current official documentation to define a canonical quality profile stored in the repository (e.g., quality/profile.yaml). - Risk-based verification taxonomy: Maps change types (pure logic, DB migration, UI flow, release) to required test levels such as unit, smoke, integration, contract, and E2E instead of demanding everything every time. - CI resource efficiency: Aligns local and CI gates, prevents duplicate push/pull_request triggers, gates expensive platform matrices, sets concurrency cancellation and timeouts, and treats GitHub Actions usage as a measurable quality invariant. - Use Case: After upgrading a framework or adding a new platform target, run this Skill to recompile the quality profile, repair test infrastructure, and update GitHub Actions workflows so required checks match the new stack. ## Quick Start Use the quality-gate skill to analyze this repository's stack and design a canonical quality profile with fast, integration, and release validation entry points.

Frequently Asked Questions about quality-gate

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

FAQPage Schema
How do I design a quality gate for my project?

Detect the project's languages, frameworks, runtimes, and architecture boundaries, then consult current official testing guidance for those versions. Compile the result into a versioned quality profile that maps change types to required verification levels and defines deterministic validation entry points.

What test levels should a pull request require?

Required levels depend on change risk: pure logic needs unit tests, API or database changes need integration and smoke tests, and user journeys need E2E coverage. The Skill compiles a change-type to verification mapping rather than demanding every test level for every ticket.

How can I reduce GitHub Actions CI costs without dropping checks?

Avoid duplicate push and pull_request triggers on the same commit, gate expensive platform matrices behind path or label conditions, set concurrency cancellation and timeouts, and measure actual billed runner usage before optimizing. Move costly verification to release or change-sensitive gates instead of deleting it.

When should a quality profile be recompiled?

Recompile after framework or runtime upgrades, official testing guidance changes, architecture boundary changes, new platform targets, CI workflow modifications, or when flaky gates or escaped regressions reveal coverage holes. The profile is treated as versioned project configuration.

What counts as a false green in CI validation?

False greens include skipped tests, blanket lint suppressions, ignored exit codes, mock-only tests reported as real integration, and reusing old SHA results after a stacked predecessor changed. The Skill explicitly prohibits these and requires validation evidence tied to the current head SHA.