darknecrocities/skillbuilder/devops

Claude Code and agent skill by darknecrocities/skillbuilder

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Architect, implement, and maintain secure cloud infrastructure on GCP/AWS, multi-stage non-root Docker containers, Terraform IaC, CI/CD pipelines, and OpenTelemetry observability.

Install

npx vskill@latest install darknecrocities/skillbuilder/devops

SKILL.md

The same SKILL.md was published earlier as darknecrocities/skillbuilder/devops.

Cloud, DevOps & Infrastructure Engineering (/devops)

Role: Principal Cloud & SRE / Platform Engineer
Philosophy: Infrastructure as Code. Principle of least privilege. Distroless non-root containers. Comprehensive telemetry. 5-gate pipeline quality.

This skill establishes cloud infrastructure and DevOps discipline across Google Cloud Platform (GCP), AWS, Docker, Kubernetes, and GitHub Actions. It enforces multi-stage containerization, non-root security contexts, declarative IaC, automated 5-gate CI/CD pipelines, and structured telemetry.


1. Quick Navigation & Progressive Disclosure

Resource TypeDocumentDescription
Referencereferences/cloud-architecture-and-gcp.mdGCP Cloud Run, GKE, IAM least-privilege roles, Secret Manager.
Referencereferences/container-security-and-distroless.mdMulti-stage builds, non-root security (USER 10001), minimal base images.
Referencereferences/observability-and-telemetry.mdStructured JSON logging, OpenTelemetry distributed tracing, metrics.
Referencereferences/ci-cd-pipelines.md5-gate GitHub Actions CI pipeline architecture.
Referencereferences/cloud-error-catalog.mdCatalog of cloud errors: OOMKilled, CrashLoopBackOff, IAM permissions.
Templatetemplates/github_actions_reusable_workflow.ymlProduction GitHub Actions CI/CD pipeline template.
Templatetemplates/cloud_run_service.tfProduction Terraform manifest for GCP Cloud Run with Secret Manager.
Utilityscripts/verify_container_security.pyCLI auditor for Dockerfile security guardrails and non-root users.

2. Hardened Multi-Stage Container Standard

Never deploy single-stage Docker containers with root UID 0 or build compilers in production. Follow the multi-stage non-root pattern:

mermaid
flowchart LR
A["Stage 1: Build (Node / Rust / Go)"] -->|Copies Artifacts Only| B["Stage 2: Distroless / Slim Runtime"]
B --> C["Assign Non-Root USER 10001"]
C --> D["Attach /healthz Health Check"]
D --> E["Minimal Attack Surface Image"]
Production Dockerfile Template:
dockerfile
# Stage 1: Dependency resolution and compilation
FROM node:20-alpine AS builder
WORKDIR /app
RUN apk add --no-cache libc6-compat
COPY package*.json ./
RUN npm ci --prefer-offline --no-audit
COPY . .
RUN npm run build && npm prune --production
# Stage 2: Minimal non-root production runtime
FROM gcr.io/distroless/nodejs20-debian12:nonroot AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV PORT=8080
# Run as non-root user (distroless nonroot is UID 65532, custom alpine is UID 10001)
USER 65532:65532
COPY --from=builder /app/package.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --retries=3 \
CMD ["node", "-e", "fetch('http://localhost:8080/healthz').then(r => r.ok ? process.exit(0) : process.exit(1)).catch(() => process.exit(1))"]
CMD ["dist/server.js"]

3. The 5-Gate CI/CD Pipeline Standard

Every pull request must pass the 5 automated quality gates before merge authorization:

mermaid
flowchart TD
A["Pull Request Opened"] --> B["Gate 1: Static Analysis, Linter & Line Limits"]
B --> C["Gate 2: Security Vulnerability Scan (Trivy / Snyk)"]
C --> D["Gate 3: Automated Unit & Invariant Tests"]
D --> E["Gate 4: Integration & E2E Verification"]
E --> F["Gate 5: Docker Container Build & Size Budget"]
F --> G["Merge Authorized"]
  1. Gate 1 - Static Analysis: check_source_line_limits.py, ESLint, Prettier, TypeScript strict check (tsc --noEmit).
  2. Gate 2 - Security Audit: npm audit --audit-level=high, secret scanner (gitleaks), container CVE scan.
  3. Gate 3 - Unit Testing: Fast unit tests with code coverage thresholds (>= 80%).
  4. Gate 4 - Integration Testing: Spin up database service containers, execute integration suites.
  5. Gate 5 - Container Verification: Verify Docker build executes non-root, image size under budget (< 200MB).

4. Automation Tool: Container Security Verifier

Audit Dockerfiles and container configurations for security compliance:

bash
python3 skills/devops/scripts/verify_container_security.py --path Dockerfile

Verifies:

  • Explicit multi-stage build structure.
  • Non-root user declaration (USER <non-root-uid>).
  • Health check directive defined.
  • Sensitive files excluded via .dockerignore.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/darknecrocities/skillbuilder/devops/badge)](https://verified-skill.com/skills/darknecrocities/skillbuilder/devops)

Something wrong with this skill or its page? Tell us.