Microservices architecture

From aj-geddes/useful-ai-prompts · View interactive version

Microservices architecture is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Design and implement microservices architecture including service boundaries, communication patterns, API gateways, service mesh, service discovery, and distributed system patterns. Use when building microservices, distributed systems, or service-oriented architectures.

How to use this skill

Skill file

Microservices Architecture

Table of Contents

Overview

Comprehensive guide to designing, implementing, and maintaining microservices architectures. Covers service decomposition, communication patterns, data management, deployment strategies, and observability for distributed systems.

When to Use

Quick Start

Minimal working example:

Bounded Contexts:
┌─────────────────┐  ┌─────────────────┐  ┌─────────────────┐
│  Order Service  │  │  User Service   │  │ Payment Service │
│                 │  │                 │  │                 │
│ - Create Order  │  │ - User Profile  │  │ - Process Pay   │
│ - Order Status  │  │ - Auth          │  │ - Refund        │
│ - Order History │  │ - Preferences   │  │ - Transactions  │
└─────────────────┘  └─────────────────┘  └─────────────────┘

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| Service Boundary Design | Service Boundary Design |

| Communication Patterns | Communication Patterns |

| API Gateway Pattern | API Gateway Pattern |

| Service Discovery | Service Discovery |

| Data Consistency Patterns | Data Consistency Patterns |

| Service Mesh (Istio) | Service Mesh (Istio) |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.