Back to list
pluginagentmarketplace

microservices

by pluginagentmarketplace

Backend development plugin for Claude AI - FastAPI, database management, API design, and server-side development tools

1🍴 0📅 Jan 7, 2026

SKILL.md


name: microservices description: Microservices architecture patterns and best practices. Service decomposition, inter-service communication, and distributed data management. sasmp_version: "2.0.0" bonded_agent: 04-architecture-patterns bond_type: SECONDARY_BOND

=== PRODUCTION-GRADE SKILL CONFIG (SASMP v2.0.0) ===

atomic_operations:

  • SERVICE_DECOMPOSITION
  • API_GATEWAY_SETUP
  • SERVICE_DISCOVERY
  • DATA_MANAGEMENT

parameter_validation: query: type: string required: true minLength: 5 maxLength: 3000 pattern: type: string enum: [saga, cqrs, event-sourcing, api-gateway] required: false

retry_logic: max_attempts: 2 backoff: exponential initial_delay_ms: 2000

logging_hooks: on_invoke: "skill.microservices.invoked" on_success: "skill.microservices.completed" on_error: "skill.microservices.failed"

exit_codes: SUCCESS: 0 INVALID_INPUT: 1 ANTI_PATTERN_DETECTED: 2

Microservices Skill

Bonded to: architecture-patterns-agent (Secondary)


Quick Start

# Invoke microservices skill
"Decompose my monolith into microservices"
"Design API gateway for my services"
"Implement Saga pattern for distributed transactions"

Decomposition Strategies

StrategyBest ForComplexity
By Business CapabilityClear domainsMedium
By Subdomain (DDD)Complex domainsHigh
By TeamConway's LawMedium
Strangler FigMigrationLow

Service Decomposition Example

E-commerce Monolith → Microservices

├── user-service          # Authentication, profiles
├── product-service       # Catalog, inventory
├── order-service         # Orders, checkout
├── payment-service       # Transactions
├── notification-service  # Email, push, SMS
└── api-gateway           # Routing, auth, rate limiting

Communication Patterns

Synchronous (REST/gRPC)

# Service-to-service call
import httpx

async def get_user_from_user_service(user_id: str):
    async with httpx.AsyncClient() as client:
        response = await client.get(f"http://user-service/users/{user_id}")
        return response.json()

Asynchronous (Events)

# Event publishing
from kafka import KafkaProducer

producer = KafkaProducer(bootstrap_servers=['kafka:9092'])

def publish_order_created(order):
    producer.send('order-events', {
        'type': 'ORDER_CREATED',
        'order_id': order.id,
        'user_id': order.user_id
    })

Anti-Patterns to Avoid

Anti-PatternSignSolution
Distributed MonolithTight couplingDefine bounded contexts
Shared DatabaseMultiple services, one DBDatabase per service
Chatty ServicesToo many sync callsUse async messaging
Data InconsistencyNo transaction strategyImplement Saga

Troubleshooting

IssueCauseSolution
Cascading failuresNo resilienceCircuit breakers
Data inconsistencyDistributed txSaga pattern
High latencyChatty callsBatch requests, cache

Resources

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon