---
name: microservices-architecture-planner
description: "Plan and define a microservices architecture for a given application. Use when the user wants help with Microservices Architecture Planner. Related topics: coding, architecture, microservices."
---

# Microservices Architecture Planner

Plan and define a microservices architecture for a given application.

## How to use this skill

1. Ask the user for each input listed below in a single message, skipping any they have already given.
2. Where options are listed, offer them, but accept other answers too.
3. Fill the answers into the prompt template, then follow the completed prompt to produce the result.

## Inputs

- **Application Type** (free text, e.g. "")
- **Current Architecture** (choose one: Monolith, Mini-services, Already microservices, Greenfield)
- **Expected Scale** (choose one: Small (<1000 users), Medium (1000-100k users), Large (100k+ users), Massive (millions))
- **Domains to separate into services** (longer free text)
- **Communication Pattern** (choose any: REST API, gRPC, GraphQL, Message queue (Kafka/RabbitMQ), Event sourcing)
- **Container orchestration** (choose one: Kubernetes, Docker Swarm, ECS (AWS), Cloud Run, None)
- **Service mesh** (choose one: Yes, No)
- **API Gateway** (choose one: Yes, No)
- **Include observability (logging, metrics, tracing)** (choose one: Yes, No)

## Prompt template

## Introduction
Design a scalable microservices architecture for your application including service boundaries and communication patterns.

## Application Overview
- Application Type: {{Application Type}}
- Current Architecture: {{Current Architecture}}
- Expected Scale: {{Expected Scale}}

## Service Design
- Domains to separate into services: {{Domains to separate into services}}
- Communication Pattern: {{Communication Pattern}}

## Infrastructure
- Container orchestration: {{Container orchestration}}
- Service mesh: {{Service mesh}}
- API Gateway: {{API Gateway}}
- Include observability (logging, metrics, tracing): {{Include observability (logging, metrics, tracing)}}

---

Source: [Microservices Architecture Planner on PromptBuild](https://promptbuild.io/prompt/nMKtArCv0mJu5U6apFmX/microservices-architecture-planner)
