deployment
Skill59 starsChanged 2 months agoMITView on GitHub
Prepare and run a release you can explain and undo — exact artifact identity, environment parity, config and secrets, a rollout strategy matched to blast radius, and a preflight that names the abort condition in advance. Use when planning or performing a deploy, building a release path, or when someone says "ship it" and the steps are not written down anywhere. Not for proving the deployed thing is healthy (release-verification) or for getting back out (rollback), and it never treats a green build or an approved plan as permission to deploy.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- NVIDIA/Model-Optimizertheir own version, first seen Oct 2, 2026
- bmcszk/agent-skillstheir own version, first seen Sep 23, 2026
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- MartinOlivero/saas-buildertheir own version, first seen Jun 18, 2026
- binnicordova/expo-boilerplatetheir own version, first seen Jun 6, 2026
- StarRocks/starrocks-debug-skillstheir own version, first seen May 26, 2026
Used with
Projects with it also use debugging and testing.
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.
BlockSkilldebugging
Debugging guidelines and best practices
Also in 5 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 3 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- NVIDIA/Model-Optimizer★ 5.2ksame name
- StarRocks/starrocks-debug-skills★ 77same name
- digitalocean-labs/do-app-platform-skills★ 36same name
- vshrinath/virtual-product-factory★ 16same name
- DojoCodingLabs/code-sensei★ 14same name
- binnicordova/expo-boilerplate★ 11same name
- kpbray/power-bi-agent-skills★ 9same name
- YepAPI/skills★ 8same name
- martingarramon/claude-code-starter-kit★ 4same name
- MartinOlivero/saas-builder★ 4same name
8 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
- ci-cdSkill
- 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
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 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 25
Read the delivery path that already exists: before designing one. CI config, deploy scripts, the platform's own project settings, and …
- Distinctive: line 34
Reconcile configuration and secrets against the target: Every config key the new revision reads must already exist in that environment, …
- Distinctive: line 73
Never run a deploy step whose failure mode you have not thought about.
“Common” is measured: kept by at least 6 in 10 of the 15 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
Deployment
A release has two halves that get conflated constantly: preparing it, which you can do freely, and executing it, which is an outward-facing action against a system other people depend on. This skill covers both and keeps the line between them visible.
When this fires
A change is heading for an environment other people use, or the path that takes it there is being built or changed. It does not fire for running something locally, and it does not fire while an incident is in progress — restoring service outranks release process.
Procedure
- Name the artifact exactly. A commit SHA, an image digest, a build number — something that resolves to one immutable thing. "main", "latest" and "the current branch" are not artifact identities; they are queries whose answer changes while you work. Everything downstream, from the rollback target to the verification, depends on this being pinned.
- Read the delivery path that already exists before designing one. CI config, deploy scripts, the platform's own project settings, and however the last release actually went out. Most "we need a deploy pipeline" tasks are really "the existing one has one gap."
- Write down how the target environment differs from where you tested. Data volume and shape, scale and replica count, feature-flag values, external dependencies and their credentials, network egress, region. Parity is never total — the value is in naming the deltas, because every deploy surprise lives in one of them.
- Reconcile configuration and secrets against the target. Every config key the new revision reads must already exist in that environment, with a value that is valid there. A missing variable typically fails at boot, which is after traffic has been pointed at it. Secrets stay references — never inline in a manifest, a log line, a commit, or your report. If a secret needs to be created or rotated, that is the user's action, not yours; say which one is missing.
- Order the steps that cannot be reordered. Schema before code, and backward-compatible in
both directions so old and new run side by side during the rollout; feature flag off before the
code that reads it ships; a consumer that understands a new message shape before the producer
emits it. Expand, migrate, contract — in separate releases. See
migrationsfor the schema half. - Pick the rollout strategy the blast radius justifies, and know what each one costs:
- Replace in place — simplest, has a real gap of downtime, fine for internal or low-traffic.
- Rolling — no downtime, but old and new serve simultaneously, so both must tolerate the same schema, the same cache entries and the same in-flight jobs.
- Blue-green — a whole second environment, instant cutover, instant switch back; costs double capacity and needs shared state to work for both sides.
- Canary — a fraction of traffic first, judged on real signals; only meaningful if you have per-revision telemetry to judge it with, and a stated threshold decided before you look.
- Write the preflight and the abort condition together. Preflight: build and tests green on this artifact, migrations applied and verified, config present, dependencies reachable, the rollback target named and still deployable. Abort condition: the specific signal and threshold that stops the rollout mid-flight. Decide it now — the moment to define "bad enough to stop" is never while watching it happen.
- Rehearse in a non-production environment whose differences from production you listed in step 3. A staging deploy proves the mechanism, not the outcome; it does not transfer to production, and saying so is part of the report.
- Stop at the line. Preparing is complete; executing is a separate, authorized act. Present: the artifact id, the target environment, the strategy, the steps that cannot be undone, the rollback path and its rehearsed duration, and anything you could not check. Then ask, in the same message, for explicit approval to run it. Production deploys, package publication, DNS changes and infrastructure destruction each need their own yes — an earlier "ship it" does not cover a step the user has not seen. If approval does not come, the deliverable is a prepared release, and it is reported with that word.
- Execute with the record open. One timestamped line per command with its actual output. Never run a deploy step whose failure mode you have not thought about. If a step fails midway, stop and reconcile what actually happened before re-running anything that could create a duplicate release, a second resource, or a half-migrated state.
- Hand off to verification. The deploy command exiting zero is the end of this skill, not the
end of the release. Go to
release-verificationbefore the word "deployed" becomes "working".
Checklist
- Artifact pinned to an immutable id, used everywhere downstream
- Existing delivery path read before anything new was written
- Environment deltas from the test environment written down
- Every config key present in the target; secrets by reference only
- Irreversible ordering handled — schema, flags, producers and consumers
- Strategy chosen against blast radius, with its cost stated
- Preflight checks and an abort threshold written before starting
- Rollback target named, and rehearsed or explicitly marked unrehearsed
- Execution approval asked for separately, per consequential action
- Timestamped record of what ran and what it returned
Failure handling
- A preflight check fails — that is the result. Report it and stop. A preflight you waive is not a preflight.
- The rollout fails partway — do not retry blindly. Establish which instances are on which revision first; a retry over an unknown state is how you get three revisions serving at once.
- The deploy tool reports success but you cannot confirm it — report exactly that. "The command
succeeded" and "the new revision is serving" are different claims, and the second belongs to
release-verification. - You lack access to the target environment — say so and deliver the prepared release. Do not route around missing access with credentials found in the repository.
- Approval is ambiguous — treat it as absent. Ask once, plainly, naming the exact action.
Evidence to report
The artifact id and the environment, named together. The strategy and why that one. The preflight results, each as its own line. What ran, when, and what it returned. Which steps are irreversible and what the rollback path is. Then the honest verb: prepared, executed, or executed and handed to verification — never "deployed" as a stand-in for "working".
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.

