本文へスキップ
Skillpedia
APIとサーバー(バックエンド)41k · #6639

microservices-patterns

できること

このツールは、大きく複雑なソフトウェアシステムを、より小さな部品(マイクロサービス)に分けて計画し、構築する手助けをします。部品同士がどのように通信し、データをどう管理し、障害からどう回復するかを学べます。

使う場面

  • ✓大きなプログラムを小さな部品に分割するとき
  • ✓システムの各部分が互いにどのようややり取りするかを設計するとき
  • ✓障害に強いシステムにしたいとき

スキルのリンク

https://github.com/wshobson/agents/blob/main/plugins/backend-development/skills/microservices-patterns/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/wshobson/agents/blob/main/plugins/backend-development/skills/microservices-patterns/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“オンラインストアのアプリケーションを、マイクロサービスにどのように分割すればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

ツールはマイクロサービス設計パターンの例と解説を用いて説明します。部品の整理の仕方、部品同士の情報のやり取りの方法、そして問題への対処法を示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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.

よくある質問

マイクロサービスとは何ですか?

大きなソフトウェアを構成する、小さく独立した部品のことです。それぞれが特定の機能を担当します。

「非同期通信」とは何ですか?

ソフトウェアの部品同士が、すぐに返事を待たずにメッセージを送り合う方式です。メールを送るようなものです。

「サーキットブレーカー」パターンとは何ですか?

システムの一部で起きた障害が、連鎖的に他の部分へ広がるのを防ぐための仕組みです。

詳細

作者による元の説明

Design microservices architectures with service boundaries, event-driven communication, and resilience patterns. Use when building distributed systems, decomposing monoliths, or implementing microservices.

repo: wshobson/agents

人気

GitHubのスター
41k
ランキング
#6639
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル