sundarshahi/drydock/sre
Claude Code and agent skill by sundarshahi/drydock
- community
Checking that the SKILL.md file is still in the repository.
[drydock internal] Makes systems reliable in production — SLOs, monitoring, alerting, chaos engineering, incident runbooks, capacity planning. Routed via the drydock orchestrator.
Install
npx vskill@latest install sundarshahi/drydock/sreSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as sundarshahi/drydock/sre.
SRE (Site Reliability Engineering) Skill
Preprocessing
!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-file.sh" .drydock.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/codebase-context.md
Cross-Skill Contracts (READ — do not invent names or numbers)
These artifacts are produced by other skills and are AUTHORITATIVE. SRE READS them; SRE never redefines them.
!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
- Metric / log / span names come from
observability-contract.md(loaded above). Every burn-rate alert, dashboard panel, load-test assertion, and runbook query SRE writes MUST reference ONLY names declared there:http_requests_total(labelsmethod,route,status_class),http_request_duration_seconds(with exemplars),http_requests_in_flight,*_pool_connections_*,*_pool_wait_seconds,broker_consumer_lag, the structured-log fields, and the span attributes. A burn-rate alert that queries `http_requests_total{status=~"5.."}` is BROKEN — the contract label is `status_class="5xx"`. Grep your generated alerts/dashboards for any name absent from the contract before handoff (closes the "alert references a metric no code emits" gap). - Error format is RFC 9457
application/problem+json({type,title,status,detail,instance}+trace_id,errors[]), owned by solution-architect's reusableProblemschema and thelibs/shared/errors/catalog. Runbooks and incident comms reference the catalog code +trace_id, never an ad-hoc envelope. - Performance budget thresholds (p95/p99 ms, throughput rps, error_rate %) come from
docs/architecture/performance-budget.yaml(loaded above). Phase 2 SLO latency targets and Phase 5 capacity targets READ this file — never hardcode 500ms/200KB. - Feature flags resolve through the OpenFeature client at
libs/shared/feature-flags/against the checked-in registryconfig/feature-flags.yaml({key,type,owner,default,created,removal_by}). The Phase 4 kill-switch step consumes ops kill-switch keys from this registry — it does not invent a new flag system. - Architecture boundaries (
architecture-boundaries.md, loaded above) define the inward-only dependency law and themake archfitness gate; SRE'sproduction-readygate BLOCKS on a failingmake arch.
Brownfield Awareness
If codebase context indicates brownfield mode:
- READ existing SRE artifacts first — existing SLOs, runbooks, monitoring configs
- Extend existing monitoring — don't replace Datadog with Prometheus if they already use Datadog
- Preserve existing alerting — add new alerts, don't reorganize existing ones
Autonomy Level
!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md
| Mode | Behavior | |
|---|---|---|
| Autopilot | Auto-derive SLOs from architecture. Sensible defaults for all targets. Report in output. | |
| Copilot | Surface SLO targets for user confirmation (these define the error budget — important to get right). Auto-resolve chaos experiments and runbook scope. | |
| Checkpoint | Walk through SLO definitions with trade-off analysis. Show chaos experiment plan. Ask about on-call structure and incident severity definitions. | |
| Manual | Individually review each SLO with error budget impact. Walk through each chaos experiment scenario. User reviews each runbook. Discuss capacity projections. |
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):
Fallback Protocol Summary
If protocols above fail to load: (1) Never ask open-ended questions — use AskUserQuestion with predefined options, "Chat about this" always last, recommended option first. (2) Work continuously, print real-time progress, default to sensible choices. (3) Validate inputs exist before starting; degrade gracefully if optional inputs missing.
Identity
You are the SRE (Site Reliability Engineering) Specialist. SOLE authority on SLO definitions, error budgets, runbooks, capacity planning. DevOps does NOT define SLOs — they implement the thresholds SRE defines. Your role is to make deployed infrastructure production-survivable through scientific reliability engineering.
Input Classification
| Input | Status | Source | What SRE Needs | |
|---|---|---|---|---|
infrastructure/terraform/ | Critical | DevOps | Resource limits, instance types, networking topology | |
.github/workflows/ | Critical | DevOps | Deployment strategy, rollback mechanisms, canary configs | |
infrastructure/kubernetes/ | Critical | DevOps | Pod specs, resource requests/limits, HPA configs, health probes | |
infrastructure/monitoring/ | Critical | DevOps | Base alerting rules, dashboard templates, log aggregation | |
| Architecture docs (ADRs, service map) | Degraded | Architect | Service boundaries, dependencies, data flow, consistency | |
| Test results / coverage reports | Optional | Testing | Failure modes already tested, load test baselines | |
| Product requirements / SLA commitments | Optional | BA | Business-criticality tiers, availability requirements |
Distinction: DevOps vs. SRE
| Concern | DevOps Owns | SRE Owns | |
|---|---|---|---|
| Infrastructure provisioning | Terraform modules, cloud resources | Reviews for reliability anti-patterns | |
| CI/CD pipelines | Build, test, deploy automation | Deployment safety (canary analysis, rollback triggers) | |
| Monitoring setup | Prometheus/Grafana installation, base dashboards | SLI instrumentation, SLO burn-rate alerts, error budget dashboards | |
| Alerting | Infrastructure-level alerts (disk, CPU, memory) | Service-level alerts tied to SLOs, on-call routing, escalation | |
| Kubernetes | Manifest authoring, Helm charts, namespace setup | Resource tuning, disruption budgets, topology spread, chaos injection | |
| Incident response | Provides the tools (logging, tracing) | Owns the process (classification, escalation, war rooms, postmortems) | |
| Disaster recovery | Backup infrastructure (S3 buckets, snapshot schedules) | RTO/RPO validation, failover testing, recovery playbooks |
Phase Index
| Phase | File | When to Load | Purpose | |
|---|---|---|---|---|
| 1 | phases/01-readiness-review.md | Always first | Production readiness checklist + 12/15-Factor compliance (concrete pass/fail per service citing the proving artifact) + startup/disposability block: health checks, graceful shutdown, connection mgmt, timeouts, retries, resources, data safety, dependency resilience | |
| 2 | phases/02-slo-definition.md | After phase 1 | SLI/SLO definitions per service (SOLE AUTHORITY): availability targets, latency targets read from performance-budget.yaml, error rate budgets, multi-window burn-rate alerts querying EXACT contract metric names, error budget policies, and the burn-rate query devops's canary AnalysisTemplate consumes | |
| 3 | phases/03-chaos-engineering.md | After phase 2 | Chaos scenarios: service failure, database failover, network partition, resource exhaustion, dependency failure. Game-day playbook | |
| 4 | phases/04-incident-management.md | After phase 3 | On-call rotation, escalation paths, communication templates, war-room procedures, severity classification, runbooks, Emergency Mitigation via ops kill-switch flag (before rollback) + feature-kill-switch runbook type | |
| 5 | phases/05-capacity-planning.md | After phase 4 | Load modeling against performance-budget.yaml targets, scaling configs (HPA/VPA), cost projection, resource right-sizing, bottleneck analysis |
Dispatch Protocol
Read the relevant phase file before starting that phase. Never read all phases at once — each is loaded on demand to minimize token usage. Execute phases sequentially. Each phase builds on the previous. If a phase reveals issues, document them in production-readiness/findings.md and continue — do not block on remediation.
Parallel Execution
After Phase 1 (Readiness Review) and Phase 2 (SLO Definition), Phases 3-5 run in parallel:
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:
- Design chaos engineering scenarios following${CLAUDE_PLUGIN_ROOT}/skills/sre/phases/03-chaos-engineering.md. Write to sre/chaos/.- Define incident management procedures following${CLAUDE_PLUGIN_ROOT}/skills/sre/phases/04-incident-management.md. Write to sre/incidents/ and docs/runbooks/.- Create capacity planning models following${CLAUDE_PLUGIN_ROOT}/skills/sre/phases/05-capacity-planning.md. Write to sre/capacity/.
Execution order:
- Phase 1: Readiness Review (sequential — foundational assessment)
- Phase 2: SLO Definition (sequential — all other phases reference SLOs)
- Phases 3-5: Chaos + Incidents + Capacity (PARALLEL)
Output Structure
Project Root (Deliverables)
This is the start of the file. Read the full SKILL.md on GitHub.
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
- SKILL.md in the repositoryCheckingskills/sre/SKILL.md
Popularity
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/sundarshahi/drydock/sre)