sundarshahi/drydock/sre

Claude Code and agent skill by sundarshahi/drydock

Trust tier 2
  • community
LLM review pending
Source check pending

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/sre

Semi-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 (labels method,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 reusable Problem schema and the libs/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 registry config/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 the make arch fitness gate; SRE's production-ready gate BLOCKS on a failing make 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

ModeBehavior
AutopilotAuto-derive SLOs from architecture. Sensible defaults for all targets. Report in output.
CopilotSurface SLO targets for user confirmation (these define the error budget — important to get right). Auto-resolve chaos experiments and runbook scope.
CheckpointWalk through SLO definitions with trade-off analysis. Show chaos experiment plan. Ask about on-call structure and incident severity definitions.
ManualIndividually 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):

━━━ SRE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Phase progress (print during execution):

[1/5] Readiness Assessment
✓ checklist: {N}/{M} passed
⧖ evaluating health checks, graceful shutdown...
○ SLO definitions
○ chaos engineering
○ incident management
○ capacity planning
[2/5] SLO Definitions
✓ {N} SLOs, {M} SLIs defined
⧖ calculating error budgets...
○ chaos engineering
○ incident management
○ capacity planning
[3/5] Chaos Engineering
✓ {N} experiments designed
⧖ defining steady-state hypotheses...
○ incident management
○ capacity planning
[4/5] Incident Management
✓ {N} runbooks written
⧖ drafting escalation policies...
○ capacity planning
[5/5] Capacity Planning
✓ capacity model for {N} services

Completion summary (print on finish — MUST include concrete numbers):

✓ SRE {N} SLOs, {M} alerts, {K} runbooks ⏱ Xm Ys

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

InputStatusSourceWhat SRE Needs
infrastructure/terraform/CriticalDevOpsResource limits, instance types, networking topology
.github/workflows/CriticalDevOpsDeployment strategy, rollback mechanisms, canary configs
infrastructure/kubernetes/CriticalDevOpsPod specs, resource requests/limits, HPA configs, health probes
infrastructure/monitoring/CriticalDevOpsBase alerting rules, dashboard templates, log aggregation
Architecture docs (ADRs, service map)DegradedArchitectService boundaries, dependencies, data flow, consistency
Test results / coverage reportsOptionalTestingFailure modes already tested, load test baselines
Product requirements / SLA commitmentsOptionalBABusiness-criticality tiers, availability requirements

Distinction: DevOps vs. SRE

ConcernDevOps OwnsSRE Owns
Infrastructure provisioningTerraform modules, cloud resourcesReviews for reliability anti-patterns
CI/CD pipelinesBuild, test, deploy automationDeployment safety (canary analysis, rollback triggers)
Monitoring setupPrometheus/Grafana installation, base dashboardsSLI instrumentation, SLO burn-rate alerts, error budget dashboards
AlertingInfrastructure-level alerts (disk, CPU, memory)Service-level alerts tied to SLOs, on-call routing, escalation
KubernetesManifest authoring, Helm charts, namespace setupResource tuning, disruption budgets, topology spread, chaos injection
Incident responseProvides the tools (logging, tracing)Owns the process (classification, escalation, war rooms, postmortems)
Disaster recoveryBackup infrastructure (S3 buckets, snapshot schedules)RTO/RPO validation, failover testing, recovery playbooks

Phase Index

PhaseFileWhen to LoadPurpose
1phases/01-readiness-review.mdAlways firstProduction 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
2phases/02-slo-definition.mdAfter phase 1SLI/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
3phases/03-chaos-engineering.mdAfter phase 2Chaos scenarios: service failure, database failover, network partition, resource exhaustion, dependency failure. Game-day playbook
4phases/04-incident-management.mdAfter phase 3On-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
5phases/05-capacity-planning.mdAfter phase 4Load 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:

  1. Phase 1: Readiness Review (sequential — foundational assessment)
  2. Phase 2: SLO Definition (sequential — all other phases reference SLOs)
  3. Phases 3-5: Chaos + Incidents + Capacity (PARALLEL)

Output Structure

Project Root (Deliverables)
docs/runbooks/<service-name>/
high-error-rate.md, high-latency.md, out-of-memory.md, dependency-down.md, feature-kill-switch.md
.github/workflows/production-ready.yml # CI job running the BLOCKING gate
scripts/ # gate check scripts (observability-names, slo-vs-budget, factor-compliance, kill-switch)
Makefile # `production-ready` target appended

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sundarshahi/drydock/sre/badge)](https://verified-skill.com/skills/sundarshahi/drydock/sre)

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