ci-cd
Skill59 starsChanged 2 months agoMITView on GitHub
Design the shape of a delivery pipeline — what each stage actually proves, what gates what, where verification belongs, and how a run reports the truth instead of a green tick. Use when a pipeline is being designed or restructured, when a release got through a passing pipeline broken, when deciding what blocks a merge or a deploy, or when a stage claims more than it ran. Not for provider-specific workflow YAML (github-actions), image authoring (docker), writing the tests themselves (test-design), or handling an outage in progress.
25 other projects use a version of this.
Adopted by
Most recently taken up by
- AsiaOstrich/universal-dev-standardstheir own version, first seen Sep 30, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- KalarisLabs/Skill-Doctortheir own version, first seen Sep 13, 2026
- nafeeur/MaskShifttheir own version, first seen Sep 12, 2026
- celestialdust/achilles-skillstheir own version, first seen Sep 10, 2026
- byshahriar/skill-forgetheir own version, first seen Aug 29, 2026
Used with
Projects with it also use shell-scripting, error-handling and 4 more.
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.
mylee04Skillshell-scripting
Shell scripting best practices for cross-platform CLI tools
Also in 3 projects that use this
MicrosoftSkillerror-handling
统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。
Also in 5 projects that use this
diego-tobalinaSkilllogging
Logging best practices for Java (SLF4J/Logback) and Node.js (Winston/Pino). Use for structured logging, log levels, and avoiding sensitive data exposure.
Also in 3 projects that use this
pproencaSkillrefactoring
Code refactoring best practices based on Martin Fowler's catalog and Clean Code principles. This skill should be used when refactoring existing code, improving code structure, reducing complexity, eliminating code smells, or reviewing code for maintainability. Triggers on tasks involving extract method, rename, decompose conditional, reduce coupling, or improve readability.
Also in 4 projects that use this
xiaobei930Skilldatabase
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
Also in 3 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 9 projects that use this
Other versions25 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 25
- codewithmukesh/dotnet-claude-kit★ 750same name
- irahardianto/awesome-agv★ 157same name
- AsiaOstrich/universal-dev-standards★ 76same name
- mgifford/accessibility-skills★ 50same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- KalarisLabs/Skill-Doctor★ 13same name
- iuliandita/skills★ 7same name
- kevinaimonster/skill-hub★ 4same name
- int2t05/engineering-skills★ 3same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
15 more not listed
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 repository79 other files it gives its agents.
- agent-dispatcherSkill
- agent-designSkill
- agent-evalsSkill
- context-engineeringSkill
- llm-observabilitySkill
- mcp-designSkill
- memory-designSkill
- model-routingSkill
- prompt-engineeringSkill
- prompt-injection-defenseSkill
- retrieval-ragSkill
- structured-outputSkill
- tool-designSkill
- api-contract-verificationSkill
- api-designSkill
- authenticationSkill
- authorizationSkill
- background-jobsSkill
- cachingSkill
- idempotency-and-retriesSkill
- webhooksSkill
- database-migration-verificationSkill
- data-integritySkill
- data-pipelinesSkill
- data-qualitySkill
- migrationsSkill
- postgresSkill
- query-optimizationSkill
- schema-designSkill
- accessibilitySkill
- accessibility-verificationSkill
- design-systemsSkill
- design-to-codeSkill
- frontend-designSkill
- motion-designSkill
- responsive-designSkill
- ui-auditSkill
- ux-writingSkill
- deploymentSkill
- dockerSkill
- github-actionsSkill
- incident-responseSkill
- observabilitySkill
- release-verificationSkill
- rollbackSkill
- component-architectureSkill
- frontend-performanceSkill
- shadcn-uiSkill
- stack-detectionSkill
- tailwindSkill
- visual-verificationSkill
- competitive-analysisSkill
- copywritingSkill
- data-analysisSkill
- deep-researchSkill
- documentation-verificationSkill
- positioningSkill
- seoSkill
- source-evaluationSkill
- technical-writingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
2
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 11
Keep the words apart, because the pipeline will not:
- Distinctive: line 96
A broken release passed a green pipeline: Do not add a stage yet. Find which stage should have caught it and what it actually ran.
“Common” is measured: kept by at least 6 in 10 of the 16 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
Pipeline design
A pipeline is a chain of claims about a commit. Each stage is entitled to exactly one claim, and almost every bad release is a stage that made a bigger one than it earned.
Keep the words apart, because the pipeline will not:
- built — it compiled and packaged. Nothing ran.
- executed — the code ran. Nobody asserted anything about what it did.
- tested — assertions ran against it and passed. Only the assertions that exist.
- reviewed — a human or an agent read it. No execution is implied.
- deployed — the artifact reached an environment. It may be crash-looping.
- verified — the deployed thing was observed doing the intended work, in that environment.
A pipeline that reports "deployed" as "verified" is the single most expensive defect in this document.
When this fires
A pipeline is being designed, restructured, or reviewed; something broken reached an environment through a passing pipeline; the gate policy is in question; or a stage's reported meaning does not match what it ran. It does not fire for one workflow file's syntax, nor during an active incident, where restoring service outranks fixing the pipeline that let it through.
Procedure
- Map the pipeline that exists before proposing one. Triggers, stages in order, what each stage runs, which are required checks, who can bypass them, where the deployed artifact comes from, and what happens on failure. Draw it from the configuration and from recent runs, not from what the README says it does.
- Write the claim each stage is entitled to make, in the vocabulary above, in one line each. A stage that cannot state its claim is either redundant or is silently trusted for something it does not check. This step alone finds most of the holes.
- Order stages by how cheaply they rule things out. Fast, broad checks first — format, lint, types, unit tests — then integration, then the artifact build, then tests against a deployed environment. The pipeline should spend its first two minutes eliminating the most common failures, not compiling for twelve.
- Build the artifact once and promote that exact artifact. Rebuilding per environment means the thing you tested is not the thing you shipped. Give it an immutable identity — a digest or an immutable tag, plus the commit SHA — and carry that identity through every subsequent stage and into the deployment record.
- Separate gates from signals, and mean it. A gate blocks; a signal informs. Anything advisory must be genuinely non-blocking, and anything blocking must be worth blocking for. A gate that is routinely overridden has already stopped being a gate — either enforce it or demote it, but do not leave it as theatre.
- Put verification after the thing it verifies, against the running system. Post-deploy checks hit the deployed environment, assert the revision identity they expect, and exercise at least one real path through the application. A 200 from a health endpoint proves a process is listening — it is not evidence that the new code is the code answering.
- Design rollback with the deploy, not after it. Name the rollback action, how long it takes, and who runs it. It is only credible if it has been executed, so record when it was last exercised. A schema or data migration that cannot be reversed makes rollback a lie: sequence it expand-then-contract so the previous version keeps working against the new schema.
- Keep environments and their credentials separate. Each environment holds its own secrets, and a stage gets only the credentials for the environment it acts on. A pipeline where every stage can reach production is a pipeline where every stage is a production risk, including the one that runs contributed test code.
- Require explicit authorization for consequential steps. Production deploys, publishing packages, destroying infrastructure, and data migrations belong behind a human approval. An agent prepares these and stops: proposing automatic deploy on merge changes who can ship, so say that consequence out loud and get confirmation before making it so.
- Make skipped and cached work legible. Conditional stages that skip must not aggregate into a green summary as though they ran, and a stage restored from cache must say so. Check the failure path deliberately: introduce a failure on a branch and confirm the pipeline goes red at the right stage, with a message naming what failed.
- Handle flakes as defects with owners. Retry-until-green converts an unreliable test into an unreliable pipeline and hides real intermittent bugs. Quarantine the test out of the gate, with a name, an owner, and a date, and report retries in the run rather than absorbing them.
- Measure the things that decide whether it is trusted: time to feedback on a change, how often the main branch is red, and how often the gate is bypassed. A slow or noisy pipeline is routed around, and a routed-around pipeline verifies nothing regardless of how well it is designed.
- Change the pipeline the way you change production code. On a branch, with a full run observed end to end, including at least one deliberate failure. Then merge.
Checklist
- Existing pipeline mapped from configuration and real runs
- Every stage has a one-line claim in the built/executed/tested/reviewed/deployed/verified vocabulary
- One artifact build, with an immutable identity carried to deployment
- Gates and signals distinguished; every gate is one someone would actually stop for
- Post-deploy verification asserts the deployed revision and one real path
- Rollback named, time-bounded, and last-exercised date recorded
- Credentials scoped per environment
- Consequential steps require explicit approval; nothing irreversible runs unattended
- Skipped and cached stages are visible in the summary
- Failure path exercised — the pipeline observed going red for the right reason
Failure handling
- A broken release passed a green pipeline. Do not add a stage yet. Find which stage should have caught it and what it actually ran; usually the check exists but asserts something weaker than assumed, or ran against a different artifact. Fix the claim before adding coverage.
- The pipeline is red and nobody knows why. Distinguish infrastructure failure, flake, and a real regression before any retry. Re-running first destroys the evidence and teaches the team that red means "try again".
- A stage cannot run here — no environment, no credentials, no runner. That stage is unrun. Report which claim in the chain is now missing, and do not let the stages that did run stand in for it.
- Deploy succeeded but the service is unhealthy. Deployed is not verified. Roll back or stop the rollout first, then diagnose; do not push a fix forward through a pipeline whose verification you have just seen fail to catch this.
- Asked to disable or bypass a gate to get something out. That is a decision with an owner, not a pipeline edit. Say what the gate was protecting against and what is lost by skipping it, and let the human decide and record it.
Evidence to report
The stage list with each stage's claim, and which stages actually ran in the run you are reporting on. The artifact identity — digest and commit — as it appeared at build and as observed in the target environment. The post-deploy check that ran and what it asserted. The result of the deliberate failure test. Timings per stage. And an explicit list of claims not made: which environments, paths, and failure modes this pipeline does not cover.
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.

