ci-cd-pipeline
CI/CD pipeline architecture, matrix builds, automated security gates, deployment rollbacks, and pipeline caching.
SKILL.mdskills/ci-cd-pipeline/SKILL.md
GitHubCI/CD Pipeline Architecture Protocol
Build fast, deterministic, and secure deployment pipelines.
1. Fast Feedback & Pipeline Stages
Structure CI workflows into ordered stages:
- Lint & Formatting: Fast static syntax verification (< 1 min).
- Type Check & Unit Tests: Parallelized test execution with dependency caching.
- Security Audit: Dependency vulnerability scan and secret detection.
- Build & Package: Containerization or artifact bundling.
- E2E Smoke Tests: Verification on staging/preview deployment before production rollout.
2. Secrets & Branch Protection
- Require mandatory pull request reviews and passing CI checks before merging to main.
- Restrict production deployment credentials exclusively to protected branches or tagged releases.
- Store secrets in designated platform vaults, never in pipeline definitions.