decomposition-planning-roadmap

0
0
Source

Creates structured decomposition plans and roadmaps for migrating monolithic applications. Use when planning decomposition, creating migration roadmaps, prioritizing decomposition work, tracking decomposition progress, or when the user asks about decomposition planning, migration strategy, or architectural roadmap.

Install

mkdir -p .claude/skills/decomposition-planning-roadmap && curl -L -o skill.zip "https://mcp.directory/api/skills/download/5461" && unzip -o skill.zip -d .claude/skills/decomposition-planning-roadmap && rm skill.zip

Installs to .claude/skills/decomposition-planning-roadmap

About this skill

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: Infrastructure components, standalone functionality
    • Medium Risk: Domain components with some dependencies
    • High Risk: Core business logic, high coupling
  2. Assess Value

    • High Value: Business-critical, high impact, frequent changes
    • Medium Value: Important but not critical
    • Low Value: Nice to have, low impact
  3. Assess Dependencies

    • Independent: Can be done without other work
    • Dependent: Requires other patterns/work first
    • Blocking: Blocks other work from proceeding
  4. 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:

  1. Define Phases

    • Phase 1: Analysis & Preparation
    • Phase 2: Domain Organization
    • Phase 3: Service Extraction
    • Phase 4: Optimization & Refinement
  2. Assign Patterns to Phases

    • Which patterns belong in which phase?
    • What's the sequence within each phase?
    • What are the phase dependencies?
  3. Set Milestones

    • What marks completion of each phase?
    • What are the success criteria?
    • What deliverables are expected?
  4. 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:

  1. Create Story Template

    As an architect, I need to [apply pattern/refactor component]
    to support [architectural characteristic/business need]
    so that [benefit/outcome]
    
  2. Break Down Work

    • One story per pattern application
    • One story per major refactoring
    • One story per domain grouping
  3. Add Acceptance Criteria

    • What defines "done"?
    • What metrics validate success?
    • What tests verify completion?
  4. 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:

  1. Track Pattern Completion

    • Which patterns are complete?
    • Which are in progress?
    • Which are blocked?
  2. Track Story Completion

    • Stories completed
    • Stories in progress
    • Stories not started
  3. Track Metrics

    • Components identified
    • Components refactored
    • Domains created
    • Services extracted
  4. Identify Blockers

    • What's blocking progress?
    • What dependencies are missing?
    • What risks have emerged?

Output: Progress dashboard and status report

Output Format

Decomposition Roadmap

# Decomposition Roadmap

## Current State Assessment

**Completed Patterns**:

- ✅ Pattern 1: Identify and Size Components
- ✅ Pattern 2: Gather Common Domain Components
- ⚠️ Pattern 3: Flatten Components (in progress)
- ❌ Pattern 4: Determine Component Dependencies (not started)
- ❌ Pattern 5: Create Component Domains (not started)
- ❌ Pattern 6: Create Domain Services (not started)

**Key Findings**:

- 75 components identified
- 3 common domain components found
- 2 oversized components need splitting
- High database coupling detected

## Phased Roadmap

### Phase 1: Analysis & Preparation (Weeks 1-4)

**Goal**: Complete component analysis and refactoring

**Patterns**:

1. Complete Pattern 3: Flatten Components
2. Apply Pattern 4: Determine Component Dependencies
3. Refactor oversized components

**Milestones**:

- Week 2: Component flattening complete
- Week 4: Dependency analysis complete

**Deliverables**:

- Flattened component structure
- Dependency diagram
- Feasibility assessment

### Phase 2: Domain Organization (Weeks 5-8)

**Goal**: Organize components into domains

**Patterns**:

1. Apply Pattern 5: Create Component Domains
2. Refactor namespaces for domain alignment

**Milestones**:

- Week 6: Domains identified
- Week 8: Namespace refactoring complete

**Deliverables**:

- Domain map
- Refactored component namespaces
- Domain documentation

### Phase 3: Service Extraction (Weeks 9-16)

**Goal**: Extract domains to domain services

**Patterns**:

1. Apply Pattern 6: Create Domain Services
2. Extract services incrementally

**Milestones**:

- Week 12: First domain service extracted
- Week 16: All domain services extracted

**Deliverables**:

- Domain services

---

*Content truncated.*

perf-lighthouse

tech-leads-club

Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance budget.

464

aws-advisor

tech-leads-club

Expert AWS Cloud Advisor for architecture design, security review, and implementation guidance. Leverages AWS MCP tools for accurate, documentation-backed answers. Use when user asks about AWS architecture, security, service selection, migrations, troubleshooting, or learning AWS. Triggers on AWS, Lambda, S3, EC2, ECS, EKS, DynamoDB, RDS, CloudFormation, CDK, Terraform, Serverless, SAM, IAM, VPC, API Gateway, or any AWS service.

212

domain-analysis

tech-leads-club

Identifies subdomains and suggests bounded contexts in any codebase following DDD Strategic Design. Use when analyzing domain boundaries, identifying business subdomains, assessing domain cohesion, mapping bounded contexts, or when the user asks about DDD strategic design, domain analysis, or subdomain classification.

22

accessibility

tech-leads-club

Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

190

component-common-domain-detection

tech-leads-club

Identifies duplicate domain functionality across components and suggests consolidation opportunities. Use when finding common domain logic, detecting duplicate functionality, analyzing shared classes, planning component consolidation, or when the user asks about common components, duplicate code, or domain consolidation.

20

subagent-creator

tech-leads-club

Guide for creating AI subagents with isolated context for complex multi-step workflows. Use when users want to create a subagent, specialized agent, verifier, debugger, or orchestrator that requires isolated context and deep specialization. Works with any agent that supports subagent delegation. Triggers on "create subagent", "new agent", "specialized assistant", "create verifier".

220

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

641968

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

590705

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

338397

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

318395

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

450339

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

304231

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.