Skip to content
Back to skills

Ci Cd Quality Gates

ASecurity

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. Triggers: "CI", "quality gate", "pipeline", "GitHub Actions", "pre-merge checks".

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aitestinggitapici/cdsecurity

Works with

  • api

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add charlieviettq/awesome-agent-skill --skill ci-cd-quality-gates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci Cd Quality Gates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ci Cd Quality Gates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/charlieviettq-ci-cd-quality-gates/badge)](https://www.skillsdirectory.com/skills/charlieviettq-ci-cd-quality-gates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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.
  Triggers: "CI", "quality gate", "pipeline", "GitHub Actions", "pre-merge checks".
---

# 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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…