decomposition-planning-roadmap
Skill này làm gì
Skill này để AI tạo một lộ trình di chuyển theo giai đoạn để tách một ứng dụng lớn thành các service nhỏ hơn. Phù hợp với các trưởng nhóm kỹ thuật cần một thứ tự công việc rõ ràng và cách theo dõi tiến độ.
Khi nào nên dùng
- ✓Khi bạn muốn biết phần nào của ứng dụng lớn nên tách trước.
- ✓Khi bạn lên kế hoạch chuyển từ một ứng dụng lớn sang nhiều service.
- ✓Khi bạn muốn theo dõi một dự án tách đã tiến được bao xa.
Liên kết skill
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(architecture)/decomposition-planning-roadmap/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một kế hoạch theo giai đoạn để tách ứng dụng của chúng tôi thành các service, bắt đầu từ những phần ít rủi ro nhất.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI xem lại bản kiểm kê component, xếp hạng công việc theo rủi ro và giá trị, nhóm chúng thành các giai đoạn có phụ thuộc, rồi viết các câu chuyện và tiêu chí thành công cho từng giai đoạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có tự bắt đầu việc di chuyển không?
Không. Nó tạo kế hoạch và lộ trình để nhóm của bạn thực hiện.
Nó có ước lượng công sức không?
Có. Nó ước lượng công sức và phụ thuộc cho từng bước.
Có nên chạy nó trước khi phân tích lĩnh vực không?
Thường thì phân tích lĩnh vực và đo kích thước component được làm trước, bằng các skill riêng, vì kế hoạch này dựa trên chúng.
Chi tiết
Mô tả gốc của tác giả
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).
Độ phổ biến
- Sao GitHub
- 7.1k
- Vị trí xếp hạng
- #13503
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
component-common-domain-detection
7.1kGiúp agent của bạn tìm logic nghiệp vụ bị lặp lại ở nhiều phần của codebase và gợi ý cách gộp nó lại.
component-flattening-analysis
7.1kGiúp agent của bạn tìm mã nằm sai chỗ và làm phẳng các cấu trúc thư mục component lộn xộn, để mỗi phần nằm đúng vị trí.
component-identification-sizing
7.1kGiúp agent của bạn lập bản đồ các phần của codebase và đo kích thước của chúng, để tìm module nên tách trước.
coupling-analysis
7.1kGiúp agent của bạn kiểm tra mức độ phụ thuộc chặt chẽ giữa các phần của codebase, và nên nới lỏng những kết nối nào trước.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.