backend-deployment
/backend-deployment
Prepare safe backend deployments. Use when planning Docker packaging, CI/CD pipelines, environment configuration, database migrations, release/rollout strategies (blue-green, canary, rolling), pre-deployment checklists, monitoring/alerting setup, rollback plans, or incident response for a backend service. Do NOT use for writing the release notes (internship-communication), reviewing the deploy scripts' code (backend-code-review), or debugging a failed deployment in flight (backend-debugging).
- Author
- albkue ↗
- Repository
- my-skill ↗
- Licence
- MIT
- Last repository change
- 30.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 30.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Prepare safe backend deployments. Use when planning Docker packaging, CI/CD pipelines, environment configuration, database migrations, release/rollout strategies (blue-green, canary, rolling), pre-deployment checklists, monitoring/alerting setup, rollback plans, or incident response for a backend service. Do NOT use for writing the release notes (internship-communication), reviewing the deploy scripts' code (backend-code-review), or debugging a failed deployment in flight (backend-debugging).
Original author description
Prepare safe backend deployments. Use when planning Docker packaging, CI/CD pipelines, environment configuration, database migrations, release/rollout strategies (blue-green, canary, rolling), pre-deployment checklists, monitoring/alerting setup, rollback plans, or incident response for a backend service. Do NOT use for writing the release notes (internship-communication), reviewing the deploy scripts' code (backend-code-review), or debugging a failed deployment in flight (backend-debugging).
How it works
- Purpose
- When to use
- When not to use
- Context intake
- Workflow
- Adaptation rules
- Inputs needed
- Output contract
- Rules and constraints
- Quality checklist
SKILL.md preview
---
name: backend-deployment
description: Prepare safe backend deployments. Use when planning Docker packaging, CI/CD pipelines, environment configuration, database migrations, release/rollout strategies (blue-green, canary, rolling), pre-deployment checklists, monitoring/alerting setup, rollback plans, or incident response for a backend service. Do NOT use for writing the release notes (internship-communication), reviewing the deploy scripts' code (backend-code-review), or debugging a failed deployment in flight (backend-debugging).
version: 1.1.0
author: Sothy Eng
---
# Backend Deployment
## Purpose
Make deployments boring: every change goes out with known risk, a verified checklist, health checks, monitoring, and a rollback plan written before it ships.
## When to use
- Planning a release or rollout for the backend part-time job.
- Designing Docker images, CI/CD pipeline stages, or environment configuration.
- Planning risky changes: schema migrations, new dependencies, infra changes, new integrations.
- Writing runbooks: health checks, alerts, rollback steps, incident response.
## When not to use
- The deployment is currently broken mid-rollout → `backend-debugging`.
- Ongoing observability work beyond this change's verification (dashboards, SLOs, full runbooks) → `observability`.
- Reviewing the code of the deploy scripts → `backend-code-review`.
- Writing or updating repo docs for the release → `documentation`.
- Learning about deployment concepts for interview prep → `interview-prep`.
- Internship status updates about a release → `internship-communication`.
## Context intake
- Deploy method and who owns it (K8s/VM/PaaS/university server), environment count, migrations involved, and whether the release is team-owned or personal.
Detect or confirm before starting (ask at most what is genuinely needed):
- Which context: one of the contexts defined in `docs/workflow-profile.md` ("Contexts")? Read `docs/active-context.md` first: if `Current` names a context set within the last day, use it, apply its rules, and do not ask. Otherwise fall back to the active roles and projects in `docs/workflow-profile.md`; ask when it could be two different contexts.
- What is the desired output: a plan, code, a review, tests, documentation, a deployment plan, or research notes? Confirm if ambiguous.
## Workflow
1. Read the my-skill plugin's `docs/workflow-profile.md`. If it is missing, contradicts this request, or was last updated more than ~3 months ago, confirm or update it with Sothy before applying any role, project, or stack assumptions.
2. Ask for the missing deployment facts above; do not assume cloud provider or infrastructure details.
3. Identify breaking changes and dependencies: API contract changes, migration order, config/env vars, client compatibility, third-party limits.
4. Build the pre-deployment checklist (use `references/backend-checklist.md` deployment section, tailored).
5. Define deployment steps in order, with the safe bit-size: migrate → deploy → verify. Migrations are backward-compatible or explicitly coordinated with app versions.
6. Define verification: health checks, smoke tests, key business metrics to watch for the first 24–48h.
7. Write the rollback plan concretely: previous artifact, data reversibility, feature-flag off, who executes.
8. Define monitoring + alerts that would catch this specific change's failure modes (route deep observability design to `observability`).
9. Add the post-launch validation checkpoint: what is verified at +1h, +24h, and +48h (error rates, latency p95, business metrics, data sanity), who reviews it, and the go/no-go to close the change out.
## Adaptation rules
- The process shape is constant across environments: checklist -> ordered steps -> verification -> rollback -> post-launch validation; only the tooling changes.
- Personal/thesis deployments: free tiers and simplified checklists are fine, but data-changing steps still require backup + rollback.
- Internship/team releases: adopt the team's existing release process when known instead of proposing a parallel one.
## Inputs needed
- Deployment target and method: Docker/Kubernetes/VM/platform-as-a-service; how the team currently deploys.
- Environment(s): staging, production; promotion path.
- Tech stack and runtime (Spring Boot/FastAPI/Go), config approach (env vars, secret store).
- Database changes: new migrations? destructive columns? data backfill?
- Rollout method available: rolling, blue-green, canary, feature flags.
- Who deploys and when (business hours constraint? on-call?).
## Output contract
- **Change summary** — what ships and why.
- **Risk assessment** — ranked failure modes with likelihood and blast radius.
- **Pre-deployment checklist** — checked actions (tests, migrations verified, config, secrets, backup).
- **Deployment steps** — ordered, copy-pasteable where possible.
- **Verification steps** — health checks + smoke tests post-deploy.
- **Rollback plan** — exact steps, data handling, decision criteria for triggering it.
- **Monitoring checklist** — metrics/logs/alerts specific to this change.
## Rules and constraints
- Never recommend deploying untested or unreviewed database migrations; forward-test on staging with production-like data volume first.
- Every plan must include a rollback plan; if a change is irreversible (destructive migration), state that explicitly and propose a safe two-phase alternative (expand → migrate → contract).
- Ask before assuming cloud provider, container orchestrator, or internal deployment tooling.
- Never include real secrets, internal hostnames, or credentials in plans; use placeholders.
- Production changes get explicit "what could hurt users" language, not just steps.
## Quality checklist
- [ ] Pre-deployment checklist complete (tests, migration verified, config, secrets, backup).
- [ ] Rollback plan is concrete: artifact, data handling, trigger criteria.
- [ ] Destructive migrations converted to expand-contract where possible.
- [ ] Post-launch validation checkpoints defined (+1h / +24h / +48h).
## Examples
1. **Request:** "We're adding a `status` column to orders and deploying next week."
**Behavior:** Flag destructive risk, propose expand-contract (nullable column + backfill + later `NOT NULL` in a separate release), checklist (tested migration on prod-like data size, backup), steps, rollback (drop column if pre-geo, or revert code reading it), monitoring for query-plan changes.
2. **Request:** "First Kafka consumer going to prod — what do I need?"
**Behavior:** Ask about cluster access, deployment infra, and on-call setup. Checklist: consumer group config, DLQ, lag alerting, idempotency, startup behavior on missing topics, feature-flagged consumption, rollback = disable + retain offsets, monitoring checklist.
## Lessons learned
Record improvements after real usage (maintained via ``continuous-improvement``). Format:
- ``<date>`` -- ``<what happened>`` -> ``<change made to this SKILL.md>``
(empty -- entries appear after real usage)
Versions
The database has no other skills named backend-deployment.
Database snapshot: 13.11.2026 · package version ec3953d2e985 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100blue-green-deploy
Configure zero-downtime deployment strategies including blue-green, canary, and rolling deployments. Implement traffic shifting, health checks, and rollback procedures. Use when implementing production deployment strategies or zero-downtime releases. - 90deployment-strategies
Gets a change into production safely — blue-green, canary, rolling, feature flags, and the rollback that makes each of them safe. Use this whenever the user is planning a release, asks how to deploy without downtime, mentions canary or blue-green, is adding a feature flag, or is… - 100deployment-release-engineering
Use when designing or reviewing deployment pipelines, rollout strategies, release gates, rollback plans, migration-safe releases, and post-deploy verification for production systems. Covers build promotion, environment strategy, release evidence, and operational safety. - 90deployment-strategist
Guides deployment and release strategy—choosing rollout patterns (rolling, blue-green, canary, feature flags), environment topology, promotion paths, blast-radius control, rollback design, change windows, and cross-team rollout plans for web, API, data, and ML workloads. Use… - 100deployment-strategies
Production deployment strategies. Blue-green, canary, rolling update, recreate. Zero-downtime deployments, rollback procedures, database migration coordination, and deployment automation. USE WHEN: user mentions "blue-green", "canary deployment", "rolling update",… - 100deployment-strategies
Chooses and implements the deployment technique — blue-green, canary, rolling, or shadow — that buys the most information before you're fully committed, plus the rollback plan that makes each one safe. Use this whenever the user asks how to deploy with zero downtime, wants a…