Skip to content
Development
Skill

/ci-cd-quality-gates

Design lightweight CI quality gates—lint, test tiers, security scans, and merge policies. Use when setting up or improving pipelines without tying to one stack only.

From plugin
awesome-agent-skill
26200 skills4 commands
Install
$ npx -y skills add charlieviettq/awesome-agent-skill --skill ci-cd-quality-gates --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ci-cd-quality-gates

Context preview

The summary Claude sees to decide when to auto-load this skill.

Design lightweight CI quality gates—lint, test tiers, security scans, and merge policies. Use when setting up or improving pipelines without tying to one stack only.

SKILL.md

ci-cd-quality-gates.SKILL.md
name: ci-cd-quality-gates
description: "Design lightweight CI quality gates—lint, test tiers, security scans, and merge policies. Use when setting up or improving pipelines without tying to one stack only."
allowed-tools: Read, Glob, Grep

CI/CD quality gates

Principles

  • Fast feedback on every PR; expensive jobs scheduled or nightly
  • Fail closed on security and contract breaks
  • Same commands locally and in CI

Tiered gates

| Tier | When | Examples | |------|------|----------| | PR required | Every push | Lint, unit tests, typecheck | | PR optional | Large repos | Integration, e2e subset | | Main/nightly | Post-merge | Full e2e, perf budget, dependency audit |

Gate design

1. **Lint/format** — consistent style, catch syntax issues 2. **Unit tests** — required; flaky tests fixed or quarantined 3. **Build** — artifact or package builds for deployable repos 4. **Security** — secret scan, dependency audit (fail on critical) 5. **Contract** — OpenAPI/schema diff when APIs change

Merge policy

  • Required checks green before merge
  • No force-push to protected default branch without policy
  • Document bypass process for emergencies

Anti-patterns

  • 30+ minute PR feedback loops
  • Different test command in CI vs README
  • Ignored flaky tests accumulating

Related

`verify-before-done`, `gstack/ship`, `test-failure-triage`, `api-security-testing`

Ships withawesome-agent-skill

Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).

Get the whole plugin

Other skills on awesome-agent-skill.