Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add protect-my-hair/nucleus-marketplace --skill requirement-decompositiongit clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplaceWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-decomposition)<a href="https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-decomposition"><img src="https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/requirement-decomposition/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-decomposition"><img src="https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/requirement-decomposition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.02149 |
| Opus 5 | $0.00014 | $0.01074 |
| Sonnet 5 | $0.00005 | $0.00430 |
| Haiku 4.5 | $0.00003 | $0.00215 |
Grade A, and why
requirement-decomposition scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
需求分解
核心原则
需求分解 input 只校验已选方案和需求实现方案 artifact 是否存在且完成;产品子需求拆分和当前产品特性拆解方案的评审属于本阶段 output gate,未通过时不能输出正式特性拆解结果;特性拆解方案评审通过后,不得追加最终拆解二次确认。
本 Skill 是 requirement-design 的内部阶段能力,只负责把已选方案和需求实现方案分解成产品子需求、当前产品特性影响和 feature-doc-design 输入。它不写正式特性文档,不开发,不测试,不提交,不创建 PR,也不推进 PMS 状态。
未读取现有 docs/features/**/feature.md,不得声明新增、修改、删除或不变的特性影响。
跨产品需求未完成产品子需求拆分评审,不得拆当前产品特性。
产品子需求拆分评审或特性拆解方案评审请求发给人之前,必须先按对应 subagentPreReview 调度独立 reviewer 子代理;未取得“材料可提交人工审查”预审结论时,不得请求人工评审通过。
当前产品特性拆解方案和计划未评审通过,不得输出正式特性拆解结果。
特性拆解结果不得写 docs/features/**,不得进入开发准备。
新增或修改特性缺少特性四段式设计输入时,不得移交 feature-doc-design。四段式输入必须覆盖 feature.md、technical-design.md、data-model.md 和 business-flow.md。
本阶段不得生成开发计划、测试计划、源码变更、测试代码、提交、推送、PR 或 PMS 状态推进。
什么时候使用
当需求实现方案已经被选定,并且需要拆成产品子需求和当前产品特性拆解输入时使用。
不要在以下情况使用:
- 方案还只是思路候选,或用户仍在比较方案。
- 已选方案或需求实现方案 artifact 缺失。
- 用户要求写正式
feature.md、研发计划、测试计划或代码。 - 用户要求 Nucleus 作为 PMS 后端、PMS 下游工具或独立 Agent 服务推进状态。
本阶段只做什么
- 验证已选方案和需求实现方案 artifact。
- 读取
docs/features/**/feature.md和必要的特性上下文。 - 判断需求是否跨产品;跨产品时先拆产品子需求并等待评审。
- 输出当前产品特性拆解方案和计划,并等待评审。
- 在特性拆解方案评审通过后,输出正式特性拆解结果和
feature-doc-design输入。 - 按需调用
multi-review检查完整性、一致性、越界和证据风险。
本阶段不做什么
- 不重新选择方案,不重新判断需求是否接纳。
- 不替
requirement-design编排整个需求设计任务包。 - 不替人评审产品子需求拆分或特性拆解方案。
- 不把按钮、字段、表、接口或操作步骤当成 feature。
- 不把四段式设计输入当作正式
docs/features/**文档写入。 - 不写正式
docs/requirement/**。
行为步骤
-
验证入口事实。
- 读取
.nucleus/context/<workflowRunId>.json、已选方案和需求实现方案 artifact。 - 记录后续 output gate 需要引用的人工事实字段,但不把上游评审是否文件化作为本阶段 input 阻塞。
- 缺少真实依赖时必须
ALERT_AND_BLOCK。
- 读取
-
读取产品和特性事实。
- 读取相关
docs/features/**/feature.md。 - 必要时读取 feature group 的
technical-design.md、data-model.md、business-flow.md。 - 能从仓库事实判断的特性放置,不得问用户。
- 读取相关
-
处理跨产品子需求。
- 跨产品时,输出产品子需求拆分候选,说明每个产品承担的子需求、边界、依赖、协作点和风险。
- 输出后必须停在产品子需求拆分评审;评审通过前不得拆当前产品特性。
- 不跨产品时,记录跳过原因和证据,不能静默跳过。
-
输出当前产品特性拆解方案和计划。
- 基于当前产品子需求或非跨产品需求,分析拟新增、修改、删除和保持不变的特性。
- 每个拟影响特性都必须说明目标 feature path、拆解理由、依赖关系、优先级和后续
feature-doc-design输入。 - 每个新增或修改特性都必须提供四段式设计输入。
- 计划只说明特性拆解方案,不写正式特性文档,不写开发任务。
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 133 lines · 27 tokens per session scan A d92c32a76ef5
requirement-decomposition is a skill published in the GitHub repository protect-my-hair/nucleus-marketplace (162 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 2,149 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…