quality-gate
Strict pre-merge quality check suite for production reliability.
Install
mkdir -p .claude/skills/quality-gate && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10222" && unzip -o skill.zip -d .claude/skills/quality-gate && rm skill.zipInstalls to .claude/skills/quality-gate
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Mandatory pre-merge quality checks for production code — security scan, packaging test, API consistency, no silent failures. Prevents the issues that caused 4 emergency releases in v0.21.x.Key capabilities
- →Run security scans
- →Validate API consistency
- →Verify build integrity
- →Check architecture boundaries
- →Enforce coding standards
How it works
It executes a series of automated checks at different levels to verify code stability before merging.
Inputs & outputs
When to use quality-gate
- →Run pre-merge quality gate
- →Validate API consistency
- →Verify build integrity
- →Prevent regression in production releases
About this skill
Quality Gate
Use the repository's canonical gates from the workspace root. Do not recreate them with ad hoc greps, repeated test suites, or persistent cd commands.
When to Use
- Before committing a production change
- Before a PR is accepted or merged
- At implementation closeout
- Before a release
Verification Ladder
1. While editing: narrow evidence
Run only the smallest existing check that exercises the changed main process. Examples:
./scripts/python_runtime.sh -m pytest Python/tests/path/to/test_file.py -q
./scripts/python_runtime.sh -m pytest fastapi_app/tests/path/to/test_file.py -q
npm --prefix react_app run lint
./scripts/python_runtime.sh scripts/check_architecture_boundaries.py
Choose commands from the affected component's skill or existing project automation. Do not add tests during a review-only task.
2. Before commit: quick gate once
./run.sh check --quick
If it fails, diagnose the first relevant failure, fix its root cause, rerun that narrow check, then rerun the quick gate once.
3. PR acceptance: required CI
The GitHub check named PR Gate is the authoritative merge gate. Inspect the check for the current commit. Do not rerun an equivalent local suite merely because CI already passed it. A failing or stale check blocks acceptance; bypass flags and admin merges are forbidden.
4. Implementation closeout: full gate once
./run.sh check
Run the full gate once after the scoped implementation is stable. After a failure, rerun only the failed check while repairing it; repeat the full gate only when the fix can affect other categories or to establish the final green result.
5. Release only
For an actual release candidate, use the release skill and its canonical preflight:
./run.sh release preflight <version>
Do not run packaging, Docker, UAT, or release checks for an ordinary review or commit.
Essential-Only Review Rule
For each possible finding ask: Would fixing it change the outcome of the main process in scope? Report and block only when the answer is yes and the defect is confirmed by evidence. Ignore comments, adjacent improvements, coverage gaps, generic hardening, and security or concurrency observations that do not change that outcome. Do not add tests during review.
Report Format
## Quality Gate Report
| Check | Status | Details |
|-------|--------|---------|
| [check name] | ✅/❌/⚠️ | [details] |
**Gate:** PASS / FAIL
**Current commit:** [hash]
**Blockers:** [only confirmed main-process failures]
**Not rerun:** [checks already covered by green CI, if any]
Who Uses This
- @reviewer — evaluates main-process findings and PR Gate evidence
- @ops — runs the safe Git/CI workflow and release preflight
- @tester — runs narrow behavior checks and the canonical closeout gate
- @governance — keeps the gate definitions truthful and non-duplicative
When not to use it
- →When code is not for production
- →When skipping pre-merge checks
Limitations
- →Mandatory pre-merge
How it compares
It provides mandatory, tiered quality checks specifically intended to prevent historical failure patterns.
Compared to similar skills
quality-gate side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| quality-gate (this skill) | 0 | 4mo | Review | Intermediate |
| e2e-testing-patterns | 8 | 2mo | No flags | Intermediate |
| testing-workflow | 16 | 9mo | Review | Intermediate |
| perf-lighthouse | 13 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by Pravin-surawase
View all by Pravin-surawase →You might also like
e2e-testing-patterns
wshobson
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.
testing-workflow
amo-tech-ai
Comprehensive testing workflow for E2E, integration, and unit tests. Use when testing applications layer-by-layer, validating user journeys, or running test suites.
perf-lighthouse
tech-leads-club
Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance budget.
xcodebuildmcp
cameroncooke
Official skill for XcodeBuildMCP. Use when doing iOS/macOS/watchOS/tvOS/visionOS work (build, test, run, debug, log, UI automation).
verify
Use when you want to validate changes before committing, or when you need to check all React contribution requirements.
playwright-pro
alirezarezvani
Production-grade Playwright testing toolkit. Use when the user mentions Playwright tests, end-to-end testing, browser automation, fixing flaky tests, test migration, CI/CD testing, or test suites. Generate tests, fix flaky failures, migrate from Cypress/Selenium, sync with TestRail, run on BrowserStack. 55 templates, 3 agents, smart reporting.