Deployment Readiness
When to Use This Skill
Use this skill when a code or configuration change may affect deployment.
Typical triggers:
- •Container port/env/probe behavior changes.
- •New runtime configuration is added.
- •Service exposure, scaling, resources, or security settings change.
- •Helm chart values/templates must be updated for release readiness.
Execution Workflow
- •Review application and container changes that impact deployment.
- •Compare current application behavior and API contract against the previous released version.
- •Classify change impact using semantic versioning:
- •Breaking changes (backward-incompatible behavior, removed/renamed endpoints/fields, incompatible contract changes) => major bump.
- •Non-breaking feature changes (backward-compatible new behavior/capabilities) => minor bump.
- •Fix-only changes (bug fixes/internal corrections with no new external behavior) => patch bump.
- •Only consider version updates after the application is tested and confirmed deployment-ready.
- •Before changing versions, ask the user explicitly: "The app appears tested and ready for deployment. Update application version across the repository now? (yes/no)"
- •If the user says yes, update all release version fields together:
- •
package.json->version - •
helm/todo-api/Chart.yaml->versionandappVersion
- •
- •If the user says no, do not change versions; treat the release as not yet ready/completed.
- •Ensure bumped versions are consistent across files.
- •Update Helm
values.yamland templates in a consistent, minimal way. - •Validate probes, ports, env variables, and resource defaults.
- •Validate chart structure, linting, and render output.
- •Verify release safety: upgrade path, rollback approach, and immutable image tag usage.
- •Confirm post-deploy verification steps are defined (health/readiness checks and smoke checks).
- •Update root
README.mddeployment instructions when relevant.
Production Readiness Guardrails
- •Keep liveness/readiness checks aligned with
/health. - •Ensure sane resource requests/limits and secure defaults.
- •Avoid hardcoded environment-specific values in templates.
- •Preserve backward-compatible values where possible.
- •Evaluate compatibility against the previous release before finalizing deployment readiness.
- •Prefer immutable image tags for releases and keep rollback path explicit.
- •Document any required operational steps for safe upgrade/rollback.
- •Store validation artifacts under
output/deployment-readiness/inside this workspace.
See deployment validation checklist before completion.
Quick Commands
- •Compare current branch with latest tag:
git diff --name-status $(git describe --tags --abbrev=0)..HEAD - •Create output directory:
mkdir -p output/deployment-readiness - •Validate compose config:
docker compose config > output/deployment-readiness/compose-config.yaml - •Lint chart (if Helm is installed):
helm lint ./helm/todo-api - •Render templates:
helm template todo-api ./helm/todo-api > output/deployment-readiness/helm-render.yaml