deployment-patterns

deployment-patterns is a skill for Claude Code from shennawardana23/skillme. It costs 97 tokens per session (1,965 once invoked), scanned A, original, Apache-2.0.

Guidance for releasing a finished application safely and checking whether it is healthy after launch. It covers rolling, blue-green, and canary deployments, plus health checks and rollback plans.

In plain words
What is it for?
Planning production rollouts, configuring startup and health probes, validating startup settings, and designing rollback procedures.
Why use it?
It helps teams choose how new versions reach users and prepare a way back if a release fails.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the skillme plugin — 137 skills, 2 commands shipped together

Good fit Planning production rollouts, configuring startup and health probes, validating startup settings, and designing rollback procedures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shennawardana23/skillme/deployment-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add shennawardana23/skillme --skill deployment-patterns
Clone the repo
git clone --depth 1 https://github.com/shennawardana23/skillme

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 137 skills, 2 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deployment-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/shennawardana23/skillme/deployment-patterns.svg)](https://agentmods.dev/skills/shennawardana23/skillme/deployment-patterns)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/deployment-patterns"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/deployment-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01965
Opus 5 $0.00048 $0.00983
Sonnet 5 $0.00019 $0.00393
Haiku 4.5 $0.00010 $0.00197

Measured 8d ago against content hash 9c58b85bedd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

deployment-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/deployment-patterns/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deployment Patterns

This skill is about what happens once a built, tested artifact is ready to go live: how traffic moves to it, how the platform knows it's healthy, and how to get back to the last good state if it isn't. Building the image is docker-patterns; the pipeline that builds, tests, and triggers the deploy is ci-cd-and-automation.

Choosing a rollout strategy

Strategy Mechanism Rollback speed Cost Use when
Rolling (default) Replace instances gradually; old and new run simultaneously Redeploy previous image (not instant) No extra infra Standard deploys with backward-compatible changes
Blue-green Two full environments; switch traffic atomically Instant (switch back) 2x infra during deploy Critical services, near-zero tolerance for bad deploys
Canary Small traffic % to new version first, then ramp Fast (cut canary traffic) Requires traffic-splitting infra High-traffic services, risky changes

Rolling deployment's hard requirement: the old and new versions must be able to run simultaneously against the same database and message schema — if a migration or message format isn't backward-compatible with the version being replaced, a rolling deploy will have some requests hit old code and some hit new code mid-rollout, and one of them breaks. See database-migrations' expand/migrate/contract pattern for how to make a schema change safe under this constraint.

Health checks: three distinct signals, not one

// Liveness: is the process alive at all? Should almost never fail.
// A failing liveness check triggers a restart — false positives are expensive.
func (h *Handler) Livez(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(http.StatusOK)
}

// Readiness: can this instance serve traffic right now?
// Checks dependencies. A failing readiness check pulls the instance
// out of the load balancer WITHOUT restarting it.
func (h *Handler) Readyz(w http.ResponseWriter, r *http.Request) {
    if err := h.db.PingContext(r.Context()); err != nil {
        http.Error(w, "database unreachable", http.StatusServiceUnavailable)
        return
    }
    w.WriteHeader(http.StatusOK)
}

Read the full file on GitHub · 196 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 196 lines · 97 tokens per session scan A 9c58b85bedd1

Subscribe to this mod's changes

deployment-patterns is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 11d ago), licensed Apache-2.0. It adds 97 tokens to every session and 1,965 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

limrun-xcode

Build an iOS / Apple app on remote Xcode with lim xcode build instead of local xcodebuild, or run its XCTest suites with lim xcode test, from any environment (Linux, Windows, macOS, VM, container). Use for non-Bazel projects (an .xcodeproj / .xcworkspace, an XcodeGen project.yml with a gitignored project, React Native…

sutchan/Agent-Skills-Hub · 159 tokens

limrun-xcode-bazel

Build a Bazel-based iOS / macOS / Apple app on Limrun's remote build execution (RBE) instead of a local Mac, and install it on a remote iOS simulator. Use when the project is a Bazel workspace (MODULE.bazel / WORKSPACE) building rulesapple / rulesswift targets and the user wants to bazel build it or run it on a…

sutchan/Agent-Skills-Hub · 149 tokens

publisher

Publish HTML frontend projects to the PushWebly publishing platform, list published projects, obtain shareable project URLs, change a published app's public/private visibility, and package published HTML projects into Android APKs. Use when Codex needs to publish a local zip project, publish and build an APK, build an…

publisher-skill/publisher · 109 tokens

publisher-skills

Publish HTML frontend projects to the PushWebly publishing platform, list published projects, obtain shareable project URLs, change a published app's public/private visibility, and package published HTML projects into Android APKs. Use when Codex needs to publish a local zip project, publish and build an APK, build an…

publisher-skill/publisher · 111 tokens

insforge-cli

Use this skill whenever someone needs a backend, or when managing InsForge backend and cloud infrastructure with the InsForge CLI. For application code that calls InsForge from a frontend, backend, or edge function, use the insforge app-integration skill instead.

sutchan/Agent-Skills-Hub · 0 tokens

cloudrun-development

CloudBase Run backend development rules (Function mode/Container mode). Use this skill when deploying backend services that require long connections, multi-language support, custom environments, AI agent development, or migrating existing/GitHub apps that need VPC access to MySQL/PostgreSQL/Redis. Also use when…

sutchan/Agent-Skills-Hub · 99 tokens