decomposition-planning-roadmap
できること
このスキルは、大きなアプリケーションを小さなサービスに分割するための、段階的な移行のロードマップをAIに作らせます。作業の明確な順番と、進捗を追う方法が必要な技術リード向けです。
使う場面
- ✓大きなアプリのどの部分を最初に切り離すべきかを知りたいとき。
- ✓一つの大きなアプリから複数のサービスへ移る計画をしているとき。
- ✓分割プロジェクトの進捗を追いたいとき。
スキルのリンク
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(architecture)/decomposition-planning-roadmap/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“リスクの低い部分から始めて、私たちのアプリをサービスに分割する段階的な計画を作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、コンポーネントの在庫を見直し、作業をリスクと価値で順位付けし、依存関係を持つフェーズにまとめ、各フェーズのストーリーと成功の確認を書きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Decomposition Planning and Roadmap
This skill creates structured decomposition plans and roadmaps to guide the migration from monolithic to distributed architectures, prioritizing work and tracking progress through decomposition patterns.
How to Use
Quick Start
Request creation of a decomposition plan:
- "Create a decomposition roadmap for this codebase"
- "Plan the decomposition migration strategy"
- "Prioritize decomposition work based on component analysis"
- "Create a step-by-step decomposition plan"
Usage Examples
Example 1: Complete Roadmap
User: "Create a decomposition roadmap for this codebase"
The skill will:
1. Analyze current codebase state
2. Identify decomposition patterns to apply
3. Prioritize work based on risk and value
4. Create phased roadmap
5. Generate architecture stories
6. Estimate effort and dependencies
Example 2: Prioritized Plan
User: "Prioritize decomposition work based on component analysis"
The skill will:
1. Review component inventory and dependencies
2. Assess risk and value for each pattern
3. Prioritize patterns by impact
4. Create prioritized work plan
Example 3: Phase Planning
User: "Create a phased decomposition plan"
The skill will:
1. Group decomposition patterns into phases
2. Identify dependencies between phases
3. Create phase timeline
4. Define phase success criteria
Step-by-Step Process
- Assess Current State: Analyze codebase and identify what's been done
- Identify Patterns: Determine which decomposition patterns to apply
- Prioritize Work: Rank patterns by risk, value, and dependencies
- Create Roadmap: Build phased plan with milestones
- Generate Stories: Create architecture stories for tracking
- Track Progress: Monitor progress through decomposition phases
When to Use
Apply this skill when:
- Starting a decomposition effort
- Planning migration from monolith to distributed architecture
- Prioritizing decomposition work
- Creating architecture stories for decomposition
- Tracking progress through decomposition patterns
- Need structured approach to decomposition
- Want to estimate effort and dependencies
Core Concepts
Decomposition Pattern Sequence
The six component-based decomposition patterns should be applied in sequence:
- Identify and Size Components - Understand what you have
- Gather Common Domain Components - Find duplicates
- Flatten Components - Remove orphaned classes
- Determine Component Dependencies - Assess coupling
- Create Component Domains - Group into domains
- Create Domain Services - Extract to services
Phased Approach
Decomposition typically follows phases:
Phase 1: Analysis & Preparation (Patterns 1-4)
- Component identification and sizing
- Common component detection
- Component flattening
- Dependency analysis
Phase 2: Domain Organization (Pattern 5)
- Domain identification
- Component grouping
- Namespace refactoring
Phase 3: Service Extraction (Pattern 6)
- Domain service creation
- Service extraction
- API boundary definition
Prioritization Factors
When prioritizing decomposition work, consider:
- Risk: Low risk = easier to extract, fewer dependencies
- Value: High value = business-critical, high impact
- Dependencies: Can this be done independently?
- Complexity: Simple = fewer components, clear boundaries
- Coupling: Low coupling = easier to extract
Analysis Process
Phase 1: Assess Current State
Analyze what's already been done:
Check Component Inventory
- Have components been identified and sized?
- Is there a component inventory document?
- Are oversized components identified?
Check Common Component Analysis
- Have common domain components been identified?
- Are consolidation opportunities documented?
- Has coupling impact been analyzed?
Check Component Structure
- Have components been flattened?
- Are there orphaned classes?
- Is component structure clean?
Check Dependency Analysis
- Have component dependencies been mapped?
- Is coupling analysis complete?
- Is feasibility assessed?
Check Domain Identification
- Have domains been identified?
- Are components grouped into domains?
- Are namespaces aligned with domains?
Check Service Extraction
- Have any services been extracted?
- Are domain services created?
- Is se
よくある質問
移行そのものを始めますか?
いいえ。計画とロードマップを作り、それをチームやエージェントが実行します。
工数を見積もりますか?
はい。各ステップの工数と依存関係を見積もります。
ドメイン分析の前に実行すべきですか?
通常は、ドメイン分析とコンポーネントの大きさの確認が先です。このロードマップはそれらに基づくからです。
詳細
作者による元の説明
Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications. Use when asking "what order should I extract services?", "plan my migration", "create a decomposition roadmap", "prioritize what to split", "monolith to microservices strategy", or tracking decomposition progress. Do NOT use for domain analysis (use domain-analysis) or component sizing (use component-identification-sizing).
人気
- GitHubのスター
- 7.1k
- ランキング
- #13503
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
component-common-domain-detection
7.1kエージェントが、コードベースのいくつかの部分に繰り返し現れるビジネスロジックを見つけ、それらをどう統合できるかを提案できるよう支援します。
component-flattening-analysis
7.1kエージェントが、迷った位置にあるコードを見つけ、乱雑なコンポーネントのフォルダ構造を平らにし、各部分が正しい場所に収まるよう支援します。
component-identification-sizing
7.1kエージェントが、コードベースの部品を洗い出して大きさを測り、最初に分割すべきモジュールを見つけられるよう支援します。
coupling-analysis
7.1kエージェントが、システムの部分同士がどれほど強く依存し合っているかを確認し、最初にどの結びつきを緩めるべきかを教えられるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。