microservices-patterns
Skill4 starsChanged 3 months agoMITView on GitHub
Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.
17 other projects use a version of this, 9 of them edited.
Adopted by
Most recently taken up by
- imMamdouhaboammar/tiktok-growth-automation-meshword for word, first seen Oct 1, 2026
- TheHiddenDeveloper/jarvis-skillsedited, first seen Aug 19, 2026
- svngoku/coding-agents-skillstheir own version, first seen Aug 13, 2026
- xeroc/skillsedited, first seen Jul 17, 2026
- tranhieutt/software_development_departmenttheir own version, first seen Apr 30, 2026
- iCesofT/awesome-aiedited, first seen Apr 16, 2026
Used with
Projects with it also use error-handling-patterns.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xfstudioSkillerror-handling-patterns
Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 1
- imMamdouhaboammar/tiktok-growth-automation-mesh★ 0100% same
Edited · 9
- nilecui/SkillsBase★ 2712% same
- xfstudio/skills★ 947% same
- Harmeet10000/skills★ 712% same
- GPTtang/skill-atlas★ 412% same
- ai4brands-design/claude-skills★ 247% same
- CodeWithBehnam/cc-docs★ 213% same
- iCesofT/awesome-ai★ 141% same
- xeroc/skills★ 112% same
- TheHiddenDeveloper/jarvis-skills★ 024% same
Wrote their own version · 7
- tranhieutt/software_development_department★ 72same name
- booklib-ai/booklib★ 38same name
- svngoku/coding-agents-skills★ 11same name
- wpank/ai★ 11same name
- Jonathan0823/opencode-config★ 8same name
- FutureJJ/claude-skills★ 3same name
- mmondora/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository103 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- harness-installSkill
- ab-test-setupSkill
- accessibility-complianceSkill
- accessibilitySkill
- agent-architecture-auditSkill
- agent-evalSkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- agent-introspection-debuggingSkill
- ai-regression-testingSkill
- ai-seoSkill
- anthropic-coursesSkill
- anthropic-sdk-phpSkill
- anthropic-sdk-pythonSkill
- api-connector-builderSkill
- architecture-decision-recordsSkill
- architecture-patternsSkill
- article-writingSkill
- async-python-patternsSkill
- auth-implementation-patternsSkill
- backend-patternsSkill
- bash-defensive-patternsSkill
- bats-testing-patternsSkill
- block-no-verify-hookSkill
- blueprintSkill
- brainstormingSkill
- browser-testing-with-devtoolsSkill
- churn-preventionSkill
- ci-cd-and-automationSkill
- citation-engineSkill
- ckSkill
- claude-code-security-reviewSkill
- claude-cookbooksSkill
- click-path-auditSkill
- codebase-onboardingSkill
- coding-standardsSkill
- competitor-alternativesSkill
- connections-optimizerSkill
- content-engineSkill
- content-hash-cache-patternSkill
- context-budgetSkill
- context-driven-developmentSkill
- context-engineeringSkill
- continuous-agent-loopSkill
- cost-aware-llm-pipelineSkill
- cost-aware-routingSkill
- cost-trackingSkill
- councilSkill
- cqrs-implementationSkill
- crosspostSkill
- customer-billing-opsSkill
- dashboard-builderSkill
- data-scraper-agentSkill
- data-storytellingSkill
- data-throughput-acceleratorSkill
- deployment-patternsSkill
- docker-patternsSkill
- documentation-and-adrsSkill
- e2e-testingSkill
- The first 60 shown.
The file
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)
- Event streaming (Kafka)
- Message queues (RabbitMQ, SQS)
- Pub/Sub patterns
3. Data Management
Database Per Service
- Each service owns its data
- No shared databases
- Loose coupling
Saga Pattern
- Distributed transactions
- Compensating actions
- Eventual consistency
4. Resilience Patterns
Circuit Breaker
- Fail fast on repeated errors
- Prevent cascade failures
Retry with Backoff
- Transient fault handling
- Exponential backoff
Bulkhead
- Isolate resources
- Limit impact of failures
Detailed patterns and worked examples
Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

