deploy
Skill5 starsChanged 2 months agoMITView on GitHub
Plans and executes a deployment — release readiness, build/tag, migration order, the stack mutation through the declared deploy delegate (container platform / Kubernetes per stack-reference/kubernetes.md / cloud) or manual runbook steps, post-deploy smoke checks, documented rollback; every production mutation needs confirmation. Run after /release-checklist, or for 'deploy to staging', 'ship vX.Y.Z', 'roll back the release'.
100 other projects use a version of this.
Adopted by
Most recently taken up by
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
- mindattic/MindAttic.Legiontheir own version, first seen Oct 3, 2026
- microsoft/power-platform-skillstheir own version, first seen Oct 1, 2026
- microsoft/GitHub-Copilot-for-Azuretheir own version, first seen Oct 1, 2026
Used with
Projects with it also use azure-kusto-graph, azure-kusto-irql and 9 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.
MicrosoftSkillazure-kusto-graph
Build and query Kusto graphs from natural language. Covers transient graphs (make-graph), persistent graph models/snapshots, pattern matching (graph-match), shortest paths, connected components, and graph-to-table export. Generates the edges-first thinking: define edges, define node lookups, union, make-graph. WHEN: make-graph, graph-match, graph-shortest-paths, graph-to-table, graph-mark-components, persistent graph, graph model, graph snapshot, build a graph from data, find paths between nodes, pattern matching in graph, connected components, transient graph, Kusto graph, KQL graph.
Also in 3 projects that use this
MicrosoftSkillazure-kusto-irql
Compose IRQL (Incident Response Query Language) queries for Kusto cybersecurity investigations. Translates natural language hunting questions into composable IRQL pipelines using Get_*, Extract_*, and Enrich_* functions. WHEN: IRQL query, security hunt, threat hunting KQL, incident response query, compose hunting pipeline, failed logins, phishing investigation, lateral movement, process execution, file creation events.
Also in 3 projects that use this
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 3 projects that use this
- +8 more from microsoft
Other versions100 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 100
- microsoft/skills★ 3.1ksame name
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- microsoft/azure-skills★ 1.5ksame name
- peterkrueck/Claude-Code-Development-Kit★ 1.4ksame name
- microsoft/power-platform-skills★ 961same name
- awslabs/agent-plugins★ 910same name
- jazzyalex/agent-sessions★ 889same name
- patrickjaja/claude-desktop-extra★ 657same name
- ww-w-ai/bkit-claude-code★ 600same name
- notque/vexjoy-agent★ 424same name
90 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 repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- testing/CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- adoptSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- backlogSkill
- brainstormSkill
- changelogSkill
- code-reviewSkill
- collaboration-protocolSkill
- create-storiesSkill
- data-modelSkill
- dependency-auditSkill
- design-systemSkill
- dev-storySkill
- docsSkill
- feature-specSkill
- game-conceptSkill
- hardenSkill
- helpSkill
- hotfixSkill
- impactSkill
- incidentSkill
- initSkill
- migrateSkill
- pentestSkill
- perf-auditSkill
- product-specSkill
- qa-planSkill
- refactorSkill
- release-checklistSkill
- retrospectiveSkill
- security-auditSkill
- setup-stackSkill
- skill-improveSkill
- skill-testSkill
- sprint-planSkill
- sprint-statusSkill
- stack-updateSkill
- startSkill
- story-doneSkill
- team-featureSkill
- team-gameSkill
- team-releaseSkill
- team-securitySkill
- tech-debtSkill
- test-setupSkill
- threat-modelSkill
- updateSkill
- ux-specSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 85 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 49
Smoke checks yourself: run the runbook smoke checks (/healthz, key journey) — the delegate's verdict is necessary, not sufficient.
- Very specific: line 54
After the "write" answer: touch .claude/.write-consent, then update the release file (time, Result: DEPLOYED | Result: ROLLED BACK, who) …
“Common” is measured: kept by at least 6 in 10 of the 85 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
Deploy
Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.
File writes and any mutation (git, deploy) happen only after an explicit "May I write?" / "Proceed?" — each one AskUserQuestion (proceed (Recommended) · show the draft/diff first · not now) → "yes". After the "write" answer: touch .claude/.write-consent (rule 7 — the consent-guard hook checks the marker). A delegate never asks the user itself: the consent is collected here and passed on as --confirmed (.claude/docs/deploy-target-contract.md § 5).
Prerequisites & secrets per .claude/docs/deploy-target-contract.md: verify registry access, exact image names and the stack method before the first mutation; secrets never through the chat — offer the env/file channel yourself; a refused path stays refused.
Calling the delegate (.claude/docs/deploy-target-contract.md § 4), for any verb below (deploy <tag>, rollback [tag], logs):
agent <name>→Taskto that agent with the prompt<verb> <args> --confirmed;script <path>→Bash<path> <verb> <args> --confirmed;none/manual→ the runbook steps for the user /devops-engineer.--confirmedgoes only on a mutating verb (deploy,rollback), and only after the user's "Proceed?" → "yes" in this skill;logsis called without it.
Deploy target kubernetes: the rollout, verification and rollback commands are those of .claude/docs/stack-reference/kubernetes.md § Rollout and rollback — the delegate script scripts/deploy/kubernetes.sh runs them, and the runbook steps for a none delegate quote that section; this skill never restates them. The plan names the namespace of --env and the image digest the release workflow wrote.
Arguments:
vX.Y.Z— the version to deploy. No version given → the latest release tag on origin:git fetch --tags origin, thengit tag --list 'v*' --sort=-v:refname | head -1(cross-checked againstgit ls-remote --tags --refs origin 'refs/tags/v*'—--refsdrops the^{}peeled lines of annotated tags; a tag that exists only locally is not released). Show it and confirm in oneAskUserQuestion: deployvX.Y.Z(Recommended) · another version (say which) · stop. Nov*tag at all →BLOCKED (no release tag — run /release-checklist vX.Y.Z), nothing written. Never deploy an unconfirmed guess.rollback [tag]— roll back totag, default the previous release inproduction/releases/.--env <name>— the environment to deploy to. The names come from the project, never from a fixed list: the runbookdocs/ops/deploy.md→ Environments (the template listsdev | staging | prodas examples) and the target filedocs/deploy/<target>.md; a name neither lists →BLOCKED (--env <name> unknown — the runbook lists: <names>). Default: the one environmentdocs/deploy/<target>.mddescribes (one endpoint, one stack) — named in the plan as "environment:<name>(the target's only one)". When the target file or the runbook lists several environments and--envis missing →BLOCKED (--env required: <the names the runbook lists, e.g. staging|prod>), never a guess. The environment selects the runbook section, the smoke URLs and the target facts; it is named in the "Proceed?" question and passed to the delegate after the verb's arguments (deploy <tag> --env <name> --confirmed; a delegate whosedocs/deploy/<target>.mddocuments one environment only is called without it).--plan-only— stop after the plan.
Phase 1: Readiness
- Release file and its verdict:
production/releases/vX.Y.Z.md(written by/release-checklistonREADYandNOT READYalike, so its presence proves nothing by itself). Missing → stop:BLOCKED (no release file — run /release-checklist vX.Y.Z), nothing written. Read itsVerdict:line:READYorREADY (hotfix)→ continue;NOT READY (…)→ stop:BLOCKED (release NOT READY: <the reason from the file> — fix it, then re-run /release-checklist vX.Y.Z); noVerdict:line → stop:BLOCKED (release file without a Verdict line — re-run /release-checklist vX.Y.Z). Nothing is deployed on a guessed readiness. - Artefacts: the tag exists; CI is green on the tag (
gh run); the image is built and available — note its digest (the release workflow summary ordocker buildx imagetools inspect <image>:<tag>). - Signature, when signing is configured (technical-preferences → Supply chain →
signing:notnone, or acosign signstep in the release workflow): before any rollout runbash .claude/docs/templates/supply-chain/verify-image.sh <image>@sha256:<digest> <owner>/<repo>(or the runbook's equivalentcosign verifywith identity and issuer;stack-reference/supply-chain.md§ Artifact signing). The output is part of the plan's evidence; a failed verify →BLOCKED (image signature not verified for <digest> — <cosign output>), nothing deployed. Signing not configured → one line in the plan ("unsigned image —/harden supply-chain"), not a block. The delegate receives the digest it must roll out. - Runbook:
docs/ops/deploy.md. - Delegate: the deploy target and delegate from
technical-preferences.md(Infrastructure) anddocs/deploy/<target>.md— contract:.claude/docs/deploy-target-contract.md. A delegate declared but not found (no agent file, no script) →BLOCKED (delegate <name> not found — fix technical-preferences or run /setup-stack), never a guess. A companion slash command alone (/<kit> deploy) is not a delegate: the contract's delegate is an agent or a script (§ 4), and/deploydoes not listSkillin itsallowed-tools, so it cannot run another skill (coordination-rules § Subagents). Withrollback, steps 1–3 apply to the target tag, which is already released (the previous image is verified the same way).
Phase 2: Plan
- Steps (headed by the version and the environment:
vX.Y.Z → <env>): DB backup → migrations (migrate service/command) → stack redeploy → smoke (healthz, key journey, GraphQL{ __typename }/ REST ping) → 30 min monitoring. Withrollback: the delegate'srollback [tag]→ smoke → monitoring; it rolls back the image, not the data, so the plan states whether the migrations since that tag are reversible (the runbook's Rollback § Data). - Rollback plan: previous tag + migration reversibility.
- Prerequisites: name each item of the contract's Prerequisites & secrets.
--plan-only→ verdictPLAN, stop.- "Proceed?" — one
AskUserQuestion: proceed (Recommended) · show the plan again · not now. Every production mutation after an explicit "yes".
Phase 3: Execute
- Run the mutation through the delegate:
deploy <tag>(orrollback [tag]), as defined above. - Read the verdict line (
DEPLOYED <tag>|ROLLED BACK <tag>|FAILED (…)) and the evidence. - Smoke checks yourself: run the runbook smoke checks (
/healthz, key journey) — the delegate's verdict is necessary, not sufficient. Verify by containers and smoke requests, not by response codes. - Red deploy. A failed smoke check or an unhealthy container → one
AskUserQuestion:rollbackto the previous tag via the delegate (Recommended) · investigate first (logs) · keep. Never leave a red deploy without that question.
Phase 4: Record
- Render the changes, then "May I write
production/releases/vX.Y.Z.md?" (anddocs/ops/deploy.mdwhen the procedure changed) — oneAskUserQuestion: write (Recommended) · show the draft/diff first · not now. - After the "write" answer:
touch .claude/.write-consent, then update the release file (time,Result: DEPLOYED|Result: ROLLED BACK, who) and, when the procedure changed, the runbook.
Verdict: DEPLOYED | ROLLED BACK | PLAN | BLOCKED (…) (including BLOCKED (image signature not verified …)). Next step — one AskUserQuestion: monitor the release (/incident on problems) (Recommended) · /deploy rollback · /sprint-plan for the next cycle.
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.

