AI Agent Hub
Back to skills
COSMIC Workload Decomposition icon

COSMIC Workload Decomposition

Development Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_377751ac/wenwei-cosmic according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Estimating effort from requirement documents often fails because function points are split inconsistently: one team treats a business scenario as a function point, another misses interface calls, and the final CFP count is hard to audit.

How It Works

The skill turns COSMIC decomposition into a five-step workflow: workspace preparation, function point discovery, user confirmation, decomposition execution, and CSV export. The main flow tracks progress with TodoWrite and infers whether the work is new or resumable from files under results/. Steps 1, 2, and 4 run through Task subagents, while the main agent only reads templates under prompts/, assembles path parameters, starts the task, receives the result, and asks for confirmation. Step 3 requires the user to confirm the function categories and function point list. Step 4 decomposes each function point into sub-process descriptions, limits each subagent batch to 100 function points, and forbids script-generated detail. Step 5 summarizes E, R, W, and X data moves and exports the final detail CSV.

Limits

Use it when you have a .md or .docx requirement document and want a reviewable estimate. It does not clarify ambiguous requirements or replace architecture review; if business rules, interface boundaries, or non-functional constraints are missing, the output may be coarse.

Use Cases

  • Turn .md or .docx requirement documents into function points and CFP estimates.
  • Resume a partial COSMIC decomposition from an existing results directory.
  • Review function categories and function points, then export a detail CSV.
  • Split requirements into sub-processes and classify E, R, W, and X data moves.

Best For

  • Delivery managers estimating software effort who need auditable CFP breakdowns.
  • Product managers turning business requirements into reviewable function point lists.
  • Architects preparing estimates who need E, R, W, and X data-move classification.
  • Engineering process owners who want requirement decomposition in an AI workflow.