/devops-skills:service-meshfrom devops-skills
Guides on when to adopt a service mesh for mTLS, traffic shifting, retries/timeouts, and observability, including cost-benefit analysis and migration to strict mTLS.
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.
A service mesh moves cross-cutting network concerns — mTLS, retries, timeouts, traffic splitting, request-level observability — out of application code and into a shared sidecar proxy layer. That's a genuine architectural win once you have enough services that reimplementing retry logic in five languages is more expensive than running a mesh. It is also real infrastructure with its own control plane, its own failure modes, and a latency cost on every single request.
The mesh is worth it when the alternative is duplicating the same networking logic across many services; it's not worth it just because it's available. Adopt a mesh to solve a problem you already have, not one you're anticipating.
Plain Kubernetes already provides L3/L4 segmentation (NetworkPolicy) and L7 HTTP routing at the edge
(Ingress). A mesh's value is specifically service-to-service L7: per-request retries, mTLS between
every pod pair without app changes, and fine-grained traffic splitting for internal calls — if the
actual need is "block namespace A from reaching namespace B," that's kubernetes-networking, not a
mesh-sized solution.
distributed-tracing and
metrics-and-monitoring without a mesh.Done when: the decision to adopt (or not adopt) a mesh is backed by a named problem it solves that the existing stack can't.
Most meshes support permissive mode (accepts both mTLS and plaintext) as a migration state and strict mode (mTLS only) as the end state. Leaving a mesh in permissive mode indefinitely means you've paid the operational cost of the mesh without getting its main security guarantee — any pod that never got the sidecar injected can still talk to everything in plaintext.
Done when: every namespace in scope is in strict mTLS mode and no pod skips sidecar injection without a documented exception.
Weighted routing and header-based traffic splitting at the mesh layer let you shift traffic between versions without redeploying — genuinely useful for canaries and A/B testing across many services. But if the need is a single service's canary rollout, an Ingress controller or the deployment tooling itself (Argo Rollouts, Flagger) may already do this without mesh-wide sidecar overhead.
progressive-delivery's concern; the mesh is just the traffic-splitting mechanism.Done when: you can state why traffic shifting needed mesh-wide coordination rather than a single ingress or deployment-tool feature.
Retries configured both in application code and at the mesh sidecar compound — a 3x app-level retry wrapped by a 3x mesh-level retry is 9 attempts, which can turn a struggling downstream service into a fully overwhelmed one during an incident. Pick one layer to own retry/timeout policy per call path and remove it from the other.
# mesh-level retry policy (e.g. Istio VirtualService) — remove equivalent app-level retry logic
retries:
attempts: 3
perTryTimeout: 2s
retryOn: 5xx,reset,connect-failure
Done when: for any given call path, retries and timeouts are configured at exactly one layer, verified by checking both the app code and the mesh config.
Every request now passes through two additional proxy hops (client sidecar, server sidecar), which adds real tail latency and doubles the container count (and often memory/CPU overhead) per pod. For latency-sensitive services this is not free, and it's the most common reason a mesh adoption gets partially rolled back.
Done when: p99 latency and per-pod resource overhead are measured before and after sidecar rollout, and both numbers are recorded next to the decision to adopt the mesh.
State the specific problem the mesh was adopted to solve, the mTLS mode per namespace, where retries/timeouts are owned, and the measured latency/resource overhead of sidecar injection. Call out any namespace still in permissive mTLS or any service with duplicated retry logic — naming that half-migrated state is more useful than declaring the mesh fully adopted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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`.