decomposition-reconstruction

将复杂系统分解为原子组件、绘制组件间相互关系图,并以优化的配置重构系统以识别瓶颈、关键故障点及重新设计机会,适用于简化复杂系统、识别瓶颈或关键故障点、为提升性能而重设计架构或流程、拆解难题或分析依赖关系以理解连锁反应。

仓库最近推送
GitHub Stars
206
Forks
28
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "decomposition-reconstruction":https://skillpi.com/zh/skills/deepskill-4d30727b75a23ed2ce70efef9309c7ea42d8f94de8a119ed55aa07b89768cfa0。安装前核对上游来源和版本:https://github.com/lyndonkl/claude。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将复杂系统分解为原子组件、绘制组件间相互关系图,并以优化的配置重构系统以识别瓶颈、关键故障点及重新设计机会,适用于简化复杂系统、识别瓶颈或关键故障点、为提升性能而重设计架构或流程、拆解难题或分析依赖关系以理解连锁反应。

0 下载

介绍来源: third_party · lyndonkl · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: decomposition-reconstruction
description: Breaks complex systems into atomic components, maps their relationships, and reconstructs them in optimized configurations to identify bottlenecks, critical failure points, and redesign opportunities. Use when dealing with complex systems that need simplification, identifying bottlenecks or critical failure points, redesigning architecture or processes for better performance, breaking down problems that feel overwhelming, analyzing dependencies to understand ripple effects, or when optimization requires understanding how parts interact.

Decomposition & Reconstruction

Workflow

Copy this checklist and track your progress:

Decomposition & Reconstruction Progress:
- [ ] Step 1: Define the system and goal
- [ ] Step 2: Decompose into components and relationships
- [ ] Step 3: Analyze component properties and interactions
- [ ] Step 4: Reconstruct for insight or optimization
- [ ] Step 5: Validate and deliver recommendations

Step 1: Define the system and goal

Ask user to describe the system (what are we analyzing), current problem or goal (what needs improvement, understanding, or redesign), boundaries (what's in scope vs out of scope), and success criteria (what would "better" look like). Clear boundaries prevent endless decomposition. See Scoping Questions for clarification prompts.

Step 2: Decompose into components and relationships

Break system into atomic parts that can't be meaningfully subdivided further. Identify relationships (dependencies, data flow, control flow, temporal ordering). Choose decomposition strategy based on system type. See Decomposition Strategies and resources/template.md for structured process.

Step 3: Analyze component properties and interactions

For each component, identify key properties (cost, time, complexity, reliability, etc.). Map interactions (which components depend on which). Identify critical paths, bottlenecks, or vulnerable points. For complex analysis → See resources/methodology.md for dependency mapping and critical path techniques.

Step 4: Reconstruct for insight or optimization

Based on goal, either: (a) Identify critical components (bottleneck, single point of failure, highest cost driver), (b) Redesign configuration (reorder, parallelize, eliminate, combine components), or (c) Simplify (remove unnecessary components). See Reconstruction Patterns for common approaches.

Step 5: Validate and deliver recommendations

Self-assess using resources/evaluators/rubric_decomposition_reconstruction.json (minimum score ≥ 3.5). Present decomposition-reconstruction.md with clear component breakdown, analysis findings (bottlenecks, dependencies), and actionable recommendations with expected impact.

Scoping Questions

To define the system:

  • What is the system we're analyzing? (Be specific: "checkout flow" not "website")
  • Where does it start and end? (Boundaries)
  • What's in scope vs out of scope? (Prevents endless decomposition)

To clarify the goal:

  • What problem are we solving? (Slow performance, high cost, complexity, unreliability)
  • What would success look like? (Specific target: "reduce latency to <500ms", "cut costs by 30%")
  • Are we optimizing, understanding, or redesigning?

To understand constraints:

  • What can't we change? (Legacy systems, budget limits, regulatory requirements)
  • What's the time horizon? (Quick wins vs long-term redesign)
  • Who are the stakeholders? (Engineering, business, customers)

Decomposition Strategies

Choose based on system type:

Functional Decomposition

When: Business processes, software features, workflows Approach: Break down by function or task Example: E-commerce checkout → Browse products | Add to cart | Enter shipping | Payment | Confirmation

Structural Decomposition

When: Architecture, organizations, physical systems Approach: Break down by component or module Example: Web app → Frontend (React) | API (Node.js) | Database (PostgreSQL) | Cache (Redis)

Data Flow Decomposition

When: Pipelines, ETL processes, information systems Approach: Break down by data transformations Example: Analytics pipeline → Ingest raw events | Clean & validate | Aggregate metrics | Store in warehouse | Visualize in dashboard

Temporal Decomposition

When: Processes with sequential stages, timelines, user journeys Approach: Break down by time or sequence Example: Customer onboarding → Day 1: Signup | Day 2-7: Tutorial | Day 8-30: First value moment | Day 31+: Retention

Cost/Resource Decomposition

When: Budget analysis, resource allocation, optimization Approach: Break down by cost center or resource type Example: AWS bill → Compute ($5K) | Storage ($2K) | Data transfer ($1K) | Other ($500)

Depth guideline: Stop decomposing when further breakdown doesn't reveal useful insights or actionable opportunities.

Component Relationship Types

After decomposition, map relationships:

1. Dependency (A requires B):

  • API service depends on database
  • Frontend depends on API
  • Critical for: Identifying cascading failures, understanding change impact

2. Data flow (A sends data to B):

  • User input → Validation → Database → API response
  • Critical for: Tracing information, finding transformation bottlenecks

3. Control flow (A triggers B):

  • Button click triggers form submission
  • Payment success triggers order fulfillment
  • Critical for: Understanding execution paths, identifying race conditions

4. Temporal ordering (A before B in time):

  • Authentication before authorization
  • Compile before deploy
  • Critical for: Sequencing, finding parallelization opportunities

5. Resource sharing (A and B compete for C):

  • Multiple services share database connection pool
  • Teams share budget
  • Critical for: Identifying contention, resource constraints

Reconstruction Patterns

Pattern 1: Bottleneck Identification

Goal: Find what limits system throughput or speed Approach: Measure component properties (time, cost, capacity), identify critical path or highest value Example: DB query takes 80% of request time → Optimize DB query first

Pattern 2: Simplification

Goal: Reduce complexity by removing unnecessary parts Approach: Question necessity of each component, eliminate redundant or low-value parts Example: Workflow has 5 approval steps, 3 are redundant → Remove 3 steps

Pattern 3: Reordering

Goal: Improve efficiency by changing sequence Approach: Identify dependencies, move independent tasks earlier or parallel Example: Run tests parallel to build instead of sequential → Reduce CI time

Pattern 4: Parallelization

Goal: Increase throughput by doing work concurrently Approach: Find independent components, execute simultaneously Example: Fetch user data and product data in parallel instead of serial → Cut latency in half

Pattern 5: Substitution

Goal: Replace weak component with better alternative Approach: Identify underperforming component, find replacement Example: Replace synchronous API call with async message queue → Improve reliability

Pattern 6: Consolidation

Goal: Reduce overhead by combining similar components Approach: Find redundant or overlapping components, merge them Example: Consolidate 3 microservices doing similar work into 1 → Reduce operational overhead

Pattern 7: Modularization

Goal: Improve maintainability by separating concerns Approach: Identify tightly coupled components, separate with clear interfaces Example: Extract auth logic from monolith into separate service → Enable independent scaling

When NOT to Use This Skill

Skip decomposition-reconstruction if:

  • System is already simple (3-5 obvious components, no complex interactions)
  • Problem is not about system structure (purely execution issue, not design issue)
  • You need creativity/ideation (not analysis) - use brainstorming instead
  • System is poorly understood (need discovery/research first, not decomposition)
  • Changes are impossible (no point analyzing if you can't act on findings)

Use instead:

  • Simple system → Direct analysis or observation
  • Execution problem → Project management, process improvement
  • Need ideas → Brainstorming, design thinking
  • Unknown system → Discovery interviews, research
  • Unchangeable → Workaround planning, constraint optimization

Common Patterns by Domain

Software Architecture:

  • Decompose: Modules, services, layers, data stores
  • Reconstruct for: Microservices migration, performance optimization, reducing coupling

Business Processes:

  • Decompose: Steps, decision points, handoffs, approvals
  • Reconstruct for: Cycle time reduction, automation opportunities, removing waste

Problem Solving:

  • Decompose: Sub-problems, dependencies, unknowns, constraints
  • Reconstruct for: Task sequencing, identifying blockers, finding parallelizable work

Cost Optimization:

  • Decompose: Cost centers, line items, resource usage
  • Reconstruct for: Identifying biggest cost drivers, finding quick wins

User Experience:

  • Decompose: User journey stages, interactions, pain points
  • Reconstruct for: Simplifying flows, removing friction, improving conversion

System Reliability:

  • Decompose: Components, failure modes, dependencies
  • Reconstruct for: Identifying single points of failure, improving resilience

Quick Reference

Process:

  1. Define system and goal → Set boundaries
  2. Decompose → Break into components and relationships
  3. Analyze → Measure properties, map interactions
  4. Reconstruct → Optimize, simplify, or redesign
  5. Validate → Check against rubric, deliver recommendations

Decomposition strategies:

  • Functional (by task), Structural (by component), Data flow, Temporal, Cost/Resource

Reconstruction patterns:

  • Bottleneck ID, Simplification, Reordering, Parallelization, Substitution, Consolidation, Modularization

Resources:

Deliverable: decomposition-reconstruction.md with component breakdown, analysis, and recommendations

版本历史

  1. 0.1 GitHub ↗
    原版更新说明

    ## What's Changed * Improve writer skill navigation and structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/1 * Consolidate stickiness content and reduce revision to 3 passes by @lyndonkl in https://github.com/lyndonkl/claude/pull/2 * Update README.md to reflect current writer skill structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/3 * Add explicit instructions for AI agents to follow resource file workf… by @lyndonkl in https://github.com/lyndonkl/claude/pull/4 * Change analysis files from /tmp/ to project directory by @lyndonkl in https://github.com/lyndonkl/claude/pull/5 * Add five refined skills to production by @lyndonkl in https://github.com/lyndonkl/claude/pull/6 * Add causal-inference-root-cause skill and fix missing methodology files by @lyndonkl in https://github.com/lyndonkl/claude/pull/7 * Add workflow pattern to 6 completed skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/8 * Add chain-estimation and roleplay-debate skills with optimizations by @lyndonkl in https://github.com/lyndonkl/claude/pull/9 * Add 3 new skills and update writer skill workflow pattern by @lyndonkl in https://github.com/lyndonkl/claude/pull/10 * Add skills #12-13: constraint-based-creativity and data-schema-knowle… by @lyndonkl in https://github.com/lyndonkl/claude/pull/11 * Add skills #14-16: decision-matrix, decomposition-reconstruction, deliberation-debate-red-teaming by @lyndonkl in https://github.com/lyndonkl/claude/pull/12 * Add skills #17-19: design-of-experiments, dialectical-mapping-steelmanning, discovery-interviews-surveys by @lyndonkl in https://github.com/lyndonkl/claude/pull/13 * Add chef-assistant skill and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/14 * Fix README: Remove links to gitignored scratchpad files by @lyndonkl in https://github.com/lyndonkl/claude/pull/15 * Add skills #14-22: 9 new production-ready skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/16 * Add skills #20-24 and workflow pattern updates by @lyndonkl in https://github.com/lyndonkl/claude/pull/17 * Add skill #25: expected-value by @lyndonkl in https://github.com/lyndonkl/claude/pull/18 * Add skills #26-28: facilitation-patterns, financial-unit-economics, focus-timeboxing-8020 by @lyndonkl in https://github.com/lyndonkl/claude/pull/19 * Add skills #29-30: heuristics-and-checklists, hypotheticals-counterfactuals by @lyndonkl in https://github.com/lyndonkl/claude/pull/20 * Add skills #31-33: information-architecture, kill-criteria-exit-ramps, layered-reasoning by @lyndonkl in https://github.com/lyndonkl/claude/pull/21 * Add Claude Code plugin support by @lyndonkl in https://github.com/lyndonkl/claude/pull/22 * Fix plugin marketplace source path by @lyndonkl in https://github.com/lyndonkl/claude/pull/23 * Add skill #34: mapping-visualization-scaffolds by @lyndonkl in https://github.com/lyndonkl/claude/pull/24 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/25 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/26 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/27 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/28 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/29 * Add skill #59: skill-extraction by @lyndonkl in https://github.com/lyndonkl/claude/pull/30 * Add skill-creator: Transform documents into actionable skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/31 * Update skill count from 58 to 61 in README by @lyndonkl in https://github.com/lyndonkl/claude/pull/32 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/33 * Add d3-visualization skill: comprehensive D3.js implementation guide by @lyndonkl in https://github.com/lyndonkl/claude/pull/34 * Add comprehensive Superforecasting Toolkit with 4 skills and orchestr… by @lyndonkl in https://github.com/lyndonkl/claude/pull/35 * Add "Run in Smithery" badge by @gurdasnijor in https://github.com/lyndonkl/claude/pull/36 * Add Scientific Writing Toolkit with 6 skills and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/37 * Improve skill invocation rules and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/38 * Add Geometric Deep Learning skill suite and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/39 * Decompose writer skill into 4 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/40 * Add GraphRAG skill suite with 5 skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/41 * Decompose cognitive-design skill into 3 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/42 ## New Contributors * @lyndonkl made their first contribution in https://github.com/lyndonkl/claude/pull/1 * @gurdasnijor made their first contribution in https://github.com/lyndonkl/claude/pull/36 **Full Changelog**: https://github.com/lyndonkl/claude/commits/0.1

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供系统化的复杂系统分析与重构方法论
  • 覆盖软件架构、业务流程、成本优化等多个高价值场景
  • 具备清晰的适用与不适用边界,避免误用
触发精准90/100

亮点

  • 触发描述完整覆盖6类典型使用场景
  • 明确列出不适用场景,边界清晰
  • 关键词精准,不易与其他Skill混淆
结构规范88/100

待提升项

  • 引用文件内容未完整 原报告严重程度:轻微

    主文档引用了 resources/template.md、resources/methodology.md 等资源文件,但未验证其内容完整性

    改进建议:确保所有引用文件完整传入,或补充文件内容说明

  • description重复定义 原报告严重程度:轻微

    frontmatter 和 skill_body 开头均包含 description 字段,存在冗余

    改进建议:保留一处即可,建议统一放在 frontmatter

亮点

  • 五步工作流结构清晰,每步有明确目标和指引
  • 提供检查清单、策略分类和重构模式库
  • 文档长度适中,信息密度高
执行可靠85/100

亮点

  • 提供质量评估 rubric 用于结果自检
  • 覆盖主要边界情况和异常场景
  • 重构建议需用户确认,避免误操作
证据可验 (前四项均值)87/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。