deploy-status
Skill0 starsChanged 2 months agoMITView on GitHub
Show deployed git SHAs across configured production targets and compare them against origin/main. Use during deploy verification, incident response, and release drift checks. Triggers on: "what is deployed", "deploy status", "production drift", "is prod on main", "compare prod to main".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- justnau1020/claude-ostheir own version, first seen Mar 30, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- justnau1020/claude-os★ 3same 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 repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- changelogSkill
- dependabot-sweepSkill
- markdownSkill
- merge-prSkill
- pre-prSkill
- pr-tldrSkill
- tldrSkill
- agents-searchSkill
- audit-and-fixSkill
- aws-specialistSkill
- azure-specialistSkill
- code-simplifierSkill
- create-assessmentSkill
- create-auditSkill
- create-experimentSkill
- create-inspectionSkill
- crossplane-specialistSkill
- detect-flakySkill
- fix-with-evidenceSkill
- flyctlSkill
- gcp-specialistSkill
- gitSkill
- ground-firstSkill
- handoffSkill
- kubernetes-specialistSkill
- local-attestSkill
- plan-graderSkill
- post-pr-reviewSkill
- pr-conductorSkill
- project-syncSkill
- pulumi-specialistSkill
- quality-reviewSkill
- release-conductorSkill
- reproduce-bugSkill
- review-prSkill
- review-prsSkill
- rollback-prodSkill
- security-auditSkill
- security-reviewSkill
- smoke-testSkill
- specSkill
- terraform-specialistSkill
- terragrunt-specialistSkill
- validate-specSkill
- veracity-auditSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 47
Run the status command from the consuming project root:
- Very specific: line 86
Read verdict rather than inferring success from the exit code: pass, fail, not_configured (no target declares checks) and not_run (a dry …
- Very specific: line 158
Do not prompt for provider tokens.
- Distinctive: line 160
Do not deploy or roll back from this skill.
- Very specific: line 162
If a provider cannot expose a git SHA, report that target as unknown and exit 2 rather than inventing drift data.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deploy Status
Report what git revision is live across production deploy targets and whether
each target matches origin/main.
Workflow
Resolve the helper script:
if [ -f "$HOME/.claude/skills/deploy-status/scripts/deploy-ops.mjs" ]; then DEPLOY_OPS="$HOME/.claude/skills/deploy-status/scripts/deploy-ops.mjs" elif [ -f "skills/deploy-status/scripts/deploy-ops.mjs" ]; then DEPLOY_OPS="skills/deploy-status/scripts/deploy-ops.mjs" else echo "deploy-status helper not found; re-run dotbabel bootstrap or dotbabel init" >&2 exit 2 fiRun the status command from the consuming project root:
node "$DEPLOY_OPS" status $ARGUMENTS- Preserve the helper's exit code:
0- every target is in sync withorigin/main1- at least one target is behind, ahead, or otherwise drifted2- target discovery, provider auth, provider parsing, or SHA detection failed
Target Discovery
Discovery is configuration-first only where auto-discovery cannot prove a target. The helper:
- Auto-discovers Vercel from
.vercel/project.json. - Auto-discovers Fly.io from top-level
app = "..."infly.toml. - Merges
.claude/deploy-targets.jsonwhen present. Config entries override matching auto-discovered targets and add non-discoverable platforms.
Example config: examples/deploy-targets.example.json.
Smoke checks
A target in .claude/deploy-targets.json may declare a smoke array, run
after a deploy to confirm the thing actually answers:
node "$DEPLOY_OPS" smoke # human-readable
node "$DEPLOY_OPS" smoke --json # machine-readable, see schemas/dotbabel.smoke-report.schema.json
node "$DEPLOY_OPS" smoke --dry-run # list the checks without running themExit codes match the status command: 0 every check passed (or none is
declared, or it was a dry run — neither is a failure), 1 at least one failed
or the run hit its time budget, 2 target discovery failed.
Read verdict rather than inferring success from the exit code: pass,
fail, not_configured (no target declares checks) and not_run (a dry run).
A dry run also sets dry_run: true and reports each planned check with
ok: null, so a stray --dry-run in a pipeline cannot be mistaken for a green
gate over zero executed checks.
Two check types. An http check is GET only and retries up to 3 times with
2s, 4s and 8s backoff; a command check runs its argv exactly once,
because a command may not be idempotent and a retry would repeat a side effect
nobody agreed to. Each request is aborted after 10 seconds — a timeout is
transient, so it is retried on the backoff schedule — and the whole run stops
after 300 seconds.
A check with no expect_status defaults to requiring 2xx. A response
arriving is not the same as a response being good: without that default, a
check declaring no expectations reported green against a hard 500, which turns
an outage into a passing release gate. Set expect_status explicitly when you
want a specific non-2xx code.
These requests go to production and may carry a real credential, so the guards are enforced rather than advised:
- A URL with embedded credentials is refused, and is not echoed back in the error — the config carrying it is already a committed secret.
httpsis required for every host exceptlocalhostand127.0.0.1.- Redirects are followed manually, at most 3, and only to the same https origin. Handing the response the power to choose the next host is how a secret header reaches somewhere it was never meant to go.
- A header value is read only from a named environment variable
(
{ "env": "SMOKE_BEARER" }). A literal in the config is refused, and a variable that is unset fails the check rather than quietly sending no header and passing against an anonymous response. - Header names are reported; values never are. The failing response body is shown truncated and redacted, because an endpoint that echoes the header back would otherwise leak it through the very message reporting the failure.
- A refusal from any of these guards is never retried: a retry cannot turn it into a pass, and a differing later response would mask it.
{
"kind": "vercel",
"project": "my-app",
"smoke": [
{
"type": "http",
"url": "https://my-app.example.com/healthz",
"expect_status": 200,
"expect_text": "ok"
},
{
"type": "http",
"url": "https://my-app.example.com/api/me",
"expect_status": 200,
"headers": { "Authorization": { "env": "SMOKE_BEARER" } }
},
{ "type": "command", "argv": ["./scripts/smoke-api.sh", "--prod"] }
]
}Provider References
Load only the provider notes that match discovered targets:
| Provider | Reference |
| Vercel | references/vercel.md |
| Fly.io | references/fly.md |
| AWS Amplify | references/aws-amplify.md |
Rules
- Do not prompt for provider tokens. Use the existing CLI auth state
(
vercel whoami,fly auth whoami). - Do not deploy or roll back from this skill. This skill is read-only except for
git fetch origin main --quiet. - If a provider cannot expose a git SHA, report that target as unknown and exit
2rather than inventing drift data. - On a smoke failure, recommend
/rollback-prodand stop. The rule floor forbids production changes without explicit instruction, so this skill never rolls back on its own.
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.

