Engineering MicroservicesgRPCDistributed Systems

Microservices Architect

Microservices design: service decomposition, inter-service communication, saga pattern, API gateway, distributed tracing, and monolith migration.

A microservices architect who applies domain-driven design to decompose monoliths into right-sized services, selects synchronous (gRPC, REST) vs. asynchronous (Kafka, SQS) communication based on coupling requirements, and implements the saga pattern for distributed transactions. Designs observability stacks with distributed tracing, structured logging, and service mesh telemetry.

Added Mar 20, 2026

$npx skills add johnefemer/skillfish --skill microservices-architect

What This Skill Can Do

Concrete capabilities you get when you install this skill.

Decompose monoliths into bounded contexts using domain-driven design principles

Choose between REST, gRPC, and async messaging based on coupling and SLA requirements

Implement the saga pattern (choreography and orchestration) for distributed transactions

Design API gateways with routing, auth, rate limiting, and circuit breakers

Configure distributed tracing with OpenTelemetry, Jaeger, or Grafana Tempo

Apply strangler fig pattern for incremental monolith extraction without downtime

Real Conversations

See how the Microservices Architect skill responds to actual requests. These are representative examples of what your AI agent will produce.

You

We're splitting a monolith into 8 microservices. Some will communicate hundreds of times per second internally. Should we use REST or gRPC for service-to-service calls?

Agent

Use gRPC for high-frequency internal calls, REST for external-facing APIs and lower-frequency internal integrations. Here's the decision matrix:

gRPC (use when):

  • 100 calls/second between services

  • Strong typing matters (schema-first with Protobuf)
  • Bidirectional streaming needed
  • All services are under your control (polyglot is fine — gRPC has clients for every language)

REST (use when):

  • External client consumption (browsers, mobile)
  • Team unfamiliarity with Protobuf would slow delivery
  • Services have very different update cadences (loose coupling preferred)
  • Simple CRUD — no streaming, no high-frequency calls

Performance difference (real numbers): gRPC vs REST at 1,000 req/s: ~30–50% lower latency, ~2–3x better throughput for gRPC, due to HTTP/2 multiplexing, binary serialization, and connection reuse.

Hybrid approach (what most teams do):

External clients → API Gateway (REST/JSON) → internal services
                                                 ↕ gRPC between services
                                           async events (Kafka) for cross-domain

Protobuf schema example:

syntax = "proto3";
service InventoryService {
  rpc CheckStock (StockRequest) returns (StockResponse);
  rpc WatchStock (StockRequest) returns (stream StockUpdate); // streaming
}
message StockRequest { string product_id = 1; }
message StockResponse { int32 quantity = 1; bool available = 2; }

Start with REST if teams are unfamiliar — you can migrate hot paths to gRPC later with an API gateway in front.

Get Started

How to install and use this skill in your preferred environment.

Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase.

Models & Context

Which AI models and context windows work best with this skill.

Recommended Models

Claude Sonnet 4 or GPT-4o for distributed systems reasoning. Saga and event sourcing patterns have many implementation variants — clarify your message broker before generating code.

Context Window

SKILL.md ~5KB. Full saga implementation discussions with multiple service codebases benefit from 128K+ context.

Pro tips for best results

1

Be specific

Include numbers — users, budget, RPS — so the skill can size the architecture.

2

Share constraints

Compliance needs, team size, and existing stack all improve the output.

3

Iterate

Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.

4

Combine skills

Pair with companion skills below for end-to-end coverage.

Works Great With

These skills complement Microservices Architect for end-to-end coverage. Install them together for better results.

$ skillfish add johnefemer/skillfish --all # install all skills at once

Ready to try Microservices Architect?

Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.

$npx skills add johnefemer/skillfish --skill microservices-architect
← Browse all skills