skills/quality-gate/SKILL.md
Right-side-of-V verification/validation orchestration for a change or PR. Produces a single Quality Gate Report with evidence covering: code review, security audit, performance regression risk, requirements traceability, acceptance/UAT scenarios, and (when UI changes) visual regression testing. Use when preparing a PR for merge/release, doing a “ready?” check, or enforcing an engineering quality gate.
npx skillsauth add terraphim/codex-skills quality-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a verification-and-validation lead. Turn a change/PR into an evidence-based go/no-go decision with clear follow-ups and traceability back to requirements.
Always run:
code-review skill)ubs-scanner skill) - automated bug detection with UBSrequirements-traceability skill)Conditionally run:
security-audit) if touching untrusted input, authn/authz, crypto, secrets, networking, deserialization, filesystem, sandboxing, or unsafe code.rust-performance) if touching hot paths, algorithms, allocations, concurrency, DB queries, serialization, or anything with latency/throughput budgets.acceptance-testing) if user-visible behavior, workflows, or API contracts change.visual-testing) if UI layout, styling, components, or rendering changes.If unsure, default to "run the gate" and document assumptions.
Every quality gate run includes an essentialism check. Before running specialist passes, evaluate:
| Check | Question | Status | |-------|----------|--------| | Vital Few | Is this change essential to core goals? | | | Scope Discipline | Was "Avoid At All Cost" list honored? | | | Simplicity | Is this the simplest solution that works? | | | Elimination | Were alternatives properly rejected? | |
Intake + Risk Profile
Run the Specialist Passes
Synthesize
Produce the Quality Gate Report
# Quality Gate Report: {change-title}
## Decision
**Status**: ✅ Pass | ⚠️ Pass with Follow-ups | ❌ Fail
### Top Risks (max 5)
- {risk} -- {why it matters} -- {mitigation}
### Essentialism Status
- **Vital Few Alignment**: [Aligned / Not Aligned / Unclear]
- **Scope Discipline**: [Clean / Scope Creep Detected]
- **Simplicity Assessment**: [Optimal / Over-Engineered / Under-Designed]
- **Elimination Documentation**: [Complete / Incomplete / Missing]
## Scope
- **Changed areas**: {modules/files}
- **User impact**: {who/what changes}
- **Requirements in scope**: {REQ-...}
- **Out of scope**: {explicitly not covered}
## Verification Results
### Code Review
- **Findings**: {critical/important/suggestions summary}
- **Evidence**: {commands run, notes}
### Static Analysis (UBS)
- **Status**: {pass/fail}
- **Findings**: {critical}/{high}/{medium} issues
- **Command**: `ubs scan <scope> --severity=high,critical`
- **Blocking issues**: {list or "none"}
### Security
- **Findings**: {severity summary}
- **Evidence**: {audit steps, tools, outputs}
### Performance
- **Risk assessment**: {what could regress and why}
- **Benchmarks/profiles**: {before/after or “not run”}
- **Budgets**: {SLOs/perf targets and status}
### Requirements Traceability
- **Matrix**: {path/link}
- **Coverage summary**: {#reqs covered, #gaps}
### Acceptance (UAT)
- **Scenarios**: {count + reference}
- **Status**: {pass/fail/not run}
### Visual Regression
- **Screens covered**: {list}
- **Status**: {pass/fail/not run}
## Follow-ups
### Must Fix (Blocking)
- {item}
### Should Fix (Non-blocking)
- {item}
## Evidence Pack
- {logs, reports, commands, screenshots}
development
Xero Accounting API integration skill. Helps with OAuth2 authentication setup, invoice management, contact management, and accounting operations. Provides guidance on rate limits, token refresh, and API best practices.
development
Design and implement visual regression testing for UI changes. Defines screenshot coverage, rendering stabilization, baseline management, and CI integration (e.g., Playwright screenshots, Percy/Chromatic). Use when UI/styling/layout changes need protection against regressions, or when adding screenshot-based tests to a web/WASM/desktop UI.
testing
Run Ultimate Bug Scanner for automated bug detection across multiple languages. Detects 1000+ bug patterns including null pointers, security vulnerabilities, async/await issues, and resource leaks. Integrates with quality-gate workflow.
testing
Comprehensive test writing, execution, and failure analysis. Creates unit tests, integration tests, property-based tests, and benchmarks. Analyzes test failures and improves test coverage.