patterns-devops

Automate DevOps workflows from local CI to deployment with Justfile and Docker.

9|Updated Jan 31, 2017
One-click install
npx skills add https://github.com/ssiumha/dots --skill patterns-devops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: patterns-devops
Source: https://github.com/ssiumha/dots/tree/main/prompts/skills/patterns-devops
Command: npx skills add https://github.com/ssiumha/dots --skill patterns-devops

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solves? This Skill provides standardized, efficient patterns for common DevOps tasks, reducing setup time and ensuring consistent practices across projects. It helps developers and teams implement robust local CI, reliable CI/CD pipelines, efficient Docker environments, and automated deployments, minimizing manual errors and accelerating delivery.

Core Features & Use Cases

  • Local CI Automation: Implements Justfile for streamlined local linting, testing, and formatting, including advanced E2E tests with dedicated DB containers. Use it to ensure code quality and catch issues early in the development cycle before committing.
  • CI/CD Pipeline Setup: Guides the creation of robust CI/CD pipelines using GitHub Actions or GitLab CI, complete with caching strategies, matrix builds, and service containers. Ideal for automating build, test, and deployment processes across different environments.
  • Docker & Deployment: Offers best practices for Docker containerization, compose.yaml configurations for development and production, and automated deployment with tools like PM2, including zero-downtime strategies. Use it to containerize your applications and set up reliable, automated deployments.

Quick Start

Set up local CI automation for my TypeScript project, including linting, unit tests, and E2E tests with a PostgreSQL container.

Frequently Asked Questions about patterns-devops

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

FAQPage Schema
How do I automate CI/CD pipelines with GitHub Actions or GitLab CI?

CI/CD pipeline automation configures build, test, and deployment jobs in GitHub Actions or GitLab CI with caching, matrix builds, and service containers. This Skill provides templates for robust pipelines that run tests across environments and deploy automatically, reducing manual steps and catching failures early.

What's the best way to set up local CI with Justfile for TypeScript projects?

Justfile automation runs linting, formatting, and testing locally before committing. For TypeScript, it integrates tools like Biome and executes E2E tests with real database containers, catching code quality issues early and standardizing workflows across your team.

Can I use Docker and compose.yaml for both development and production environments?

Docker containerization with compose.yaml configurations supports both development and production setups. This Skill covers multi-environment patterns, healthchecks, and caching strategies to ensure consistent, efficient deployments across environments.

How do I implement zero-downtime deployment with Docker and PM2?

Zero-downtime deployment automates application updates without service interruption using PM2 and Docker orchestration. This Skill provides patterns for graceful restarts, health monitoring, and automated rollout strategies that maintain availability during deploys.

What's the difference between local CI with Justfile and server-side CI/CD pipelines?

Local CI with Justfile runs tests and checks on your machine before committing, catching issues immediately. Server-side CI/CD pipelines automate the same processes on every push across multiple environments. Together, they create a complete quality gate from development through production.

Do I need Docker knowledge to set up deployment automation?

Docker fundamentals help but aren't required. This Skill provides standardized compose.yaml patterns and deployment configurations that work without deep Docker expertise, letting you containerize applications and automate deployments with best-practice templates.