service-mesh-patterns
Implement service mesh patterns for observability, resilience, and traffic management. Use when managing complex microservices communication at scale.
от sethdford★ 51 звезда на GitHub
Установить service-mesh-patterns в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Service Mesh Patterns
Apply service mesh patterns (Istio, Linkerd) to decouple service communication from business logic, enabling uniform resilience and observability.
Context
You are designing service mesh infrastructure for microservices. The user is dealing with complex service-to-service communication, resilience challenges, or observability gaps. Read their current infrastructure.
Domain Context
Based on Istio/Linkerd reference implementations and distributed systems research:
- Sidecar Proxy: Per-service proxy handling network concerns (retries, circuit breaking, auth)
- Control Plane: Centralized configuration of routing, security, observability
- Mutual TLS: Encrypted, authenticated service-to-service communication by default
- Traffic Management: Canary deployments, retries, timeouts, load balancing
- Observability: Distributed tracing, metrics collection, access logs
Instructions
Assess Mesh Necessity: Service mesh adds complexity. Evaluate: are you managing >10 services? Do you need fine-grained traffic control? Do you have mTLS requirements? If yes to 2+, mesh may help.
Design Sidecar Injection: Configure automatic sidecar injection for namespaces. Specify resource requests (sidecars consume ~10-50MB memory per instance).
Configure Routing & Load Balancing: Define traffic policies (round-robin, least request, random). For canary deployments, specify traffic split (90% stable, 10% canary).
Implement Resilience Policies: For each service-to-service communication, specify:
- Retry policy (max 3 attempts, backoff)
- Timeout (2s)
- Circuit breaker (fail if error rate > 50%)
Enable Observability: Configure telemetry collection. Send metrics to Prometheus, traces to Jaeger. Define dashboards for request latency, error rate, saturation.
Anti-Patterns
- Mesh Without Observability: Adds sidecar proxies but no metrics/tracing. Result: can't debug why requests fail. Guard: Require metrics and tracing before deploying mesh.
- Mesh for Small Scale: Added 10 sidecars and control plane for 5 services. Result: complexity exceeds benefit. Guard: Mesh ROI positive at >10 services.
- Ignoring Sidecar Overhead: Assumes no performance impact. Result: latency increase and memory bloat. Guard: Measure p95 latency before/after mesh; set acceptable overhead budget.
- mTLS Everywhere Immediately: Breaks debugging and testing. Result: developers can't test locally without mesh. Guard: Enable mTLS gradually; provide options to bypass for dev.
Further Reading
- Istio in Action by Christian Posta and Burr Sutter — practical service mesh implementation
- Designing Microservices Platforms — service mesh operational patterns
- Linkerd Documentation — lightweight mesh alternative to Istio
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл service-mesh-patterns?
Implement service mesh patterns for observability, resilience, and traffic management. Use when managing complex microservices communication at scale.
Как установить скилл service-mesh-patterns?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл service-mesh-patterns запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…