quality-gate_skill

This skill enforces build, lint, and test gates to prevent deployments, guiding teams through level-based quality checks.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill quality-gate

  • _meta.json276 B
  • SKILL.md3.6 KB

Overview

This skill enforces quality gates for code and operations to block unsafe commits and deployments. It runs layered checks (development, pre-commit, pre-deploy) including syntax, lint, tests, security scans, and production configuration validation. The skill auto-triggers before commits and deploys and generates structured reports with actionable guidance. It integrates with security-review, systematic-debug, and code-review skills for deeper analysis and remediation.

How this skill works

The skill performs three gate levels: Level 1 for continuous development feedback, Level 2 as a pre-commit blocker, and Level 3 as a pre-deploy blocker. It runs commands for syntax/type checks, linting, testing, builds, dependency audits, and OWASP-style scans, and verifies production configuration flags and required secrets. Results are returned as a structured report with pass/fail status, durations, failure details, a verdict (ALLOW/BLOCK), and recommended actions. Failures can auto-trigger linked skills for triage and fixes.

When to use it

  • During active development to catch syntax, type, and lint issues early
  • On commit attempts to prevent tests or basic security failures from entering VCS
  • Before deployment to block releases with failing full tests, detailed security findings, or unsafe production settings
  • As an automated gate in CI/CD pipelines to enforce organizational quality standards
  • When generating release reports or change approvals to show gate history and verdicts

Best practices

  • Run Level 1 checks locally or as pre-push hooks to reduce noisy CI failures
  • Fail fast: keep Level 2 and Level 3 strict so only high-quality artifacts reach the repository and production
  • Keep tests fast and deterministic; isolate slow integration tests and run them in separate stages
  • Treat CRITICAL/HIGH security findings as immediate blockers and track MEDIUM issues with remediation plans
  • Keep production flags and required env vars centrally documented and validated by the gate

Example use cases

  • Developer runs "quality check" before committing to catch lint and type errors
  • CI pipeline runs Level 2 on pull requests to block merges with failing tests or basic security issues
  • Pre-deploy pipeline runs Level 3 to verify full test suite, dependency audits, and production configuration before release
  • Automated scans detect hard-coded secrets or OWASP issues and open a remediation workflow with security-review
  • Generate a gate report to show auditors why a deployment was blocked and what to fix

FAQ

The commit is blocked and the report lists failing tests or checks with recommended fixes; link to systematic-debug can be provided for guided remediation.

Can I customize which checks run at each level?

Yes. Checks and required commands can be configured per project to match language, test framework, and security policy.

How are production configuration checks enforced?

The gate validates environment variables and flags (e.g., DEV_MODE false, DEBUG_ROUTES disabled) and rejects deploys that expose risky production settings.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
quality-gate skill by openclaw/skills | VeilStrat