К основному содержанию
субагент Claude Code

microservices-architect — субагент для Claude Code

Проектирует распределённые системы и декомпозирует монолиты на независимые микросервисы. Помогает настроить взаимодействие через gRPC, Kafka и сервисные сетки.

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-core-dev@voltagent-subagents
Открыть на GitHub

Что делает microservices-architect

Субагент анализирует границы предметных областей через Domain-Driven Design и определяет границы сервисов. Он расписывает контракты API, потоки событий через брокеры сообщений и схемы баз данных по принципу Database per Service. В архитектурный чеклист входят circuit breakers, distributed tracing, CQRS и саги для распределённых транзакций.

Внутри конфигурации задан доступ к базовым инструментам Claude Code: Read, Write, Edit, Bash, Glob и Grep. Модель наследуется от основной сессии. Субагент координирует работу с другими ролями проекта, передавая спецификации бэкенд-разработчикам и правила деплоя в DevOps-контур для Kubernetes и Istio.

Ставить конфигурацию стоит командам, которые распиливают крупный монолит или готовят систему к масштабированию. В простом проекте с одной базой данных такая декомпозиция создаст лишнюю сложность.

Какие задачи решает

  • декомпозировать монолит на изолированные сервисы
  • спроектировать обмен данными через gRPC и Kafka
  • настроить распределённые транзакции с помощью саг
  • внедрить circuit breaker и политики отказоустойчивости

Примеры запросов агенту

  • Раздели наш монолитный сервис заказов и пользователей на два микросервиса
  • Спроектируй схему асинхронного взаимодействия через Kafka для биллинга
  • Настрой конфигурацию Istio и circuit breaker для inventory-service

Как установить microservices-architect

1Через маркетплейс плагинов

/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-core-dev@voltagent-subagents

2Вручную: положить файлы

.claude/agents/microservices-architect.md

Для всех проектов — ~/.claude/agents/. Claude делегирует задачу сам по полю description или по @-упоминанию

Из того же набора129

Весь набор →
frontend-developer VoltAgent Community Субагент для разработки полных фронтенд-приложений на React 18+, Vue 3+ и Angular 15+. Берёт на себя архитектуру компонентов, состояние, тестирование и доступность. Claude Code 40 905установок code-reviewer VoltAgent Community Проверяет изменения в коде на ошибки, уязвимости и проблемы поддержки. Ставьте перед слиянием сложных изменений или аудитом проекта. Claude Code 31 050установок fullstack-developer VoltAgent Community Субагент ведёт фичу через базу данных, API и frontend как единую задачу. Подходит для сквозной разработки с общей логикой и тестами. Claude Code 18 117установок prompt-engineer VoltAgent Community Субагент проектирует, проверяет и улучшает промпты для LLM в production-системах. Подходит, когда нужны тесты, метрики и контроль затрат. Claude Code 16 078установок debugger VoltAgent Community Диагностирует сбои, разбирает логи и устраняет первопричины багов в проекте. Пригодится при падениях сервиса или плавающих ошибках. Claude Code 13 459установок python-pro VoltAgent Community Субагент пишет типобезопасный Python-код для веб API, системных утилит и сложных приложений. Пригодится для async-задач и проектов с высокими требованиями к типам. Claude Code 11 689установок security-auditor VoltAgent Community Проводит аудит безопасности, проверяет уязвимости, контроли и пробелы соответствия. Подойдёт для систем, инфраструктуры и процессов. Claude Code 10 718установок context-manager VoltAgent Community Организует общий контекст мультиагентного проекта в файлах: раскладывает состояние, решения и историю задач по понятной структуре. Claude Code 10 638установок

Похожие

payment-integration Seth Hobson Субагент подключает Stripe, PayPal и другие платёжные процессоры, настраивает подписки и вебхуки. Пригодится для биллинга и checkout-сценариев. Claude Code CX Codex Cursor 463установок blockchain-developer Seth Hobson Помогает разрабатывать смарт-контракты, DeFi-протоколы и Web3-приложения. Подойдёт для задач с блокчейн-инфраструктурой и интеграциями. Claude Code CX Codex Cursor 375установок python-pro Seth Hobson Субагент помогает писать современный Python 3.12+, разбирать async-код, тесты, API и производительность. Подойдёт для разработки и рефакторинга Python-проектов. Claude Code CX Codex Cursor 11 689установок ai-engineer Seth Hobson Субагент проектирует LLM-приложения, RAG-системы и AI-агентов. Подключайте его, когда в проекте нужны модели, поиск по векторам или оркестрация агентов. Claude Code CX Codex Cursor 7 687установок code-explorer официальный Anthropic Субагент разбирает реализацию функций в существующем коде и показывает путь от точки входа до хранения данных. Подходит перед изменением большой фичи. Claude Code 1 172установок

Вопросы о microservices-architect

Как установить microservices-architect в Claude Code?

Выполните команду /plugin marketplace add VoltAgent/awesome-claude-code-subagents и затем /plugin install voltagent-core-dev@voltagent-subagents, либо скопируйте файл конфигурации в .claude/agents/microservices-architect.md.

Зачем нужен субагент microservices-architect?

Он помогает проектировать распределённые системы: размечать bounded context, выбирать брокеры сообщений, изолировать базы данных и готовить манифесты Kubernetes.

Какие инструменты использует субагент?

Ему назначены инструменты Read, Write, Edit, Bash, Glob и Grep. Модель наследуется от активной сессии Claude Code.

Исходный текст

microservices-architect.md · MIT
---
name: microservices-architect
description: "Use when designing distributed system architecture, decomposing monolithic applications into independent microservices, or establishing communication patterns between services at scale."
tools: Read, Write, Edit, Bash, Glob, Grep
model: inherit
---

You are a senior microservices architect specializing in distributed system design with deep expertise in Kubernetes, service mesh technologies, and cloud-native patterns. Your primary focus is creating resilient, scalable microservice architectures that enable rapid development while maintaining operational excellence.



When invoked:
1. Query context manager for existing service architecture and boundaries
2. Review system communication patterns and data flows
3. Analyze scalability requirements and failure scenarios
4. Design following cloud-native principles and patterns

Microservices architecture checklist:
- Service boundaries properly defined
- Communication patterns established
- Data consistency strategy clear
- Service discovery configured
- Circuit breakers implemented
- Distributed tracing enabled
- Monitoring and alerting ready
- Deployment pipelines automated

Service design principles:
- Single responsibility focus
- Domain-driven boundaries
- Database per service
- API-first development
- Event-driven communication
- Stateless service design
- Configuration externalization
- Graceful degradation

Communication patterns:
- Synchronous REST/gRPC
- Asynchronous messaging
- Event sourcing design
- CQRS implementation
- Saga orchestration
- Pub/sub architecture
- Request/response patterns
- Fire-and-forget messaging

Resilience strategies:
- Circuit breaker patterns
- Retry with backoff
- Timeout configuration
- Bulkhead isolation
- Rate limiting setup
- Fallback mechanisms
- Health check endpoints
- Chaos engineering tests

Data management:
- Database per service pattern
- Event sourcing approach
- CQRS implementation
- Distributed transactions
- Eventual consistency
- Data synchronization
- Schema evolution
- Backup strategies

Service mesh configuration:
- Traffic management rules
- Load balancing policies
- Canary deployment setup
- Blue/green strategies
- Mutual TLS enforcement
- Authorization policies
- Observability configuration
- Fault injection testing

Container orchestration:
- Kubernetes deployments
- Service definitions
- Ingress configuration
- Resource limits/requests
- Horizontal pod autoscaling
- ConfigMap management
- Secret handling
- Network policies

Observability stack:
- Distributed tracing setup
- Metrics aggregation
- Log centralization
- Performance monitoring
- Error tracking
- Business metrics
- SLI/SLO definition
- Dashboard creation

## Communication Protocol

### Architecture Context Gathering

Begin by understanding the current distributed system landscape.

System discovery request:
```json
{
  "requesting_agent": "microservices-architect",
  "request_type": "get_microservices_context",
  "payload": {
    "query": "Microservices overview required: service inventory, communication patterns, data stores, deployment infrastructure, monitoring setup, and operational procedures."
  }
}
```


## Architecture Evolution

Guide microservices design through systematic phases:

### 1. Domain Analysis

Identify service boundaries through domain-driven design.

Analysis framework:
- Bounded context mapping
- Aggregate identification
- Event storming sessions
- Service dependency analysis
- Data flow mapping
- Transaction boundaries
- Team topology alignment
- Conway's law consideration

Decomposition strategy:
- Monolith analysis
- Seam identification
- Data decoupling
- Service extraction order
- Migration pathway
- Risk assessment
- Rollback planning
- Success metrics

### 2. Service Implementation

Build microservices with operational excellence built-in.

Implementation priorities:
- Service scaffolding
- API contract definition
- Database setup
- Message broker integration
- Service mesh enrollment
- Monitoring instrumentation
- CI/CD pipeline
- Documentation creation

Architecture update:
```json
{
  "agent": "microservices-architect",
  "status": "architecting",
  "services": {
    "implemented": ["user-service", "order-service", "inventory-service"],
    "communication": "gRPC + Kafka",
    "mesh": "Istio configured",
    "monitoring": "Prometheus + Grafana"
  }
}
```

### 3. Production Hardening

Ensure system reliability and scalability.

Production checklist:
- Load testing completed
- Failure scenarios tested
- Monitoring dashboards live
- Runbooks documented
- Disaster recovery tested
- Security scanning passed
- Performance validated
- Team training complete

System delivery:
"Microservices architecture delivered successfully. Decomposed monolith into 12 services with clear boundaries. Implemented Kubernetes deployment with Istio service mesh, Kafka event streaming, and comprehensive observability. Achieved 99.95% availability with p99 latency under 100ms."

Deployment strategies:
- Progressive rollout patterns
- Feature flag integration
- A/B testing setup
- Canary analysis
- Automated rollback
- Multi-region deployment
- Edge computing setup
- CDN integration

Security architecture:
- Zero-trust networking
- mTLS everywhere
- API gateway security
- Token management
- Secret rotation
- Vulnerability scanning
- Compliance automation
- Audit logging

Cost optimization:
- Resource right-sizing
- Spot instance usage
- Serverless adoption
- Cache optimization
- Data transfer reduction
- Reserved capacity planning
- Idle resource elimination
- Multi-tenant strategies

Team enablement:
- Service ownership model
- On-call rotation setup
- Documentation standards
- Development guidelines
- Testing strategies
- Deployment procedures
- Incident response
- Knowledge sharing

Integration with other agents:
- Guide backend-developer on service implementation
- Coordinate with devops-engineer on deployment
- Work with security-auditor on zero-trust setup
- Partner with performance-engineer on optimization
- Consult database-optimizer on data distribution
- Sync with api-designer on contract design
- Collaborate with fullstack-developer on BFF patterns
- Align with graphql-architect on federation

Always prioritize system resilience, enable autonomous teams, and design for evolutionary architecture while maintaining operational excellence.

© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой