/devops-skills:scalability-designfrom devops-skills
Designs systems to handle 10x traffic by removing state, shared contention, and single bottlenecks, choosing between horizontal and vertical scaling per component.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scaling problems are rarely solved by adding more of what you already have — they're solved by removing whatever forces every request through the same place. A stateless web tier scales by adding boxes; a single Postgres primary handling every write doesn't, no matter how many app servers point at it. The architecture decides which resource has to grow linearly with load and which one hits a wall first.
Design decides the ceiling long before anyone hits it. The question worth asking early is not "can we add more servers" but "what breaks first, and does adding more servers even help it."
Scale the thing that's actually the bottleneck — everything else is decoration.
A stateless component can be replicated freely because any instance can serve any request; a stateful one can't, because the request has to find the instance holding its state. Pushing session state, in-memory caches, and local files out of the application tier — into a shared store or the client — is what makes horizontal scaling actually work instead of just adding boxes that can't share the load.
stateful-workloads for components that must genuinely hold state.Done when: any request can be served by any instance of the stateless tier, verified by killing an instance mid-traffic without a user-visible failure.
Horizontal scaling — adding more instances — is usually cheaper, more resilient to a single failure, and has no hard ceiling. Vertical scaling — bigger instances — is simpler and sometimes unavoidable for components that can't be split, like a single-writer database. Applying one strategy everywhere by default, instead of choosing per component, wastes either engineering effort or money.
| Component type | Usual right answer | Why |
|---|---|---|
| Stateless app tier | Horizontal | No shared state to serialize around |
| Single-writer database | Vertical, then partition | Writes serialize through one node |
| Cache layer | Horizontal, sharded | Scales with data size and read volume |
Done when: every major component has a stated scaling strategy and the reason it was chosen, not a default applied uniformly.
Every architecture has a component that scales linearly and one that doesn't — a shared lock, a single message queue partition, a rate-limited third-party API, a database sequence. Adding capacity everywhere except that one component just moves the queue in front of it; the system's real capacity is the bottleneck's capacity, full stop.
profiling and load-testing, rather than
guessing which component is the constraint.Done when: the component that would be the first to saturate at 10x current load has been identified and either scales independently or has a stated remediation plan.
A synchronous call chain means every downstream slowdown becomes an upstream slowdown, and every downstream outage becomes an upstream outage. Introducing a queue, an async boundary, or a cache between components lets each one scale and fail independently, instead of the whole chain moving at the speed of its slowest link.
caching-strategies for what's safe to
cache and for how long.Done when: a slowdown in one component, injected deliberately, does not cause cascading failure in components that don't directly depend on its capacity.
At scale, instance failure isn't an edge case — with enough instances running long enough, one is always failing. A design that assumes every instance stays up will fail unpredictably at scale even if it works fine in a three-node test. Redundancy and graceful degradation have to be designed in, not patched on after the first outage.
load-testing, especially under an injected instance failure
— a design that's never seen a failure under load is unverified.Done when: the design has an explicit answer for what happens when any single instance or dependency fails under full load, not just when it's healthy.
State which components are stateless and horizontally scaled, which are vertically scaled and why, and which single component was identified as the bottleneck at the next order of magnitude. Name honestly which part of the design has not been validated under real load or failure injection — an architecture diagram that looks scalable but has never been tested under a component failure is still a guess.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`./artifact-managementVersions, stores, and promotes build outputs — registries, immutability, build-once-promote-many, retention and garbage collection, and provenance metadata. Use this whenever the user sets up an artifact or container registry, asks how to promote a build between environments without rebuilding, needs a retention or cleanup policy, or wants to trace where an artifact came from. For an image's contents and size use `image-optimization`; for vulnerability scanning use `image-scanning`./autoscalingCovers scaling Kubernetes workloads and nodes to demand — HPA on the right metric, VPA, cluster autoscaler, custom/external metrics, avoiding thrash with stabilization windows, and requests as the foundation underneath it all. Use this whenever the user is configuring an HPA, deciding between HPA and VPA, debugging autoscaling that flaps, or sizing a cluster autoscaler. For the requests/limits autoscaling depends on use `kubernetes-operations`; for cost tradeoffs use `cost-optimization`./backup-and-restoreDefines the discipline of building backups you can actually restore under pressure — RPO-driven frequency, restores rehearsed on a schedule, offsite immutable copies, encryption, and treating a backup that has never been restored as equivalent to no backup at all. Use this whenever the user sets up a backup job, chooses a retention policy, argues about RPO or RTO, asks whether current backups are enough, or plans for ransomware or accidental deletion. For the wider recovery plan use `disaster-recovery`, and for stateful platform durability use `stateful-workloads`.