devops-patterns
CommunityNix-first DevOps: reproducible, fast, consistent.
Software Engineering#automation#devops#ci/cd#containerization#nix#reproducibility#nix2container#process-compose
Authoraitchwhy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill establishes a "Nix-first" DevOps philosophy, ensuring that local development, CI, and production environments are identical and fully reproducible. It eliminates "works on my machine" issues, accelerates iteration, and simplifies deployment by leveraging Nix's hermetic builds.
Core Features & Use Cases
- Blocked Files & Commands: Enforces strict adherence by blocking traditional Dockerfiles,
docker-compose, andnpm run devcommands, guiding users to Nix-native alternatives. - process-compose for Local Dev: Guides on using
process-composefor local service orchestration, replacingdocker-composewith a declarative, Nix-integrated approach. - nix2container for OCI Images: Provides patterns for building minimal, reproducible OCI container images directly from Nix, eliminating Dockerfiles and ensuring tiny, optimized artifacts.
- GitHub Actions Workflow: Outlines a CI/CD pipeline that leverages
nix buildandnix2containerfor fast, reproducible builds and container pushes directly to registries. - Use Case: A developer needs to set up a new microservice. They can use this skill to define their local development services in
process-compose.yaml, build their application withnix build, and create a container image withnix2container, ensuring a consistent and reproducible workflow from day one.
Quick Start
Refactor the 'docker-compose.yml' file into a 'process-compose.yaml' for local development, defining the 'api' and 'db' services.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: devops-patterns Download link: https://github.com/aitchwhy/dotfiles/archive/main.zip#devops-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.