/devops-skills:artifact-managementfrom devops-skills
Guides on versioning, storing, and promoting build outputs with immutable artifacts. Covers registries, build-once-promote-many, retention policies, garbage collection, and provenance metadata.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
An artifact is the one thing that should never be ambiguous in a delivery pipeline: given a
version or digest, everyone — CI, CD, an engineer debugging an incident six months later — should
be able to retrieve the exact same bytes. The moment an artifact can be overwritten, rebuilt with
a different result, or referenced by a mutable tag like latest, every downstream promise (this
is what passed CI, this is what's in staging, this is what's in prod) becomes unverifiable.
If you can't prove two environments are running the exact same artifact, you can't actually debug the difference between them.
An artifact, once built, is immutable — every later stage promotes it, none of them rebuild it.
Rebuilding "the same" artifact for staging and again for production is the single most common artifact-management mistake, because non-determinism anywhere in the build (unpinned dependency, timestamp embedded in the binary, compiler nondeterminism) means the two builds aren't actually the same thing, and you've now tested one and shipped another. Build exactly once in CI, publish it with an immutable identity, and every later environment pulls that identity — promotion is a metadata operation (retag, update a manifest, flip a pointer), never a rebuild.
Done when: you can diff the digest running in production against the digest that passed CI and they match exactly.
Mutable tags (latest, stable, even a branch name) are conveniences for humans, not identities
a system should depend on — the tag latest points at something different every time someone
pushes. Use a content digest (sha256) or an immutable version (a semver tag that's never reused,
or the git SHA) as the actual reference everywhere automation touches; reserve human-friendly
tags as an alias layered on top, never as the source of truth for a deploy.
# fragile: "latest" is a moving target, deploy is non-reproducible
image: myapp:latest
# durable: this digest is this exact set of bytes, forever
image: myapp@sha256:4f3a9c1e...
Done when: every automated deploy references an artifact by digest or immutable version, never by a mutable tag.
An artifact without metadata about its source commit, build pipeline run, and dependency versions is a black box the moment something goes wrong with it — you're left guessing what code actually produced it. Attach provenance at build time: source commit SHA, build pipeline/job ID, dependency lockfile hash, and ideally a signed attestation (SLSA-style) that the artifact came from the pipeline it claims to. This is what makes an incident retro or a security review tractable instead of a forensic exercise.
Done when: given only an artifact's digest, you can trace it back to the exact commit and pipeline run that produced it.
Registries fill up, and without an explicit retention policy, cleanup happens reactively — someone deletes things in a panic when storage costs spike or a quota is hit, and inevitably something still in use gets deleted along with the junk. Decide up front what's kept forever (anything currently deployed anywhere, tagged releases) versus what's garbage-collected on a schedule (untagged intermediate builds, old PR-build artifacts, anything past N days with no deployment reference).
Done when: retention policy is written down and enforced automatically, not executed manually when storage alerts fire.
A registry where any CI job can push directly to the tag that production pulls is one compromised
pipeline away from a supply-chain incident. Separate write access (only the build pipeline can
push new artifacts) from promotion access (only the deploy pipeline, gated appropriately, can
move a digest into a production-referenced state) from read access (runtime pulls should be
read-only). This is a narrower, artifact-specific instance of the concerns in pipeline-security
and supply-chain-security — worth restating here because registry permissions are so often left
at their overly permissive defaults.
Done when: no single compromised credential can both push a new artifact and cause it to be deployed to production.
State how artifacts are identified (digest vs tag) in production deploys, what provenance metadata is attached and how it's queried, and the current retention policy and whether it's automated. Name the honest gap: usually it's a deploy path that still references a mutable tag somewhere, provenance that's incomplete for older artifacts, or retention that's still manual.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skillsOther plugins' skills for the same job
88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.