Creates a durable release contract for Dockerized services: GitHub Actions builds, main-anchored tags, immutable digest manifests, published releases, production approval gates, health checks, and exact-digest rollback.
Ships in cloud-deployment-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.
Read when SKILL.md points to them.
Create or audit a durable release contract for a Dockerized backend or cloud service without treating a developer worktree or a production host as a build machine.
The default contract is:
origin/main.production; enabled prereleases target test.image@sha256:... only after the selected environment permits it.This is a durable building-block change: it removes the ambiguity between a developer build, a CI artifact, and a deployed artifact. A project can later change registries or providers without weakening the tag-to-digest deployment contract.
server-side-swift:docker-workflow for Swift Dockerfile, Compose, Linux runtime, and image-entrypoint work.Inspect the repository's Dockerfile, CI workflows, release process, registry settings, deployment files, health endpoint, provider configuration, and rollback procedures first. Then verify the current platform behavior against these official sources:
Translate those sources into the actual project choices: registry, tag policy, environment policy, provider identity, health URL, and rollback command.
Before starting an image build, record the deployment target's architecture, operating system, available memory, disk capacity, container runtime, and any provider constraints. Select the OCI platform from that evidence. For example, an Apple-silicon developer machine targeting an x86-64 Linux host builds linux/amd64; do not let the developer machine's architecture choose the release artifact by accident.
Build every cloud Linux archive and OCI image in a clean GitHub Actions checkout. Developer machines and production hosts must not build, cross-compile, or smoke-test cloud images. Record OCI artifacts by registry digest and record archive artifacts by SHA-256 checksum in the release manifest; deployment must consume that exact recorded identity. A production host may only pull or load a finished immutable artifact and run it. Do not clone application source, resolve dependencies, compile Swift, or run docker build on a production host.
One build owns its Docker client session until it exits. Preserve the original progress-producing shell or durable log stream; do not replace it with blind polling. When an agent must return for a build, GitHub Action, deployment approval, or health gate, it records the immutable identity (tag, digest, run, environment, and target), reuses a live matching host-native continuation while the gate remains pending and healthy, and performs one fresh inspection on wakeup. Continue only if every recorded identity equals the fresh tag, digest, run, environment, and target; on any mismatch, stop and create a new continuation packet rather than build, deploy, diagnose, roll back, or otherwise advance. Do not delete/recreate the continuation after an unchanged snapshot; create/update only after it fires or becomes stale, with at least five minutes between rechecks. Codex uses heartbeat; Hermes uses a continuable cronjob with deliver="origin" and attach_to_session=true. Pause/delete it when the gate resolves, fails, is cancelled, or its identity changes. Do not leave a shell waiting or create a one-to-four-minute polling loop. While that build is active, do not run Docker status, image-inspection, build-history, Buildx, Compose, or second-build commands unless the runtime explicitly documents concurrent client access as safe. If an orchestration wrapper returns before its child exits, inspect the real process rather than trusting the wrapper result, report that the build is still active, and wait before starting another package-manager or container command.
This is portable instruction-only guidance and is exported through Socket's Hermes skill tap. It does not install a GitHub App, configure registry credentials, provision a cloud account, or bundle a deployment adapter for Hermes or Codex.
Confirm these decisions. Stop rather than silently choosing a production target:
maincontents: write permission; store its client ID as RELEASE_PUBLISH_APP_CLIENT_ID and private key as RELEASE_PUBLISH_APP_PRIVATE_KEYOCI_REGISTRY_USERNAME repository variable and OCI_REGISTRY_PASSWORD secret, unless the adopting repository deliberately narrows the template to GHCRproduction environment reviewers, permitted stable tags, and bypass policytest environment exists; when it does, enable ENABLE_PRERELEASE_DEPLOYMENTS=true as a repository variable and configure its test-tag policyCopy these template assets into the target repository and replace every {{...}} placeholder before enabling them:
release-container.yml.tmpl: tag-anchored validation, immutable image publication, manifest creation, and automated normal-release or prerelease publication.deploy-production.yml.tmpl: a GitHub Release published trigger, protected production or enabled test environment selection, manifest download, exact-digest adapter call, health verification, and failure guidance.release-manifest.json.tmpl: the release-record schema.deploy-production-image.sh.tmpl: a deliberately blocked provider-adapter seam.verify-production-health.sh.tmpl: a deliberately blocked health-check seam.The shell templates fail closed until a project replaces their placeholders. Do not treat the template itself as a deploy command.
main through the repository's normal CI and review gates.main commit and push it.origin/main, and rejects a tag commit that is not reachable from it.vMAJOR.MINOR.PATCH stable tags or the recognized prerelease forms -alpha, -beta, -rc, and -test, each with an optional dot/hyphen suffix. Reject all other tag forms before publishing.release-manifest.json from the tag, resolved commit, release kind, immutable image reference, workflow run URL, and attestations. Mint a short-lived GitHub App installation token in the job, then publish a normal GitHub Release for a stable tag or a GitHub prerelease for a recognized prerelease tag.The automated publisher needs a GitHub App installation token because a release created with the workflow's GITHUB_TOKEN does not trigger the release-published deployment workflow. Configure the App with only the required repository access and mint its token during the job rather than storing a reusable PAT.
The deployment workflow must listen only for release: [published]. It must not deploy directly on a tag push, a push to main, or a pull request.
release-manifest.json from the exact release event.image is a fully qualified name@sha256:digest reference.production environment. Configure required reviewers, stable-tag restrictions, and no-administrator-bypass where the repository plan supports them. A recognized prerelease enters test only when the repository has explicitly set ENABLE_PRERELEASE_DEPLOYMENTS=true; otherwise it publishes without deployment.docker build, clone source, or reinterpret a mutable tag.contents: read and packages: write; its short-lived GitHub App token has only the separate contents: write authority needed to publish the release. The deploy workflow should have read-only contents plus id-token: write only when the provider adapter uses OIDC.Before enabling the workflow:
test enabled to prove that the Actions runner publishes a GitHub prerelease, produces the manifest and registry digest, and deploys its exact digest to test.production approval, and passes image@sha256:..., not a tag, to the deployment adapter.GITHUB_TOKEN when it must trigger another workflow; use the dedicated release-publisher token.production; prereleases deploy only to enabled test.latest, a branch name, a short SHA tag, or any other mutable image identifier.docker compose build, or remote source checkout for the provider deployment adapter.Return:
Release contract: branch, tag pattern, registry, image platforms, validation, manifest location, and GitHub Release ownership.Deployment contract: provider adapter, OIDC/credential boundary, production environment policy, health signal, and rollback source.Templates: copied assets and every required substitution.Validation: local, CI, registry, release, environment-approval, health, and rollback evidence.Risk: unresolved provider commands, approval policy, plan limitations, health semantics, or rollback gaps.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/cloud-deployment-skills:dockerized-service-release-deployment-workflowfrom cloud-deployment-skills
npx claudepluginhub gaelic-ghost/socket --plugin cloud-deployment-skills2 skills in this plugin
Other plugins' skills for the same job