ci-cd-pipeline
Skill1 starsChanged 6 months agoMITView on GitHub
Design or review a CI/CD pipeline - stage ordering, quality gates, caching, secrets handling, and deploy strategy. Use when the user asks to set up CI, fix a slow or flaky pipeline, review GitHub Actions/GitLab CI config, add quality gates, or design a deployment workflow.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Sep 28, 2026
- Ygohel18/skillstheir own version, first seen Sep 27, 2026
- SID-SURANGE/cursor-team-opstheir own version, first seen Aug 13, 2026
- rloisell/rl-agents-n-skillstheir own version, first seen Jun 5, 2026
- impeto-ai/claude-skills-impetotheir own version, first seen May 18, 2026
- kienbui1995/magic-powerstheir own version, first seen Apr 10, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- rloisell/rl-agents-n-skills★ 8same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- cryptofish7/claude-skills★ 1same name
- impeto-ai/claude-skills-impeto★ 1same name
- Ygohel18/skills★ 1same name
- kienbui1995/magic-powers★ 0same name
- SID-SURANGE/cursor-team-ops★ 0same 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 repository50 other files it gives its agents.
- accessibility-reviewSkill
- adr-authorSkill
- api-designSkill
- architecture-reviewSkill
- caching-strategySkill
- changelogSkill
- codebase-explorationSkill
- code-reviewSkill
- code-style-guideSkill
- context-engineeringSkill
- conventional-commitsSkill
- cost-optimizationSkill
- database-migrationSkill
- data-privacy-reviewSkill
- debuggingSkill
- dependency-updateSkill
- deprecation-migrationSkill
- error-handlingSkill
- feature-flag-rolloutSkill
- filament-resource-designSkill
- flux-ui-patternsSkill
- git-workflowSkill
- i18n-reviewSkill
- idea-refineSkill
- incident-responseSkill
- incremental-implementationSkill
- inertia-patternsSkill
- laravel-ai-featuresSkill
- laravel-eloquent-performanceSkill
- laravel-queue-designSkill
- laravel-testingSkill
- livewire-component-designSkill
- llm-feature-designSkill
- observabilitySkill
- onboarding-docSkill
- performance-budgetSkill
- pr-descriptionSkill
- primevue-patternsSkill
- refactoringSkill
- release-checklistSkill
- resilience-patternsSkill
- runbook-authorSkill
- security-auditSkill
- spec-writingSkill
- task-breakdownSkill
- tech-debt-triageSkill
- test-writingSkill
- threat-modelingSkill
- using-elyra-skillsSkill
- vue-component-patternsSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
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 27
Reproduce locally: Every CI step must be runnable on a dev machine with one command.
- Distinctive: line 65
No auto-retry as a flakiness blanket — max one retry, with the flake tracked as a bug
- Distinctive: line 70
When reviewing or designing, report:
“Common” is measured: kept by at least 6 in 10 of the 6 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
A pipeline has two jobs: block bad changes and ship good ones fast. Every stage must serve one of those, or it's waste.
When to use
- "Set up CI for this project" / "add a GitHub Actions workflow"
- "The pipeline is slow / flaky / red all the time"
- Reviewing
.github/workflows/,.gitlab-ci.yml,Jenkinsfile, etc. - Designing deploys: environments, approvals, rollback
Principles
- Fail fast, fail cheap. Cheapest checks first: lint → types → unit → integration → e2e. A typo shouldn't wait 20 minutes to be reported.
- Reproduce locally. Every CI step must be runnable on a dev machine with one command. "Only fails in CI" is a design smell.
- Flaky = broken. A test that fails 5% of the time gets quarantined and fixed, not retried forever.
- The pipeline is code. Reviewed, versioned, no snowflake config in web UIs.
Process
1. Inventory
- Detect stack and existing config:
ls .github/workflows/ .gitlab-ci.yml Jenkinsfile 2>/dev/null - What commands does the project already run locally? (
composer.json/package.jsonscripts,Makefile) — CI should call those, not duplicate them
2. Design the stages
PR: lint/format → type-check → unit tests → build → integration/e2e
Merge: all of the above → deploy staging → smoke test
Release: deploy production (gated) → smoke test → monitor window- Stages with no dependency on each other run in parallel
- Target: PR feedback < 10 minutes. Past that, people batch changes and quality drops
3. Make it fast
- Cache dependency installs keyed on lockfile hash; cache build artifacts between jobs
- Don't rebuild — build once, pass the artifact to later stages
- Split slow test suites with sharding/parallelism rather than skipping them
4. Make it safe
- Secrets via the CI provider's secret store — never in YAML, never echoed in logs
- Pin third-party actions/images to a SHA or exact version, not
@latest - Least-privilege tokens: a test job doesn't need deploy credentials
- Production deploys: explicit approval gate or protected environment, and a documented rollback (previous artifact redeploy, not "fix forward and pray")
5. Make it honest
- No
continue-on-erroron quality gates - No auto-retry as a flakiness blanket — max one retry, with the flake tracked as a bug
- Branch protection: green pipeline required to merge
Output format
When reviewing or designing, report:
## Pipeline: <project>
**Current state:** stages, duration, pain points (or "none — new setup")
### Proposed stages
| Stage | Runs on | Duration target | Gate? |
|-------|---------|-----------------|-------|
| … | PR | … | yes |
### Changes
1. … (why)
### Risks / follow-ups
- …Anti-patterns
- ❌ One mega-job running everything serially — no parallelism, no fail-fast
- ❌ CI commands that differ from local commands (drift guaranteed)
- ❌
retry: 3as the official fix for flaky tests - ❌ Deploying from a laptop "just this once"
- ❌
@latest/@mainon third-party actions — supply-chain roulette - ❌ Secrets interpolated into commands where they leak into logs
- ❌ A red main branch that everyone has learned to ignore
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.

