Guide · Agent skill
How to use the Deployment Patterns agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The deployment-patterns skill gives your AI agent a reference guide on shipping web applications to production. Once it is installed, the agent can explain rolling, blue-green and canary release strategies, draft Dockerfiles for Node.js, Go and Python/Django apps, and outline a GitHub Actions pipeline for your project. This guide covers what the skill does, how to install it, how to ask for it, and what it needs from your setup.
Quick start
- 1Download the ZIP. Download the deployment-patterns ZIP file from this page. It contains SKILL.md.
- 2Choose where to install. Use ~/.claude/skills/ for all your projects, or .claude/skills/ inside one project. In the Claude apps, use Settings → Capabilities → Skills instead.
- 3Unzip the file. Extract the ZIP into the folder you chose so that the skill files sit in place.
- 4Describe your deployment task. Ask in plain language, naming your stack (Node.js, Go or Django) and what you need, such as a Dockerfile or a pipeline.
- 5Review the draft. Read what the agent proposes and check it against your hosting platform, secrets and environments.
- 6Adapt the deploy step. Replace the placeholder deploy step in the pipeline with the real command for your platform before relying on it.
What the deployment-patterns skill makes the agent do
An agent skill is a folder of instructions that your AI agent reads when a task matches it. This one is a single file, SKILL.md, that contains a guide to deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies and production-readiness checklists for web applications.
The guide is written in Spanish. The agent uses it to advise you or to draft deployment files for your project. The file contains templates and advice, not executable deployment scripts, so the agent is not deploying anything on its own.
- Explains rolling, blue-green and canary deployment strategies, with when each one fits.
- Provides multi-stage Dockerfile templates for Node.js, Go and Python/Django, each with a health check and a non-root user.
- Outlines a GitHub Actions pipeline that tests, builds a container image and deploys on merge to main.
- Includes a health check endpoint pattern and Docker good and bad practices.
Install the deployment-patterns skill
You can install the skill for yourself across all projects, or for a single project only. Download the ZIP file from this page first. Then choose one of the options below.
For a personal install, unzip the file into ~/.claude/skills/. For a project-only install, unzip it into the .claude/skills/ folder inside your project. In the Claude apps, you can instead upload the ZIP under Settings → Capabilities → Skills.
- Personal: unzip into ~/.claude/skills/
- Project only: unzip into .claude/skills/ in your project folder
- Claude apps: Settings → Capabilities → Skills, then upload the ZIP
How to trigger the skill with natural requests
You do not need a special command. Describe your task in plain language and mention the deployment work you need. The skill is meant to apply when you ask for help with one of these tasks: configuring CI/CD pipelines, containerizing an application with Docker, planning a deployment strategy (blue-green, canary or rolling), implementing health checks and readiness probes, preparing a production release, or setting up environment-specific settings.
Be specific about your stack and goal. The more the agent knows about your app, the more useful the draft will be.
- "Containerize my Node.js API with Docker, using a multi-stage build and a non-root user."
- "Set up a GitHub Actions pipeline that runs lint and tests, then builds an image on merge to main."
- "Should I use canary or blue-green for a high-traffic checkout service? Explain the trade-offs."
- "Add a /health endpoint and a detailed health check that reports database status."
- "Give me a production readiness checklist before we launch this Django app."
Understand the deployment strategies
The skill compares three approaches. Rolling deployment replaces instances gradually, so old and new versions run at the same time and your changes must be backward compatible. Blue-green runs two identical environments and switches traffic at once, which gives an instant rollback but needs twice the infrastructure during the release. Canary sends a small share of traffic to the new version first and widens it if metrics look good, which catches problems with real traffic but requires traffic-splitting infrastructure and monitoring.
- Rolling: default choice for standard releases with backward-compatible changes.
- Blue-green: for critical services where zero tolerance for problems matters.
- Canary: for high-traffic services, risky changes, or work behind feature flags.
Use the Docker and health check templates
The skill includes multi-stage Dockerfile templates for three stacks. Each uses pinned image tags such as node:22-alpine, runs as a non-root user, and includes a HEALTHCHECK instruction. The Node.js template expects a /health route, and the Django template checks /health/. The skill also suggests a simple health endpoint that returns status ok, plus a detailed one that checks dependencies such as the database and returns 503 when a check fails.
- Node.js template: builds with npm, serves dist/server.js on port 3000.
- Go template: builds a static binary and serves on port 8080.
- Python/Django template: uses uv to install requirements and runs gunicorn on port 8000 with 4 workers.
- Avoid :latest tags, running as root, and storing secrets in the image.
app.get("/health", (req, res) => { res.status(200).json({ status: "ok" }); });Review the GitHub Actions pipeline
The pipeline example has three jobs. The test job runs lint, typecheck and tests with coverage. The build job runs only on main, builds the image and pushes it to the GitHub Container Registry (ghcr.io), tagged with the commit SHA. The deploy job runs only on main and uses the production environment.
The deploy step is a placeholder. It only echoes the commit SHA. The file includes commented examples for Railway, Vercel and kubectl, but you must replace the placeholder with the command for your own platform.
- Test job: lint, typecheck, tests with coverage, upload coverage artifact.
- Build job: needs test, pushes to ghcr.io using GITHUB_TOKEN.
- Deploy job: needs build, uses the production environment, currently only a placeholder.
What people use it for
- Drafting a multi-stage Dockerfile for a Node.js API with a health check and a non-root user.
- Outlining a GitHub Actions workflow that tests on pull requests and publishes an image on merge to main.
- Choosing between rolling, blue-green and canary releases for a service with specific risk and traffic needs.
- Writing a production readiness checklist before a first launch.
- Adding a /health or detailed health check endpoint to an existing service.
Frequently asked questions
How do I install the deployment-patterns skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into .claude/skills/ inside a project. In the Claude apps, upload the ZIP under Settings → Capabilities → Skills.
What do I need to use this skill?
The guide assumes Docker to build container images and GitHub Actions for the CI/CD example. You also need a container registry such as GHCR, and credentials for your hosting platform if you adapt the deploy step.
Is the deployment-patterns skill free?
The skill is published under the MIT licence, as stated on this page. Check the licence text in the source repository for the full terms.
Does the skill run deployments for me?
No. The file contains templates and advice, not executable deployment scripts. The skill does not run scripts and does not use the network. You or your team run any commands yourselves.
Why is the deploy step in the pipeline not working out of the box?
The deploy step is a placeholder that only echoes the commit SHA. You need to replace it with the command for your platform, such as the examples given in comments for Railway, Vercel or kubectl.
Is the guide in English?
No. SKILL.md is written in Spanish, but the agent can work with it and explain the content in your language.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits developers setting up CI/CD or Docker for a Node.js, Go or Django web app for the first time, and teams planning a safer release strategy. It is not a one-click hosting setup: you need to know Docker, CI and your platform, and you must adapt the placeholder deploy step yourself. If you want a managed deployment that runs automatically, pick a platform-specific tool instead.
Download the skill