ci-cd-pipeline
Skill1 starsChanged 46 days agoMITView on GitHub
Language-agnostic framework for designing, reviewing, optimizing, and securing CI/CD pipelines (GitHub Actions, GitLab CI, CircleCI). Triggers whenever an agent is asked to "set up CI", "write a GitHub Actions workflow", "why is my pipeline slow?", "how should I deploy this?", "add a required check", or "configure build caching". Enforces fast-fail topologies, lockfile-based caching, job parallelization, immutable artifact promotion, and progressive deployment safety.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- nisarth/claude-skills-storetheir own version, first seen Nov 8, 2026
- Wade-DevCode/awesome-coding-skills-cntheir own version, first seen Nov 8, 2026
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Nov 4, 2026
- fideguch/my_pm_toolstheir own version, first seen Nov 1, 2026
- Sagargupta16/agent-recipestheir own version, first seen Nov 1, 2026
- nanvix/nanvixtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use performance-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillperformance-review
Structure a performance review with self-assessment, manager template, and calibration prep. Use when review season kicks off and you need a self-assessment template, writing a manager review for a direct report, prepping rating distributions and promotion cases for calibration, or turning vague feedback into specific behavioral examples.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- nanvix/nanvix★ 318same name
- rloisell/rl-agents-n-skills★ 8same name
- Wade-DevCode/awesome-coding-skills-cn★ 7same name
- Sagargupta16/agent-recipes★ 4same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- cryptofish7/claude-skills★ 1same name
- fideguch/my_pm_tools★ 1same name
- impeto-ai/claude-skills-impeto★ 1same name
- nisarth/claude-skills-store★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- accessibility-auditSkill
- agent-skills-authoringSkill
- api-designSkill
- code-reviewSkill
- design-system-adapterSkill
- docker-and-containersSkill
- docs-and-adrSkill
- git-commit-workflowSkill
- package-security-vettingSkill
- replicate-apiSkill
- secrets-and-config-managementSkill
- testing-strategySkill
- ui-cloneSkill
- ui-slop-remediationSkill
- universal-coding-standardsSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Never confuse local pre-commit hooks with remote CI pipelines:
- Distinctive: line 55
Never run lint, type-check, and unit tests in a single serial script if the CI runner supports concurrent jobs.
- Distinctive: line 85
Every deployment plan must document the exact rollback procedure before execution (e.g.
- Distinctive: line 106
Treat an intermittently failing CI job as a high-severity operational bug.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI/CD Pipeline Architecture & Standards
A language-agnostic operational standard for designing, reviewing, and optimizing automated continuous integration and continuous deployment pipelines.
Sibling Standards:
- For local pre-commit checks before pushing to CI, see
git-commit-workflow.- For injecting credentials securely into pipeline runners, see
secrets-and-config-management.- For diagnosing flaky tests that break pipeline runs, see
testing-strategy.
1. Pre-Commit vs. CI Division of Labor
Never confuse local pre-commit hooks with remote CI pipelines:
| Check Layer | Execution Context | Execution Budget | Appropriate Checks |
| Pre-Commit (Local) | Developer machine via Git hook | < 5 seconds | Code formatting, fast linters on staged files only, basic syntax checks. |
| CI Pipeline (Remote) | Ephemeral cloud runner / container | 3–10 minutes | Full repository test suite, multi-version matrices, type checking, security audits, container builds. |
- 🚫 Never rely solely on pre-commit hooks for correctness or security: Developers can bypass local hooks with
git commit --no-verify. CI is the authoritative gatekeeper.
2. Pipeline Structure & Topology
- 2.1 Fail-Fast Topology:
- Structure pipelines in phased dependency tiers:
Tier 1 (Fast-Fail, Parallel): Linting + Static Analysis + Typechecking (< 60s) │ Tier 2 (Core Validation): Unit & Fast Integration Tests (1–3 min) │ Tier 3 (Heavy/End-to-End): Full Build + E2E Tests + Security Scans │ Tier 4 (Deployment): Environment Promotion (Staging -> Production) - Abort downstream jobs immediately if a fast-fail check fails.
- Structure pipelines in phased dependency tiers:
- 2.2 Parallelize Independent Jobs:
- Never run lint, type-check, and unit tests in a single serial script if the CI runner supports concurrent jobs.
- 2.3 Pipelines as Code:
- Store pipeline definitions in version control alongside application source code (
.github/workflows/,.gitlab-ci.yml), never configured purely via web UIs.
- Store pipeline definitions in version control alongside application source code (
3. Caching & Performance
- 3.1 Key Caches on Lockfile Hashes:
- Cache package manager stores (
~/.npm,~/.cache/pip,~/.cargo/registry,go-build) keyed strictly on the cryptographic hash of the lockfile:- GitHub Actions:
v1-deps-${{ hashFiles('**/pnpm-lock.yaml') }} - GitLab CI:
cache:key:files: - package-lock.json
- GitHub Actions:
- Cache package manager stores (
- 3.2 Pass Artifacts Between Stages (Build Once):
- Compile application binaries or web bundles once in a
buildjob, upload them as CI artifacts, and download them in downstreamtestanddeployjobs. - 🚫 Never rebuild from scratch in the deploy job.
- Compile application binaries or web bundles once in a
- 3.3 Never Cache Dynamic State or Secrets:
- 🚫 Never cache test results themselves (masks failures).
- 🚫 Never cache directories containing secret keys or environment variables.
4. Deployment Safety & Progressive Rollouts
- 4.1 Mandatory Passing CI Gates:
- Require all critical CI checks to pass before merging PRs or initiating deployments. Disallow administrative bypasses for normal feature releases.
- 4.2 Progressive Deployment Strategies:
- Production-critical services must employ progressive delivery rather than abrupt all-at-once restarts:
- Canary: Route 5% $\rightarrow$ 25% $\rightarrow$ 100% of user traffic while monitoring error rates.
- Blue-Green: Stand up an identical green environment; switch router traffic atomically once health checks pass.
- Production-critical services must employ progressive delivery rather than abrupt all-at-once restarts:
- 4.3 Pre-Defined Rollback Mechanism:
- Every deployment plan must document the exact rollback procedure before execution (e.g. automated health check failure rollback or instant traffic reroute).
- 4.4 Decouple Deployment from Release:
- Deploy code silently to production behind feature flags, allowing product enablement without emergency code deployments.
5. Environment Promotion
- 5.1 Single Immutable Artifact Promotion:
- The exact same container image or compiled bundle tested in Staging must be promoted to Production.
- Recompiling for each environment introduces configuration drift and untested build variations.
- 5.2 Environment Parity:
- Staging topologies (database engine, Redis version, reverse proxy) must mirror production as closely as possible to prevent "works in staging, fails in prod" incidents.
6. Pipeline Observability & Job Health
- 6.1 Actionable Failure Alerts:
- Route build failure notifications to team communication channels (Slack, Discord, Teams) with direct links to the failing job log.
- 6.2 Zero Tolerance for Flaky CI Jobs:
- Treat an intermittently failing CI job as a high-severity operational bug. Investigate race conditions, runner timeouts, and network dependencies rather than repeatedly retrying builds.
Detailed References
references/platform-notes.md: Complete configuration syntax and patterns for GitHub Actions, GitLab CI, and CircleCI covering caching directives, job dependencies (needs), artifact passing, and environment-scoped secrets.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

