tech-leads-club/agent-skills/decomposition-planning-roadmap
Claude Code and agent skill by tech-leads-club/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
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).
Install
npx vskill@latest install tech-leads-club/agent-skills/decomposition-planning-roadmapSKILL.md
The same SKILL.md was published earlier as tech-leads-club/agent-skills/decomposition-planning-roadmap.
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
Example 2: Prioritized Plan
Example 3: Phase Planning
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 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:
- 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)
- Check Pattern Completion
- Which patterns are complete?
- Which patterns are in progress?
- Which patterns haven't started?
- 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:
- Assess Risk
- Low Risk: Infrastructure components, standalone functionality
- Medium Risk: Domain components with some dependencies
- High Risk: Core business logic, high coupling
- Assess Value
- High Value: Business-critical, high impact, frequent changes
- Medium Value: Important but not critical
- Low Value: Nice to have, low impact
- Assess Dependencies
- Independent: Can be done without other work
- Dependent: Requires other patterns/work first
- Blocking: Blocks other work from proceeding
- Calculate Priority Score
``` Priority = (Value × 3) - (Risk × 2) - (Dependencies × 1)
Higher score = Higher priority ```
Output: Prioritized list of patterns and work items
Phase 4: Create Phased Roadmap
Build a phased roadmap with milestones:
- Define Phases
- Phase 1: Analysis & Preparation
- Phase 2: Domain Organization
- Phase 3: Service Extraction
- Phase 4: Optimization & Refinement
- Assign Patterns to Phases
- Which patterns belong in which phase?
- What's the sequence within each phase?
- What are the phase dependencies?
- Set Milestones
- What marks completion of each phase?
- What are the success criteria?
- What deliverables are expected?
- Estimate Timeline
- How long will each phase take?
- What are the dependencies?
- What's the critical path?
Output: Phased roadmap with timeline and milestones
Phase 5: Generate Architecture Stories
Create architecture stories for tracking work:
- Create Story Template
`` As an architect, I need to [apply pattern/refactor component] to support [architectural characteristic/business need] so that [benefit/outcome] ``
- Break Down Work
- One story per pattern application
- One story per major refactoring
- One story per domain grouping
- Add Acceptance Criteria
- What defines "done"?
- What metrics validate success?
- What tests verify completion?
- Estimate Effort
- Story points or time estimates
- Complexity assessment
- Risk factors
Output: List of architecture stories with estimates
Phase 6: Track Progress
Monitor progress through decomposition:
- Track Pattern Completion
- Which patterns are complete?
- Which are in progress?
- Which are blocked?
- Track Story Completion
- Stories completed
- Stories in progress
- Stories not started
- Track Metrics
- Components identified
- Components refactored
- Domains created
- Services extracted
- Identify Blockers
- What's blocking progress?
- What dependencies are missing?
- What risks have emerged?
Output: Progress dashboard and status report
Output Format
Decomposition Roadmap
Prioritized Work Plan
Architecture Stories
Progress Dashboard
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skills-catalog/skills/(architecture)/decomposition-planning-roadmap/SKILL.md
Popularity
- Repository stars
- 4,626
- Repository forks
- 415
- 7-day trend score
- 42
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tech-leads-club/agent-skills/decomposition-planning-roadmap)