/decomposition-planning-roadmap
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
$ npx -y skills add tech-leads-club/agent-skills --skill decomposition-planning-roadmap --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/decomposition-planning-roadmap
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
decomposition-planning-roadmap.SKILL.mdname: decomposition-planning-roadmap
description: 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).
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
1. **Assess Current State**: Analyze codebase and identify what's been done 2. **Identify Patterns**: Determine which decomposition patterns to apply 3. **Prioritize Work**: Rank patterns by risk, value, and dependencies 4. **Create Roadmap**: Build phased plan with milestones 5. **Generate Stories**: Create architecture stories for tracking 6. **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:
1. **Identify and Size Components** - Understand what you have 2. **Gather Common Domain Components** - Find duplicates 3. **Flatten Components** - Remove orphaned classes 4. **Determine Component Dependencies** - Assess coupling 5. **Create Component Domains** - Group into domains 6. **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:
1. **Check Component Inventory**
- Have components been identified and sized?
- Is there a component inventory document?
- Are oversized components identified?
2. **Check Common Component Analysis**
- Have common domain components been identified?
- Are consolidation opportunities documented?
- Has coupling impact been analyzed?
3. **Check Component Structure**
- Have components been flattened?
- Are there orphaned classes?
- Is component structure clean?
4. **Check Dependency Analysis**
- Have component dependencies been mapped?
- Is coupling analysis complete?
- Is feasibility assessed?
5. **Check Domain Identification**
- Have domains been identified?
- Are components grouped into domains?
- Are namespaces aligned with domains?
6. **Check Service Extraction**
- Have any services been extracted?
- Are domain services created?
- Is service-based architecture in place?
**Output**: Current state assessment showing what's done and what's remaining
Phase 2: Identify Patterns to Apply
Determine which decomposition patterns need to be applied:
1. **Review Pattern Prerequisites**
- Pattern 1: Always needed (foundation)
- Pattern 2: Needed if common components exist
- Pattern 3: Needed if components have hierarchy
- Pattern 4: Always needed (feasibility check)
- Pattern 5: Needed before service extraction
- Pattern 6: Final step (service extraction)
2. **Check Pattern Completion**
- Which patterns are complete?
- Which patterns are in progress?
- Which patterns haven't started?
3. **Identify Missing Patterns**
- What patterns still need to be applied?
- What's blocking pattern application?
- What dependencies exist?
**Output**: List of patterns to apply with status
Phase 3: Prioritize Work
Prioritize decomposition patterns and work items:
1. **Assess Risk**
- Low Risk: Infr
Read more
name: decomposition-planning-roadmap description: 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).
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
1. **Assess Current State**: Analyze codebase and identify what's been done 2. **Identify Patterns**: Determine which decomposition patterns to apply 3. **Prioritize Work**: Rank patterns by risk, value, and dependencies 4. **Create Roadmap**: Build phased plan with milestones 5. **Generate Stories**: Create architecture stories for tracking 6. **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:
1. **Identify and Size Components** - Understand what you have 2. **Gather Common Domain Components** - Find duplicates 3. **Flatten Components** - Remove orphaned classes 4. **Determine Component Dependencies** - Assess coupling 5. **Create Component Domains** - Group into domains 6. **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:
1. **Check Component Inventory**
- Have components been identified and sized?
- Is there a component inventory document?
- Are oversized components identified?
2. **Check Common Component Analysis**
- Have common domain components been identified?
- Are consolidation opportunities documented?
- Has coupling impact been analyzed?
3. **Check Component Structure**
- Have components been flattened?
- Are there orphaned classes?
- Is component structure clean?
4. **Check Dependency Analysis**
- Have component dependencies been mapped?
- Is coupling analysis complete?
- Is feasibility assessed?
5. **Check Domain Identification**
- Have domains been identified?
- Are components grouped into domains?
- Are namespaces aligned with domains?
6. **Check Service Extraction**
- Have any services been extracted?
- Are domain services created?
- Is service-based architecture in place?
**Output**: Current state assessment showing what's done and what's remaining
Phase 2: Identify Patterns to Apply
Determine which decomposition patterns need to be applied:
1. **Review Pattern Prerequisites**
- Pattern 1: Always needed (foundation)
- Pattern 2: Needed if common components exist
- Pattern 3: Needed if components have hierarchy
- Pattern 4: Always needed (feasibility check)
- Pattern 5: Needed before service extraction
- Pattern 6: Final step (service extraction)
2. **Check Pattern Completion**
- Which patterns are complete?
- Which patterns are in progress?
- Which patterns haven't started?
3. **Identify Missing Patterns**
- What patterns still need to be applied?
- What's blocking pattern application?
- What dependencies exist?
**Output**: List of patterns to apply with status
Phase 3: Prioritize Work
Prioritize decomposition patterns and work items:
1. **Assess Risk**
- Low Risk: Infr
The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
Repo: tech-leads-club/agent-skills
Other skills on tech-leads-club-agent-skills.
- /component-common-domain-detection
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic duplicated?", "find common code between services", "what can be consolidated?", "detect shared domain logic", or analyzing component overlap before
Open skill - /component-flattening-analysis
Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at the root level. Use when asking "clean up component structure", "find orphaned classes", "fix module hierarchy", "flatten nested components", or
Open skill - /component-identification-sizing
Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking "how big is each module?", "what components do I have?", "which service is too large?", "analyze codebase structure", "size my monolith", or planning
Open skill - /coupling-analysis
Analyzes coupling between modules using the three-dimensional model (strength, distance, volatility) from "Balancing Coupling in Software Design". Use when asking "are these modules too coupled?", "show me dependencies", "analyze integration quality", "which modules should I
Open skill - /domain-analysis
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the domains in this codebase?", "where should I draw service boundaries?", "identify bounded contexts", "classify subdomains", "DDD analysis", or analyzing
Open skill - /domain-identification-grouping
Groups existing components into logical business domains to plan service-based architecture. Use when asking "which components belong together?", "group these into services", "organize by domain", "component-to-domain mapping", or planning service extraction from an existing
Open skill

