Creator · CloudAI-X
Last updated · Sep 2, 2026
Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infra
Creator · CloudAI-X
Last updated · Sep 2, 2026
Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infra
Creator · CloudAI-X
Last updated · Sep 2, 2026
Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infra
Creator · CloudAI-X
Last updated · Sep 2, 2026
Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infra
Sandbox only
Install targets
Codex install prompt
Install the "devops-infrastructure" agent skill from https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/devops-infrastructure. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"cloudai-x-devops-infrastructure","task":"Install devops-infrastructure","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Maintenance
fresh
12d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.4K
78/100 Quality · 76/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.4K GitHub stars
Repo activity
1.4K stars, 189 forks
Maintenance
12d since push
License
MIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
Agent should check
Copy prompt
Task: Use devops-infrastructure in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install
Install command: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
LLM text format
/api/skills/cloudai-x-devops-infrastructure/install?format=text
Find alternatives
/api/skills/search?q=devops-infrastructure&limit=3
Agent prompt
Use devops-infrastructure for this task. Review https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install, then install with: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/cloudai-x-devops-infrastructure
LLM text
/api/registry/manifest/cloudai-x-devops-infrastructure?format=text
Install alias
/api/registry/install/cloudai-x-devops-infrastructure
Recommend
/api/registry/recommend?task=Use%20devops-infrastructure%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.4K GitHub stars
Stars/forks activity
INFO1.4K stars, 189 forks; issue activity unavailable in current metadata
Recent maintenance
PASS12d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: devops-infrastructure description: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. ---
# DevOps & Infrastructure
### When to Load
- **Trigger**: Docker, CI/CD pipelines, deployment configuration, monitoring, infrastructure as code - **Skip**: Application logic only with no infrastructure or deployment concerns
## DevOps Workflow
Copy this checklist and track progress:
``` DevOps Setup Progress: - [ ] Step 1: Containerize application (Dockerfile) - [ ] Step 2: Set up CI/CD pipeline - [ ] Step 3: Define deployment strategy - [ ] Step 4: Configure monitoring & alerting - [ ] Step 5: Set up environment management - [ ] Step 6: Document runbooks - [ ] Step 7: Validate against anti-patterns checklist ```
## Docker Best Practices
### Multi-Stage Build
```dockerfile # WRONG: Single stage, bloated image FROM node:20 WORKDIR /app COPY . . RUN npm install RUN npm run build CMD ["node", "dist/index.js"] # Result: 1.2GB image with devDependencies and source code
# CORRECT: Multi-stage build FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build
FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser COPY --from=builder /app/dist ./dist COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ USER appuser EXPOSE 3000 CMD ["node", "dist/index.js"] # Result: ~150MB image, no devDependencies, non-root user ```
### Python Multi-Stage
```dockerfile FROM python:3.12-slim AS builder WORKDIR /app RUN pip install uv COPY pyproject.toml uv.lock ./ RUN uv sync --frozen --no-dev COPY . .
FROM python:3.12-slim AS runner WORKDIR /app RUN useradd -r -s /bin/false appuser COPY --from=builder /app/.venv /app/.venv COPY --from=builder /app/src ./src ENV PATH="/app/.venv/bin:$PATH" USER appuser CMD ["python", "-m", "src.main"] ```
### Layer Caching
```dockerfile # WRONG: Cache busted on every code change COPY . . RUN npm ci
# CORRECT: Dependencies cached separately COPY package*.json ./ RUN npm ci # cached unless package.json changes COPY . . # only source code changes bust this layer ```
### .dockerignore
``` node_modules .git .env *.md .vscode coverage dist __pycache__ .pytest_cache *.pyc ```
### Security
```dockerfile # Always pin versions FROM node:20.11.0-alpine # NOT node:latest
# Don't run as root USER appuser
# Read-only filesystem where possible # docker run --read-only --tmpfs /tmp myapp
# Scan images # docker scout cves myimage:latest # trivy image myimage:latest ```
## CI/CD Pipeline Design
### GitHub Actions Structure
```yaml name: CI/CD on: push: branches: [main] pull_request: branches: [main]
jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm run lint
test: runs-on: ubuntu-latest needs: lint services: postgres: image: postgres:16 env: POSTGRES_DB: testdb ports: ["5432:5432"] options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm test
build: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v5 with: push: ${{ github.event_name == 'push' }} tags: ghcr.io/${{ github.repository }}:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max
deploy: runs-on: ubuntu-latest needs: build if: github.ref == 'refs/heads/main' environment: production steps: - run: echo "Deploy to production" ```
### Caching Strategies
```yaml # Node modules - uses: actions/setup-node@v4 with: cache: "npm"
# Python with uv - name: Cache uv uses: actions/cache@v4 with: path: ~/.cache/uv key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# Docker layer caching - uses: docker/build-push-action@v5 with: cache-from: type=gha cache-to: type=gha,mode=max ```
## Deployment Strategies
### Blue-Green Deployment
``` 1. Run two identical environments: Blue (live) and Green (idle) 2. Deploy new version to Green 3. Run smoke tests on Green 4. Switch load balancer to Green 5. Green is now live, Blue is idle 6. Rollback: switch back to Blue
Pros: Instant rollback, zero downtime Cons: 2x infrastructure cost during deploy ```
### Canary Deployment
``` 1. Deploy new version to small subset (5% of traffic) 2. Monitor error rates and latency 3. Gradually increase: 5% -> 25% -> 50% -> 100% 4. Rollback: route all traffic back to old version
Pros: Limited blast radius, real-world testing Cons: More complex routing, longer rollout ```
### Rolling Deployment
``` 1. Replace instances one at a time 2. Each new instance passes health checks before next starts 3. Continue until all instances updated
Pros: No extra infrastructure, gradual rollout Cons: Mixed versions during deploy, slower rollback ```
### Feature Flags
```typescript // Simple feature flag implementation const features = { NEW_CHECKOUT: process.env.FF_NEW_CHECKOUT === "true", DARK_MODE: process.env.FF_DARK_MODE === "true", };
function getCheckoutFlow(user: User) { if (features.NEW_CHECKOUT && user.betaGroup) { return newCheckoutFlow(user); } return legacyCheckoutFlow(user); }
// Use a proper service for production: LaunchDarkly, Unleash, Flagsmith ```
## Infrastructure as Code
### Terraform Basics
```hcl # main.tf terraform { required_version = ">= 1.5" backend "s3" { bucket = "myapp-terraform-state" key = "prod/terraform.tfstate" region = "us-east-1" } }
resource "aws_instance" "web" { ami = var.ami_id instance_type = var.instance_type tags = { Name = "web-${var.environment}" Environment = var.environment ManagedBy = "terraform" } }
# variables.tf variable "environment" { type = string default = "dev" }
variable "instance_type" { type = string default = "t3.micro" } ```
### Terraform Rules
``` 1. Always use remote state (S3, GCS, Terraform Cloud) 2. Lock state files to prevent concurrent modifications 3. Use variables and modules for reusability 4. Tag all resources with environment and ManagedBy 5. Run `terraform plan` before `terraform apply` 6. Never edit infrastructure manually (all changes via code) 7. Use workspaces or separate state files per environment ```
## Monitoring & Observability
### The Three Pillars
``` METRICS: Numeric measurements over time - Request rate, error rate, latency (RED method) - CPU, memory, disk, network (USE method) - Business metrics (signups, purchases) Tools: Prometheus, Datadog, CloudWatch
LOGS: Discrete events with context - Structured JSON format - Correlation IDs across services - Log levels: DEBUG, INFO, WARN, ERROR Tools: ELK Stack, Loki, CloudWatch Logs
TRACES: Request flow across services - Distributed tracing with span context - Latency breakdown per service - Dependency mapping Tools: Jaeger, Zipkin, Datadog APM ```
### Health Check Endpoint
```typescript // Express health check app.get("/health", async (req, res) => { const checks = { uptime: process.uptime(), timestamp: Date.now(), database: "unknown", redis: "unknown", };
try { await db.query("SELECT 1"); checks.database = "healthy"; } catch (e) { checks.database = "unhealthy"; }
try { await redis.ping(); checks.redis = "healthy"; } catch (e) { checks.redis = "unhealthy"; }
const isHealthy = checks.database === "healthy"; res.status(isHealthy ? 200 : 503).json(checks); }); ```
### Alerting Rules
``` Good alerts: - Error rate > 1% for 5 minutes (actionable) - P99 latency > 2s for 10 minutes (meaningful) - Disk usage > 80% (preventive)
Bad alerts: - CPU spike for 30 seconds (too noisy) - Any single 500 error (too sensitive) - "Something might be wrong" (not actionable)
Alert fatigue is real. Every alert should require human action. ```
## Environment Management
### Dev/Staging/Prod Parity
```yaml # docker-compose.yml for local development services: app: build: . env_file: .env ports: ["3000:3000"] depends_on: postgres: condition: service_healthy
postgres: image: postgres:16 environment: POSTGRES_DB: myapp healthcheck: test: ["CMD-SHELL", "pg_isready"] interval: 5s volumes: - pgdata:/var/lib/postgresql/data
redis: image: redis:7-alpine ports: ["6379:6379"]
volumes: pgdata: ```
### Environment Variables
``` # .env.example (committed to git, no real values) DATABASE_URL=postgresql://user:placeholder@localhost:5432/myapp REDIS_URL=redis://localhost:6379 LOG_LEVEL=debug API_KEY=your-key-here
# .env (never committed, listed in .gitignore) # Contains real values for local development ```
## Common Anti-Patterns Summary
``` AVOID DO INSTEAD ------------------------------------------------------------------- FROM node:latest Pin exact versions (node:20.11.0-alpine) Running as root in container Create and use non-root user No .dockerignore Exclude .git, node_modules, .env Single CI job does everything Separate lint, test, build, deploy stages Manual deployment Automated pipeline with approvals No health checks Liveness + readiness probes Alerts on every error Alert on error RATE thresholds Same config in all environments Per-environment configuration No rollback plan Test rollback before every deploy Logs as unstructured strings Structured JSON logs with correlation IDs ```
Source provenance
Decision snapshot
1,413 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for devops-infrastructure, ready for a manual X post.
devops-infrastructure: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observabil... 1.4K stars https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x
Listing + install path for devops-infrastructure: https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x Install: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CloudAI-X but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure/audit)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CloudAI-X
@cloudai-x
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsSandbox only
Install targets
Codex install prompt
Install the "devops-infrastructure" agent skill from https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/devops-infrastructure. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"cloudai-x-devops-infrastructure","task":"Install devops-infrastructure","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Maintenance
fresh
12d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.4K
78/100 Quality · 76/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.4K GitHub stars
Repo activity
1.4K stars, 189 forks
Maintenance
12d since push
License
MIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
Agent should check
Copy prompt
Task: Use devops-infrastructure in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install
Install command: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
LLM text format
/api/skills/cloudai-x-devops-infrastructure/install?format=text
Find alternatives
/api/skills/search?q=devops-infrastructure&limit=3
Agent prompt
Use devops-infrastructure for this task. Review https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install, then install with: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/cloudai-x-devops-infrastructure
LLM text
/api/registry/manifest/cloudai-x-devops-infrastructure?format=text
Install alias
/api/registry/install/cloudai-x-devops-infrastructure
Recommend
/api/registry/recommend?task=Use%20devops-infrastructure%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.4K GitHub stars
Stars/forks activity
INFO1.4K stars, 189 forks; issue activity unavailable in current metadata
Recent maintenance
PASS12d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: devops-infrastructure description: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. ---
# DevOps & Infrastructure
### When to Load
- **Trigger**: Docker, CI/CD pipelines, deployment configuration, monitoring, infrastructure as code - **Skip**: Application logic only with no infrastructure or deployment concerns
## DevOps Workflow
Copy this checklist and track progress:
``` DevOps Setup Progress: - [ ] Step 1: Containerize application (Dockerfile) - [ ] Step 2: Set up CI/CD pipeline - [ ] Step 3: Define deployment strategy - [ ] Step 4: Configure monitoring & alerting - [ ] Step 5: Set up environment management - [ ] Step 6: Document runbooks - [ ] Step 7: Validate against anti-patterns checklist ```
## Docker Best Practices
### Multi-Stage Build
```dockerfile # WRONG: Single stage, bloated image FROM node:20 WORKDIR /app COPY . . RUN npm install RUN npm run build CMD ["node", "dist/index.js"] # Result: 1.2GB image with devDependencies and source code
# CORRECT: Multi-stage build FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build
FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser COPY --from=builder /app/dist ./dist COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ USER appuser EXPOSE 3000 CMD ["node", "dist/index.js"] # Result: ~150MB image, no devDependencies, non-root user ```
### Python Multi-Stage
```dockerfile FROM python:3.12-slim AS builder WORKDIR /app RUN pip install uv COPY pyproject.toml uv.lock ./ RUN uv sync --frozen --no-dev COPY . .
FROM python:3.12-slim AS runner WORKDIR /app RUN useradd -r -s /bin/false appuser COPY --from=builder /app/.venv /app/.venv COPY --from=builder /app/src ./src ENV PATH="/app/.venv/bin:$PATH" USER appuser CMD ["python", "-m", "src.main"] ```
### Layer Caching
```dockerfile # WRONG: Cache busted on every code change COPY . . RUN npm ci
# CORRECT: Dependencies cached separately COPY package*.json ./ RUN npm ci # cached unless package.json changes COPY . . # only source code changes bust this layer ```
### .dockerignore
``` node_modules .git .env *.md .vscode coverage dist __pycache__ .pytest_cache *.pyc ```
### Security
```dockerfile # Always pin versions FROM node:20.11.0-alpine # NOT node:latest
# Don't run as root USER appuser
# Read-only filesystem where possible # docker run --read-only --tmpfs /tmp myapp
# Scan images # docker scout cves myimage:latest # trivy image myimage:latest ```
## CI/CD Pipeline Design
### GitHub Actions Structure
```yaml name: CI/CD on: push: branches: [main] pull_request: branches: [main]
jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm run lint
test: runs-on: ubuntu-latest needs: lint services: postgres: image: postgres:16 env: POSTGRES_DB: testdb ports: ["5432:5432"] options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm test
build: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v5 with: push: ${{ github.event_name == 'push' }} tags: ghcr.io/${{ github.repository }}:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max
deploy: runs-on: ubuntu-latest needs: build if: github.ref == 'refs/heads/main' environment: production steps: - run: echo "Deploy to production" ```
### Caching Strategies
```yaml # Node modules - uses: actions/setup-node@v4 with: cache: "npm"
# Python with uv - name: Cache uv uses: actions/cache@v4 with: path: ~/.cache/uv key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# Docker layer caching - uses: docker/build-push-action@v5 with: cache-from: type=gha cache-to: type=gha,mode=max ```
## Deployment Strategies
### Blue-Green Deployment
``` 1. Run two identical environments: Blue (live) and Green (idle) 2. Deploy new version to Green 3. Run smoke tests on Green 4. Switch load balancer to Green 5. Green is now live, Blue is idle 6. Rollback: switch back to Blue
Pros: Instant rollback, zero downtime Cons: 2x infrastructure cost during deploy ```
### Canary Deployment
``` 1. Deploy new version to small subset (5% of traffic) 2. Monitor error rates and latency 3. Gradually increase: 5% -> 25% -> 50% -> 100% 4. Rollback: route all traffic back to old version
Pros: Limited blast radius, real-world testing Cons: More complex routing, longer rollout ```
### Rolling Deployment
``` 1. Replace instances one at a time 2. Each new instance passes health checks before next starts 3. Continue until all instances updated
Pros: No extra infrastructure, gradual rollout Cons: Mixed versions during deploy, slower rollback ```
### Feature Flags
```typescript // Simple feature flag implementation const features = { NEW_CHECKOUT: process.env.FF_NEW_CHECKOUT === "true", DARK_MODE: process.env.FF_DARK_MODE === "true", };
function getCheckoutFlow(user: User) { if (features.NEW_CHECKOUT && user.betaGroup) { return newCheckoutFlow(user); } return legacyCheckoutFlow(user); }
// Use a proper service for production: LaunchDarkly, Unleash, Flagsmith ```
## Infrastructure as Code
### Terraform Basics
```hcl # main.tf terraform { required_version = ">= 1.5" backend "s3" { bucket = "myapp-terraform-state" key = "prod/terraform.tfstate" region = "us-east-1" } }
resource "aws_instance" "web" { ami = var.ami_id instance_type = var.instance_type tags = { Name = "web-${var.environment}" Environment = var.environment ManagedBy = "terraform" } }
# variables.tf variable "environment" { type = string default = "dev" }
variable "instance_type" { type = string default = "t3.micro" } ```
### Terraform Rules
``` 1. Always use remote state (S3, GCS, Terraform Cloud) 2. Lock state files to prevent concurrent modifications 3. Use variables and modules for reusability 4. Tag all resources with environment and ManagedBy 5. Run `terraform plan` before `terraform apply` 6. Never edit infrastructure manually (all changes via code) 7. Use workspaces or separate state files per environment ```
## Monitoring & Observability
### The Three Pillars
``` METRICS: Numeric measurements over time - Request rate, error rate, latency (RED method) - CPU, memory, disk, network (USE method) - Business metrics (signups, purchases) Tools: Prometheus, Datadog, CloudWatch
LOGS: Discrete events with context - Structured JSON format - Correlation IDs across services - Log levels: DEBUG, INFO, WARN, ERROR Tools: ELK Stack, Loki, CloudWatch Logs
TRACES: Request flow across services - Distributed tracing with span context - Latency breakdown per service - Dependency mapping Tools: Jaeger, Zipkin, Datadog APM ```
### Health Check Endpoint
```typescript // Express health check app.get("/health", async (req, res) => { const checks = { uptime: process.uptime(), timestamp: Date.now(), database: "unknown", redis: "unknown", };
try { await db.query("SELECT 1"); checks.database = "healthy"; } catch (e) { checks.database = "unhealthy"; }
try { await redis.ping(); checks.redis = "healthy"; } catch (e) { checks.redis = "unhealthy"; }
const isHealthy = checks.database === "healthy"; res.status(isHealthy ? 200 : 503).json(checks); }); ```
### Alerting Rules
``` Good alerts: - Error rate > 1% for 5 minutes (actionable) - P99 latency > 2s for 10 minutes (meaningful) - Disk usage > 80% (preventive)
Bad alerts: - CPU spike for 30 seconds (too noisy) - Any single 500 error (too sensitive) - "Something might be wrong" (not actionable)
Alert fatigue is real. Every alert should require human action. ```
## Environment Management
### Dev/Staging/Prod Parity
```yaml # docker-compose.yml for local development services: app: build: . env_file: .env ports: ["3000:3000"] depends_on: postgres: condition: service_healthy
postgres: image: postgres:16 environment: POSTGRES_DB: myapp healthcheck: test: ["CMD-SHELL", "pg_isready"] interval: 5s volumes: - pgdata:/var/lib/postgresql/data
redis: image: redis:7-alpine ports: ["6379:6379"]
volumes: pgdata: ```
### Environment Variables
``` # .env.example (committed to git, no real values) DATABASE_URL=postgresql://user:placeholder@localhost:5432/myapp REDIS_URL=redis://localhost:6379 LOG_LEVEL=debug API_KEY=your-key-here
# .env (never committed, listed in .gitignore) # Contains real values for local development ```
## Common Anti-Patterns Summary
``` AVOID DO INSTEAD ------------------------------------------------------------------- FROM node:latest Pin exact versions (node:20.11.0-alpine) Running as root in container Create and use non-root user No .dockerignore Exclude .git, node_modules, .env Single CI job does everything Separate lint, test, build, deploy stages Manual deployment Automated pipeline with approvals No health checks Liveness + readiness probes Alerts on every error Alert on error RATE thresholds Same config in all environments Per-environment configuration No rollback plan Test rollback before every deploy Logs as unstructured strings Structured JSON logs with correlation IDs ```
Source provenance
Decision snapshot
1,413 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for devops-infrastructure, ready for a manual X post.
devops-infrastructure: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observabil... 1.4K stars https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x
Listing + install path for devops-infrastructure: https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x Install: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CloudAI-X but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure/audit)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CloudAI-X
@cloudai-x
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsSandbox only
Install targets
Codex install prompt
Install the "devops-infrastructure" agent skill from https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/devops-infrastructure. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"cloudai-x-devops-infrastructure","task":"Install devops-infrastructure","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Maintenance
fresh
12d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.4K
78/100 Quality · 76/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.4K GitHub stars
Repo activity
1.4K stars, 189 forks
Maintenance
12d since push
License
MIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
Agent should check
Copy prompt
Task: Use devops-infrastructure in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install
Install command: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
LLM text format
/api/skills/cloudai-x-devops-infrastructure/install?format=text
Find alternatives
/api/skills/search?q=devops-infrastructure&limit=3
Agent prompt
Use devops-infrastructure for this task. Review https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install, then install with: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/cloudai-x-devops-infrastructure
LLM text
/api/registry/manifest/cloudai-x-devops-infrastructure?format=text
Install alias
/api/registry/install/cloudai-x-devops-infrastructure
Recommend
/api/registry/recommend?task=Use%20devops-infrastructure%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.4K GitHub stars
Stars/forks activity
INFO1.4K stars, 189 forks; issue activity unavailable in current metadata
Recent maintenance
PASS12d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: devops-infrastructure description: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. ---
# DevOps & Infrastructure
### When to Load
- **Trigger**: Docker, CI/CD pipelines, deployment configuration, monitoring, infrastructure as code - **Skip**: Application logic only with no infrastructure or deployment concerns
## DevOps Workflow
Copy this checklist and track progress:
``` DevOps Setup Progress: - [ ] Step 1: Containerize application (Dockerfile) - [ ] Step 2: Set up CI/CD pipeline - [ ] Step 3: Define deployment strategy - [ ] Step 4: Configure monitoring & alerting - [ ] Step 5: Set up environment management - [ ] Step 6: Document runbooks - [ ] Step 7: Validate against anti-patterns checklist ```
## Docker Best Practices
### Multi-Stage Build
```dockerfile # WRONG: Single stage, bloated image FROM node:20 WORKDIR /app COPY . . RUN npm install RUN npm run build CMD ["node", "dist/index.js"] # Result: 1.2GB image with devDependencies and source code
# CORRECT: Multi-stage build FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build
FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser COPY --from=builder /app/dist ./dist COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ USER appuser EXPOSE 3000 CMD ["node", "dist/index.js"] # Result: ~150MB image, no devDependencies, non-root user ```
### Python Multi-Stage
```dockerfile FROM python:3.12-slim AS builder WORKDIR /app RUN pip install uv COPY pyproject.toml uv.lock ./ RUN uv sync --frozen --no-dev COPY . .
FROM python:3.12-slim AS runner WORKDIR /app RUN useradd -r -s /bin/false appuser COPY --from=builder /app/.venv /app/.venv COPY --from=builder /app/src ./src ENV PATH="/app/.venv/bin:$PATH" USER appuser CMD ["python", "-m", "src.main"] ```
### Layer Caching
```dockerfile # WRONG: Cache busted on every code change COPY . . RUN npm ci
# CORRECT: Dependencies cached separately COPY package*.json ./ RUN npm ci # cached unless package.json changes COPY . . # only source code changes bust this layer ```
### .dockerignore
``` node_modules .git .env *.md .vscode coverage dist __pycache__ .pytest_cache *.pyc ```
### Security
```dockerfile # Always pin versions FROM node:20.11.0-alpine # NOT node:latest
# Don't run as root USER appuser
# Read-only filesystem where possible # docker run --read-only --tmpfs /tmp myapp
# Scan images # docker scout cves myimage:latest # trivy image myimage:latest ```
## CI/CD Pipeline Design
### GitHub Actions Structure
```yaml name: CI/CD on: push: branches: [main] pull_request: branches: [main]
jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm run lint
test: runs-on: ubuntu-latest needs: lint services: postgres: image: postgres:16 env: POSTGRES_DB: testdb ports: ["5432:5432"] options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm test
build: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v5 with: push: ${{ github.event_name == 'push' }} tags: ghcr.io/${{ github.repository }}:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max
deploy: runs-on: ubuntu-latest needs: build if: github.ref == 'refs/heads/main' environment: production steps: - run: echo "Deploy to production" ```
### Caching Strategies
```yaml # Node modules - uses: actions/setup-node@v4 with: cache: "npm"
# Python with uv - name: Cache uv uses: actions/cache@v4 with: path: ~/.cache/uv key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# Docker layer caching - uses: docker/build-push-action@v5 with: cache-from: type=gha cache-to: type=gha,mode=max ```
## Deployment Strategies
### Blue-Green Deployment
``` 1. Run two identical environments: Blue (live) and Green (idle) 2. Deploy new version to Green 3. Run smoke tests on Green 4. Switch load balancer to Green 5. Green is now live, Blue is idle 6. Rollback: switch back to Blue
Pros: Instant rollback, zero downtime Cons: 2x infrastructure cost during deploy ```
### Canary Deployment
``` 1. Deploy new version to small subset (5% of traffic) 2. Monitor error rates and latency 3. Gradually increase: 5% -> 25% -> 50% -> 100% 4. Rollback: route all traffic back to old version
Pros: Limited blast radius, real-world testing Cons: More complex routing, longer rollout ```
### Rolling Deployment
``` 1. Replace instances one at a time 2. Each new instance passes health checks before next starts 3. Continue until all instances updated
Pros: No extra infrastructure, gradual rollout Cons: Mixed versions during deploy, slower rollback ```
### Feature Flags
```typescript // Simple feature flag implementation const features = { NEW_CHECKOUT: process.env.FF_NEW_CHECKOUT === "true", DARK_MODE: process.env.FF_DARK_MODE === "true", };
function getCheckoutFlow(user: User) { if (features.NEW_CHECKOUT && user.betaGroup) { return newCheckoutFlow(user); } return legacyCheckoutFlow(user); }
// Use a proper service for production: LaunchDarkly, Unleash, Flagsmith ```
## Infrastructure as Code
### Terraform Basics
```hcl # main.tf terraform { required_version = ">= 1.5" backend "s3" { bucket = "myapp-terraform-state" key = "prod/terraform.tfstate" region = "us-east-1" } }
resource "aws_instance" "web" { ami = var.ami_id instance_type = var.instance_type tags = { Name = "web-${var.environment}" Environment = var.environment ManagedBy = "terraform" } }
# variables.tf variable "environment" { type = string default = "dev" }
variable "instance_type" { type = string default = "t3.micro" } ```
### Terraform Rules
``` 1. Always use remote state (S3, GCS, Terraform Cloud) 2. Lock state files to prevent concurrent modifications 3. Use variables and modules for reusability 4. Tag all resources with environment and ManagedBy 5. Run `terraform plan` before `terraform apply` 6. Never edit infrastructure manually (all changes via code) 7. Use workspaces or separate state files per environment ```
## Monitoring & Observability
### The Three Pillars
``` METRICS: Numeric measurements over time - Request rate, error rate, latency (RED method) - CPU, memory, disk, network (USE method) - Business metrics (signups, purchases) Tools: Prometheus, Datadog, CloudWatch
LOGS: Discrete events with context - Structured JSON format - Correlation IDs across services - Log levels: DEBUG, INFO, WARN, ERROR Tools: ELK Stack, Loki, CloudWatch Logs
TRACES: Request flow across services - Distributed tracing with span context - Latency breakdown per service - Dependency mapping Tools: Jaeger, Zipkin, Datadog APM ```
### Health Check Endpoint
```typescript // Express health check app.get("/health", async (req, res) => { const checks = { uptime: process.uptime(), timestamp: Date.now(), database: "unknown", redis: "unknown", };
try { await db.query("SELECT 1"); checks.database = "healthy"; } catch (e) { checks.database = "unhealthy"; }
try { await redis.ping(); checks.redis = "healthy"; } catch (e) { checks.redis = "unhealthy"; }
const isHealthy = checks.database === "healthy"; res.status(isHealthy ? 200 : 503).json(checks); }); ```
### Alerting Rules
``` Good alerts: - Error rate > 1% for 5 minutes (actionable) - P99 latency > 2s for 10 minutes (meaningful) - Disk usage > 80% (preventive)
Bad alerts: - CPU spike for 30 seconds (too noisy) - Any single 500 error (too sensitive) - "Something might be wrong" (not actionable)
Alert fatigue is real. Every alert should require human action. ```
## Environment Management
### Dev/Staging/Prod Parity
```yaml # docker-compose.yml for local development services: app: build: . env_file: .env ports: ["3000:3000"] depends_on: postgres: condition: service_healthy
postgres: image: postgres:16 environment: POSTGRES_DB: myapp healthcheck: test: ["CMD-SHELL", "pg_isready"] interval: 5s volumes: - pgdata:/var/lib/postgresql/data
redis: image: redis:7-alpine ports: ["6379:6379"]
volumes: pgdata: ```
### Environment Variables
``` # .env.example (committed to git, no real values) DATABASE_URL=postgresql://user:placeholder@localhost:5432/myapp REDIS_URL=redis://localhost:6379 LOG_LEVEL=debug API_KEY=your-key-here
# .env (never committed, listed in .gitignore) # Contains real values for local development ```
## Common Anti-Patterns Summary
``` AVOID DO INSTEAD ------------------------------------------------------------------- FROM node:latest Pin exact versions (node:20.11.0-alpine) Running as root in container Create and use non-root user No .dockerignore Exclude .git, node_modules, .env Single CI job does everything Separate lint, test, build, deploy stages Manual deployment Automated pipeline with approvals No health checks Liveness + readiness probes Alerts on every error Alert on error RATE thresholds Same config in all environments Per-environment configuration No rollback plan Test rollback before every deploy Logs as unstructured strings Structured JSON logs with correlation IDs ```
Source provenance
Decision snapshot
1,413 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for devops-infrastructure, ready for a manual X post.
devops-infrastructure: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observabil... 1.4K stars https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x
Listing + install path for devops-infrastructure: https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x Install: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CloudAI-X but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure/audit)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CloudAI-X
@cloudai-x
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsSandbox only
Install targets
Codex install prompt
Install the "devops-infrastructure" agent skill from https://github.com/CloudAI-X/claude-workflow-v2/tree/main/skills/devops-infrastructure. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"cloudai-x-devops-infrastructure","task":"Install devops-infrastructure","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.
Scenario
Coding agents
I need a coding agent that can understand a repository, edit code, and review pull requests.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Maintenance
fresh
12d since push
Risk
Needs review
Dependency or permission surface needs review
GitHub quality
1.4K
78/100 Quality · 76/100 Trust
Coverage tags
Review notes
Dependency or permission surface needs review · Permission surface may require sandboxing
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.4K GitHub stars
Repo activity
1.4K stars, 189 forks
Maintenance
12d since push
License
MIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureDo not use when
Alternative
174.6K Stars
npx skills add anthropics/skills --skill frontend-design
Alternative
84.6K Stars
npx skills add Leonxlnx/taste-skill --skill design-taste-frontend
Alternative
1.8K Stars
npx skills add Alisa0808/vox-director --skill vox-director
Alternative
174.6K Stars
npx skills add anthropics/skills --skill canvas-design
Agent safety v2
This skill should not be selected by an agent without explicit human security review.
Do not auto-install. Inspect the source, dependencies, and permission surface first.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
high
Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
Agent should check
Copy prompt
Task: Use devops-infrastructure in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20devops-infrastructure%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install
Install command: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/cloudai-x-devops-infrastructure/install
LLM text format
/api/skills/cloudai-x-devops-infrastructure/install?format=text
Find alternatives
/api/skills/search?q=devops-infrastructure&limit=3
Agent prompt
Use devops-infrastructure for this task. Review https://www.openagentskill.com/api/skills/cloudai-x-devops-infrastructure/install, then install with: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructureRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/cloudai-x-devops-infrastructure
LLM text
/api/registry/manifest/cloudai-x-devops-infrastructure?format=text
Install alias
/api/registry/install/cloudai-x-devops-infrastructure
Recommend
/api/registry/recommend?task=Use%20devops-infrastructure%20in%20an%20agent%20workflow&limit=3
Agent fit
Coding agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Coding agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.4K GitHub stars
Stars/forks activity
INFO1.4K stars, 189 forks; issue activity unavailable in current metadata
Recent maintenance
PASS12d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Build and ship code
I need a coding agent that can understand a repository, edit code, and review pull requests.
Manage repositories
I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.
Operate local tools
I need my agent to operate local files and desktop apps in a repeatable workflow.
Workflow fit
Inspect, patch, and verify code
A workflow for software agents that inspect repositories, review pull requests, generate tests, and turn findings into shippable patches.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Design, build, test, and ship interfaces
A practical workflow for agents that turn product briefs or Figma designs into polished frontend code, review the result, test it in a browser, and prepare a safe deployment.
Alternative shortlist
Similar skills that may fit this task.
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
--- name: devops-infrastructure description: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure. ---
# DevOps & Infrastructure
### When to Load
- **Trigger**: Docker, CI/CD pipelines, deployment configuration, monitoring, infrastructure as code - **Skip**: Application logic only with no infrastructure or deployment concerns
## DevOps Workflow
Copy this checklist and track progress:
``` DevOps Setup Progress: - [ ] Step 1: Containerize application (Dockerfile) - [ ] Step 2: Set up CI/CD pipeline - [ ] Step 3: Define deployment strategy - [ ] Step 4: Configure monitoring & alerting - [ ] Step 5: Set up environment management - [ ] Step 6: Document runbooks - [ ] Step 7: Validate against anti-patterns checklist ```
## Docker Best Practices
### Multi-Stage Build
```dockerfile # WRONG: Single stage, bloated image FROM node:20 WORKDIR /app COPY . . RUN npm install RUN npm run build CMD ["node", "dist/index.js"] # Result: 1.2GB image with devDependencies and source code
# CORRECT: Multi-stage build FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build
FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV=production RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser COPY --from=builder /app/dist ./dist COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ USER appuser EXPOSE 3000 CMD ["node", "dist/index.js"] # Result: ~150MB image, no devDependencies, non-root user ```
### Python Multi-Stage
```dockerfile FROM python:3.12-slim AS builder WORKDIR /app RUN pip install uv COPY pyproject.toml uv.lock ./ RUN uv sync --frozen --no-dev COPY . .
FROM python:3.12-slim AS runner WORKDIR /app RUN useradd -r -s /bin/false appuser COPY --from=builder /app/.venv /app/.venv COPY --from=builder /app/src ./src ENV PATH="/app/.venv/bin:$PATH" USER appuser CMD ["python", "-m", "src.main"] ```
### Layer Caching
```dockerfile # WRONG: Cache busted on every code change COPY . . RUN npm ci
# CORRECT: Dependencies cached separately COPY package*.json ./ RUN npm ci # cached unless package.json changes COPY . . # only source code changes bust this layer ```
### .dockerignore
``` node_modules .git .env *.md .vscode coverage dist __pycache__ .pytest_cache *.pyc ```
### Security
```dockerfile # Always pin versions FROM node:20.11.0-alpine # NOT node:latest
# Don't run as root USER appuser
# Read-only filesystem where possible # docker run --read-only --tmpfs /tmp myapp
# Scan images # docker scout cves myimage:latest # trivy image myimage:latest ```
## CI/CD Pipeline Design
### GitHub Actions Structure
```yaml name: CI/CD on: push: branches: [main] pull_request: branches: [main]
jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm run lint
test: runs-on: ubuntu-latest needs: lint services: postgres: image: postgres:16 env: POSTGRES_DB: testdb ports: ["5432:5432"] options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: "npm" - run: npm ci - run: npm test
build: runs-on: ubuntu-latest needs: test steps: - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - uses: docker/build-push-action@v5 with: push: ${{ github.event_name == 'push' }} tags: ghcr.io/${{ github.repository }}:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max
deploy: runs-on: ubuntu-latest needs: build if: github.ref == 'refs/heads/main' environment: production steps: - run: echo "Deploy to production" ```
### Caching Strategies
```yaml # Node modules - uses: actions/setup-node@v4 with: cache: "npm"
# Python with uv - name: Cache uv uses: actions/cache@v4 with: path: ~/.cache/uv key: uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
# Docker layer caching - uses: docker/build-push-action@v5 with: cache-from: type=gha cache-to: type=gha,mode=max ```
## Deployment Strategies
### Blue-Green Deployment
``` 1. Run two identical environments: Blue (live) and Green (idle) 2. Deploy new version to Green 3. Run smoke tests on Green 4. Switch load balancer to Green 5. Green is now live, Blue is idle 6. Rollback: switch back to Blue
Pros: Instant rollback, zero downtime Cons: 2x infrastructure cost during deploy ```
### Canary Deployment
``` 1. Deploy new version to small subset (5% of traffic) 2. Monitor error rates and latency 3. Gradually increase: 5% -> 25% -> 50% -> 100% 4. Rollback: route all traffic back to old version
Pros: Limited blast radius, real-world testing Cons: More complex routing, longer rollout ```
### Rolling Deployment
``` 1. Replace instances one at a time 2. Each new instance passes health checks before next starts 3. Continue until all instances updated
Pros: No extra infrastructure, gradual rollout Cons: Mixed versions during deploy, slower rollback ```
### Feature Flags
```typescript // Simple feature flag implementation const features = { NEW_CHECKOUT: process.env.FF_NEW_CHECKOUT === "true", DARK_MODE: process.env.FF_DARK_MODE === "true", };
function getCheckoutFlow(user: User) { if (features.NEW_CHECKOUT && user.betaGroup) { return newCheckoutFlow(user); } return legacyCheckoutFlow(user); }
// Use a proper service for production: LaunchDarkly, Unleash, Flagsmith ```
## Infrastructure as Code
### Terraform Basics
```hcl # main.tf terraform { required_version = ">= 1.5" backend "s3" { bucket = "myapp-terraform-state" key = "prod/terraform.tfstate" region = "us-east-1" } }
resource "aws_instance" "web" { ami = var.ami_id instance_type = var.instance_type tags = { Name = "web-${var.environment}" Environment = var.environment ManagedBy = "terraform" } }
# variables.tf variable "environment" { type = string default = "dev" }
variable "instance_type" { type = string default = "t3.micro" } ```
### Terraform Rules
``` 1. Always use remote state (S3, GCS, Terraform Cloud) 2. Lock state files to prevent concurrent modifications 3. Use variables and modules for reusability 4. Tag all resources with environment and ManagedBy 5. Run `terraform plan` before `terraform apply` 6. Never edit infrastructure manually (all changes via code) 7. Use workspaces or separate state files per environment ```
## Monitoring & Observability
### The Three Pillars
``` METRICS: Numeric measurements over time - Request rate, error rate, latency (RED method) - CPU, memory, disk, network (USE method) - Business metrics (signups, purchases) Tools: Prometheus, Datadog, CloudWatch
LOGS: Discrete events with context - Structured JSON format - Correlation IDs across services - Log levels: DEBUG, INFO, WARN, ERROR Tools: ELK Stack, Loki, CloudWatch Logs
TRACES: Request flow across services - Distributed tracing with span context - Latency breakdown per service - Dependency mapping Tools: Jaeger, Zipkin, Datadog APM ```
### Health Check Endpoint
```typescript // Express health check app.get("/health", async (req, res) => { const checks = { uptime: process.uptime(), timestamp: Date.now(), database: "unknown", redis: "unknown", };
try { await db.query("SELECT 1"); checks.database = "healthy"; } catch (e) { checks.database = "unhealthy"; }
try { await redis.ping(); checks.redis = "healthy"; } catch (e) { checks.redis = "unhealthy"; }
const isHealthy = checks.database === "healthy"; res.status(isHealthy ? 200 : 503).json(checks); }); ```
### Alerting Rules
``` Good alerts: - Error rate > 1% for 5 minutes (actionable) - P99 latency > 2s for 10 minutes (meaningful) - Disk usage > 80% (preventive)
Bad alerts: - CPU spike for 30 seconds (too noisy) - Any single 500 error (too sensitive) - "Something might be wrong" (not actionable)
Alert fatigue is real. Every alert should require human action. ```
## Environment Management
### Dev/Staging/Prod Parity
```yaml # docker-compose.yml for local development services: app: build: . env_file: .env ports: ["3000:3000"] depends_on: postgres: condition: service_healthy
postgres: image: postgres:16 environment: POSTGRES_DB: myapp healthcheck: test: ["CMD-SHELL", "pg_isready"] interval: 5s volumes: - pgdata:/var/lib/postgresql/data
redis: image: redis:7-alpine ports: ["6379:6379"]
volumes: pgdata: ```
### Environment Variables
``` # .env.example (committed to git, no real values) DATABASE_URL=postgresql://user:placeholder@localhost:5432/myapp REDIS_URL=redis://localhost:6379 LOG_LEVEL=debug API_KEY=your-key-here
# .env (never committed, listed in .gitignore) # Contains real values for local development ```
## Common Anti-Patterns Summary
``` AVOID DO INSTEAD ------------------------------------------------------------------- FROM node:latest Pin exact versions (node:20.11.0-alpine) Running as root in container Create and use non-root user No .dockerignore Exclude .git, node_modules, .env Single CI job does everything Separate lint, test, build, deploy stages Manual deployment Automated pipeline with approvals No health checks Liveness + readiness probes Alerts on every error Alert on error RATE thresholds Same config in all environments Per-environment configuration No rollback plan Test rollback before every deploy Logs as unstructured strings Structured JSON logs with correlation IDs ```
Source provenance
Decision snapshot
1,413 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for devops-infrastructure, ready for a manual X post.
devops-infrastructure: Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observabil... 1.4K stars https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x
Listing + install path for devops-infrastructure: https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=x Install: npx skills add CloudAI-X/claude-workflow-v2 --skill devops-infrastructure
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to CloudAI-X but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure/audit)
[](https://www.openagentskill.com/skills/cloudai-x-devops-infrastructure?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)CloudAI-X
@cloudai-x
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
Frontend Design
Guidance for distinctive, intentional UI design, typography, visual direction, and non-template-like product interfaces.
174.6K StarsTaste Skill: Anti-Slop Frontend
Design and implementation guidance for distinctive landing pages, portfolios, product demos, and purposeful redesigns.
84.6K StarsVox Director
Turn one topic into a narrated Vox-style paper-collage explainer or ad video, from script through captions.
1.8K StarsCanvas Design
Create original visual art, posters, PNG assets, and PDF documents through a clear design philosophy.
174.6K StarsPermission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
secrets or environment access, shell or command execution
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness