# microservices-patterns

A microservices skill covering service mesh, circuit breakers, traffic splitting and Istio. Useful when services fail in cascades or you need a canary release.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 446 installs · ★ 62
- Author: manutej
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-devops-suite/skills/microservices-patterns/SKILL.md
- Updated: 2026-06-13
- HTML: https://affpapa.org/en/nevibecode/skills/manutej-microservices-patterns

## What it does

The skill hands your agent working templates for microservice architecture: VirtualService and DestinationRule manifests, version-based traffic splitting, connection pools, outlier detection. It walks through the Istio data plane and control plane, the role of Istiod, Envoy sidecars and the iptables rules that intercept traffic.

A separate section covers resilience: circuit breaker states, retries with exponential backoff and jitter, timeouts, and fault injection for testing assumptions. There is material on mTLS, distributed tracing, and ingress and egress gateways.

One caveat: everything here assumes Istio and Kubernetes, so the YAML examples expect a cluster with the mesh already running. Without a control plane there is nowhere to apply those manifests, which makes this worth checking before you install.

## Requirements
- Works with: Kubernetes

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill microservices-patterns -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/microservices-patterns/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/microservices-patterns/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill microservices-patterns -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/microservices-patterns/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill microservices-patterns -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/microservices-patterns/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manutej/luxor-claude-marketplace microservices-patterns
```

2. **Manually: put the files in place**
- File: `.github/skills/microservices-patterns/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill microservices-patterns -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-devops-suite/skills/microservices-patterns
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/microservices-patterns/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill microservices-patterns -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-devops-suite/skills/microservices-patterns/SKILL.md

## When to use it
- run a canary release by splitting traffic weights
- stop cascading failures with a circuit breaker
- add retries with exponential backoff and jitter
- turn on mTLS between services in the mesh
- understand how the Istio data plane and control plane fit together

## Example prompts
- write a VirtualService that splits traffic 90/10 between v1 and v2
- configure outlier detection so failing instances get ejected from the pool
- inject a delay into a route to test how the service holds up

## Similar
- [microservices-architect](https://affpapa.org/en/nevibecode/skills/microservices-architect.md) — skill · 4900 installs
- [ai-inference-service-mesh](https://affpapa.org/en/nevibecode/skills/ai-inference-service-mesh.md) — skill · 310 installs
- [linkerd-patterns](https://affpapa.org/en/nevibecode/skills/linkerd-patterns.md) — skill · 10200 installs
- [domain-cloud-native](https://affpapa.org/en/nevibecode/skills/domain-cloud-native.md) — skill · 2900 installs
- [zero-trust](https://affpapa.org/en/nevibecode/skills/zero-trust.md) — skill · 350 installs
- [k8s-security-policies](https://affpapa.org/en/nevibecode/skills/k8s-security-policies.md) — skill · 14692 installs

## Other versions with the same name
- [microservices-patterns · wshobson](https://affpapa.org/en/nevibecode/skills/microservices-patterns.md) — 13176 installs

From the same set: [manutej/luxor-claude-marketplace](https://affpapa.org/en/nevibecode/by/manutej/luxor-claude-marketplace.md) — 31 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
