Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

decomposition-reconstruction分解重建

Agent Skill

decomposition-reconstruction 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,395

周安装

57

GitHub Stars

85

下载量

451
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:decomposition-reconstruction(分解重建)
来源仓库:https://github.com/lyndonkl/claude
仓库路径:skills/decomposition-reconstruction
安装命令:
npx skills add https://github.com/lyndonkl/claude --skill decomposition-reconstruction
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/lyndonkl/claude --skill decomposition-reconstruction

简介

decomposition-reconstruction 提供系统分解与重构的工作流程,用于深入分析或优化设计。

  • 适用于需要拆解组件关系、分析交互属性,并重新构建以获得洞察或改进方案的场景。
  • 包含定义目标、分解结构、分析属性和验证结果等步骤,支持结构化问题解决。
  • 使用前应明确系统边界和目标,避免在无约束条件下生成不可落地的建议。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Gemini CLI

31.1%
按下载量换算140

Antigravity

22.16%
按下载量换算100

windsurf

15.91%
按下载量换算72

Claude Code

12.17%
按下载量换算55

OpenCode

6.92%
按下载量换算31

github-copilot

3.65%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills