devops-deployment

Generates CI/CD pipelines, Dockerfiles, Kubernetes manifests, and Terraform infrastructure configurations.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/Yash-Awasthi/adapfit --skill devops-deployment-yash-awasthi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: devops-deployment
Source: https://github.com/Yash-Awasthi/adapfit/tree/main/.agents/skills/devops-deployment
Command: npx skills add https://github.com/Yash-Awasthi/adapfit --skill devops-deployment-yash-awasthi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up CI/CD pipelines, containerizing applications, and deploying to Kubernetes or PaaS platforms involves repetitive, error-prone configuration work across many tools. This Skill provides tested templates, security-hardened patterns, and house rules so deployments follow best practices from the start. ## Core Features & Use Cases - CI/CD Pipeline Generation: Creates GitHub Actions workflows with lint, test, security scan, build, and staged deploy phases, including dependency caching and branch protection rules. - Container & Kubernetes Patterns: Produces multi-stage Dockerfiles with non-root users, plus Kubernetes manifests with probes, resource limits, PodDisruptionBudgets, and External Secrets integration. - Deployment Strategies & Migrations: Covers rolling, blue-green, and canary deployments plus zero-downtime three-phase database migrations. - Use Case: Ask it to set up a GitHub Actions pipeline for a Node.js app with Docker deployment to Kubernetes, and it generates the workflow, hardened Dockerfile, and K8s manifests with TLS ingress and autoscaling. ## Quick Start Ask the assistant to set up a CI/CD pipeline with Docker and Kubernetes deployment for your application.

Frequently Asked Questions about devops-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a GitHub Actions CI/CD pipeline with Docker deployment?▼

The skill generates a six-stage GitHub Actions workflow covering lint, test, security scan, Docker build and push, staging deploy, and production deploy. It includes dependency caching with lockfile-hashed keys and Trivy vulnerability scanning.

How do I reduce Docker image size with multi-stage builds?▼

Use separate stages for dependency installation, building, and a minimal production runtime, copying only production node_modules and compiled artifacts into the final stage. This pattern reduces a typical Node.js image from about 850 MB to 180 MB.

Should I use Nixpacks or a Dockerfile for Railway deployment?▼

Use Nixpacks for standard app stacks since it auto-detects the language and requires zero configuration. Switch to a Dockerfile when you need multi-stage builds, custom base images, or system dependencies Nixpacks does not support.

How do I add a NOT NULL column without downtime during deployment?▼

Use a three-phase migration: add the column as nullable, deploy code that writes to it and backfill existing rows, then add the NOT NULL constraint. Always deploy migrations before the application code that depends on them.

What security hardening should a production Dockerfile include?▼

Run as a non-root user with the USER directive, never pass secrets via ARG or ENV, use a .dockerignore to exclude .env and .git, prefer alpine base images, and add a HEALTHCHECK for orchestrator integration.

When should I use blue-green versus canary deployment?▼

Blue-green suits instant rollback needs but doubles resource usage, while canary limits blast radius by shifting traffic gradually at the cost of more complex traffic management. Rolling updates remain the default for zero-downtime with automatic rollback.