sundarshahi/drydock/devops
Claude Code and agent skill by sundarshahi/drydock
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
[drydock internal] Sets up deployment and infrastructure — Docker, CI/CD pipelines, cloud provisioning, environment configuration. Routed via the drydock orchestrator.
Install
npx vskill@latest install sundarshahi/drydock/devopsSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sundarshahi/drydock/devops.
DevOps
Protocols
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" input-validation !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" tool-efficiency !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" visual-identity !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" boundary-safety !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" observability-contract !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" architecture-boundaries !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" security-defaults !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" docs/architecture/performance-budget.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" config/feature-flags.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/codebase-context.md
Fallback (if protocols not loaded): Use AskUserQuestion with options (never open-ended), "Chat about this" last, recommended first. Work continuously. Print progress constantly. Validate inputs before starting — classify missing as Critical (stop), Degraded (warn, continue partial), or Optional (skip silently). Use parallel tool calls for independent reads. Use Grep to find the relevant lines, then Read with offset/limit.
Autonomy Level
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md
| Level | Behavior | |
|---|---|---|
| Autopilot | Fully autonomous. Use architecture's cloud choice. Sensible defaults for all infra. Report decisions in output. | |
| Copilot | Surface 1-2 critical decisions — container registry choice, CI provider (if not specified in architecture), monitoring stack. | |
| Checkpoint | Surface all major decisions. Show Dockerfile strategy, CI pipeline design, monitoring architecture before implementing. Ask about deployment strategy (blue-green, canary, rolling). | |
| Manual | Surface every decision. Walk through each Terraform module. Review CI pipeline stages. User approves monitoring alert thresholds. |
Progress Output
Follow drydock/.protocols/visual-identity.md. Print structured progress throughout execution.
Skill header (print on start):
Phase progress (print during execution):
Completion summary (print on finish — MUST include concrete numbers):
Brownfield Awareness
If drydock/.orchestrator/codebase-context.md exists and mode is brownfield:
- READ existing infrastructure first — check for Dockerfiles, CI configs, Terraform, K8s manifests
- EXTEND, don't replace — add new services to existing docker-compose, add jobs to existing CI
- NEVER overwrite — existing Dockerfile, workflows, or Terraform state
- Match existing patterns — if they use GitHub Actions, don't create GitLab CI. If they use Pulumi, don't create Terraform
Overview
Full DevOps pipeline generator: from infrastructure design to production-ready deployment with monitoring and security. Generates infrastructure and deployment artifacts at the project root (infrastructure/, .github/workflows/, Dockerfiles) with planning notes in drydock/devops/.
Hardening Contract — Generated Gates, Not Prose Standards
Core principle: every standard in this skill is a GENERATED ARTIFACT wired into a job/command that EXITS NON-ZERO on breach. A config file nothing runs does not count. Pipelines are FILLED IN from `skills/devops/templates/` (lint-clean reference) — the agent does not free-write YAML.
Reference templates (FILL IN — do not author from scratch)
Copy from skills/devops/templates/ and replace every <PLACEHOLDER>; keep the file green under the linters. See templates/README.md.
| Template | Copy to | Hardens | |
|---|---|---|---|
ci.yml | .github/workflows/ci.yml | lint-pipelines, coverage gate, make arch, SAST, Trivy | |
pr-checks.yml | .github/workflows/pr-checks.yml | patch-coverage, lhci+size-limit, stale-flags, docs-examples | |
cd-staging.yml | .github/workflows/cd-staging.yml | OIDC deploy, qa suite via workflow_call, k6 baseline gate | |
cd-production.yml | .github/workflows/cd-production.yml | SLSA provenance, cosign sign, syft SBOM, verify-attestation GATE, immutable digest | |
rollout-canary.yaml | infrastructure/kubernetes/<svc>/rollout.yaml | Argo Rollouts + AnalysisTemplate; canary FAIL → auto-rollback |
Blocking gates (each exits non-zero — no || true, no continue-on-error)
The user's policy: BLOCK `production-ready` on failing tests / coverage / perf / compliance / arch-boundary, WITH a logged "accepted with justification" override (an override.yaml entry referencing the breach + approver, surfaced at the gate). Mutation + property tests are default-on for critical modules. GitHub Actions templates first.
| Gate (job/command) | Artifact it reads | Fails when | |
|---|---|---|---|
Lint pipelines — actionlint, hadolint, tflint+terraform validate | every workflow / Dockerfile / IaC module | any lint error (record result in T7 receipt) | |
Coverage — make coverage-check | architecture-defined COVERAGE_MIN | below threshold | |
Patch-coverage — make patch-coverage (required check) | diff vs base | new lines below threshold | |
Arch-boundary — make arch | arch-lint config (architecture-boundaries.md) | inward-only law violated | |
| Frontend perf — lhci + size-limit | docs/architecture/performance-budget.yaml | LCP/INP/bundle over budget | |
Backend perf (POST-MERGE) — node tests/performance/compare-baseline.js (k6) | tests/performance/baselines/<scenario>.baseline.json + performance-budget.yaml | p95/p99 beyond +10% — runs on cd-staging, BLOCKS staging->prod promotion | |
Supply-chain verify — gh attestation verify + cosign verify | provenance + signature on the digest | unverifiable artifact — BLOCKS deploy | |
Stale-flag — make flags-check | config/feature-flags.yaml | flag past removal_by or not in registry | |
| Compliance | compliance-protocol.md checks | required control unmet |
Shared-contract guardrails (consistency with the BUILD skills)
- Loaders use the bundled helpers, never inline `||` chains — shared protocols load via
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" <name>`(the helper resolves plugin-root → script-relative → runtimedrydock/.protocols/internally, so never inline acator chain||, which the permission checker rejects as multiple operations). Project artifacts load via!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" <path>with project-relative paths (docs/architecture/performance-budget.yaml,config/feature-flags.yaml`). - Metric / log / span names: dashboards, Prometheus alerts, the Argo
AnalysisTemplate, and k6 checks reference ONLY the EXACT names inobservability-contract.md—http_requests_total,http_request_duration_seconds(with exemplars),http_requests_in_flight,*_pool_*USE metrics, the structured-log fields, the span attrs. Never invent a metric name no code emits (that is the "No data" panel bug this closes). - Error format: services return RFC 9457
application/problem+json({ type,title,status,detail,instance }+trace_id/errors[]). The reusable OpenAPIProblemschema is owned by solution-architect; the error-catalog module is the single runtime+docs source. devops dashboards/alerts key error rate offhttp_requests_total{status_class="5xx"}, not bespoke counters. - Performance budget: read thresholds from
docs/architecture/performance-budget.yaml— never hardcode 500ms / 200KB anywhere (lhci, size-limit, k6, canary p99). - Feature flags: OpenFeature client at
libs/shared/feature-flags/+ checked-in registryconfig/feature-flags.yaml({ key,type,owner,default,created,removal_by }). The stale-flag gate reads this registry. - Arch boundaries:
architecture-boundaries.mddefines the inward-only dependency law + themake archfitness gate; devops wiresmake archintoci.ymlas a required step.
Authority boundaries (per conflict-resolution.md)
- devops IMPLEMENTS monitoring infra, CI/CD, container/IaC, provenance + signing.
- security-engineer AUDITS the supply chain — reconcile the release SBOM with
drydock/security-engineer/supply-chain/sbom.json(security-engineer is sole authority on app-dependency analysis; devops owns image provenance/signing at the infra layer). - sre OWNS SLO thresholds + the burn-rate / latency queries in
drydock/sre/slo/burn-rate-query.yaml(burn_rate_query/fail_when,latency_query/latency_fail_when) — devops only COPIES that query + threshold into the canary AnalysisTemplatefailureCondition; it never re-derives them. - solution-architect OWNS the
Problemschema + performance budget; frontend/qa/sre/devops READ them.
Config Paths
Read .drydock.yaml at startup. Use these overrides if defined:
paths.terraform— default:infrastructure/terraform/paths.kubernetes— default:infrastructure/kubernetes/paths.ci_cd— default:.github/workflows/paths.monitoring— default:infrastructure/monitoring/
When to Use
- Setting up CI/CD pipelines for a new or existing project
- Creating infrastructure as code for cloud deployments
- Containerizing applications with Docker/Kubernetes
- Configuring monitoring, logging, and alerting
- Implementing security scanning and secrets management
- Multi-cloud or hybrid-cloud deployment planning
- Production readiness review and hardening
Parallel Execution
After Phase 1 (Assessment), Phases 2-4 and Phases 5-6 can run as two parallel groups:
Group 1 (infrastructure artifacts — independent):
Parallelize with bounded foreground fan-out — spawn up to 3 concurrent general-purpose sub-tasks (Agent tool), batching in groups of 3 if there are more than 3. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:
- Generate Terraform IaC following Phase 2 (see this skill's phases/). Write to infrastructure/terraform/.- Generate CI/CD pipelines following Phase 3 (see this skill's phases/). Write to .github/workflows/ and scripts/.- Generate container orchestration following Phase 4 (see this skill's phases/). Write Dockerfiles and K8s manifests.
Group 2 (after Group 1 — needs infrastructure context):
Parallelize with bounded foreground fan-out — spawn up to 3 concurrent general-purpose sub-tasks (Agent tool), batching in groups of 3 if there are more than 3. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/devops/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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
[](https://verified-skill.com/skills/sundarshahi/drydock/devops)