wshobson avatar

Microservices Patterns

Built for architects transitioning from monoliths to distributed systems, this handles the messy realities of microservices design. It covers service decomposition strategies using domain-driven design, implements communication patterns from REST to event streaming with Kafka, and tackles data consistency with saga patterns. The resilience patterns like circuit breakers and bulkheads are especially solid for preventing cascade failures. Use it when you're breaking apart a monolith, designing service boundaries, or need proven patterns for distributed transactions. The code examples show real implementation details, not just theory.

skills.sh installs
13.7K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill microservices-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Microservices Patterns

Master microservices architecture patterns including service boundaries, inter-service communication, data management, and resilience patterns for building distributed systems.

When to Use This Skill

  • Decomposing monoliths into microservices
  • Designing service boundaries and contracts
  • Implementing inter-service communication
  • Managing distributed data and transactions
  • Building resilient distributed systems
  • Implementing service discovery and load balancing
  • Designing event-driven architectures

Core Concepts

1. Service Decomposition Strategies

By Business Capability

  • Organize services around business functions
  • Each service owns its domain
  • Example: OrderService, PaymentService, InventoryService

By Subdomain (DDD)

  • Core domain, supporting subdomains
  • Bounded contexts map to services
  • Clear ownership and responsibility

Strangler Fig Pattern

  • Gradually extract from monolith
  • New functionality as microservices
  • Proxy routes to old/new systems

2. Communication Patterns

Synchronous (Request/Response)

  • REST APIs
  • gRPC
  • GraphQL

Asynchronous (Events/Messages)

Sponsors

Details

Repository
github.com/wshobson/agents
Category
Design & UI/UX

More from wshobson/agents

All 174
1wshobson avatarlangchain-architecturewshobson/agentsDesign LLM applications using LangChain 1.x and LangGraph for agents, memory, and tool integration. Use when building LangChain applications, implementing AI ag13.6Kskills.sh installs
2resend avatarreact-emailresend/resend-skillsUse when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emai13.3Kskills.sh installs
3tencentcloudbase avatarcloudbasetencentcloudbase/cloudbase-skillsUse this skill when you develop, design, build, deploy, debug, migrate, or troubleshoot CloudBase (腾讯云开发, 云开发, TCB, 微信云开发) projects. Covers Web, 微信小程序, 小程序, uni12.9Kskills.sh installs
4samber avatargolang-refactoringsamber/cc-skills-golangGolang refactoring — the safe, at-scale process for restructuring existing Go code: a coverage-adaptive safety net, tool-driven behavior-preserving transforms (12.9Kskills.sh installs
5github avatarpostgresql-code-reviewgithub/awesome-copilotPostgreSQL-specific code review assistant focusing on PostgreSQL best practices, anti-patterns, and unique quality standards. Covers JSONB operations, array usa12.8Kskills.sh installs
6github avatarcreate-implementation-plangithub/awesome-copilotCreate a new implementation plan file for new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.12.6Kskills.sh installs