requirement-design

requirement-design is a skill for Claude Code, Codex from protect-my-hair/nucleus-marketplace. It costs 22 tokens per session (2,867 once invoked), scanned A, original, MIT.

A workflow for turning an accepted product request into a reviewed implementation design. It selects the right level of detail, presents options for a human to choose, and waits for required reviews.

In plain words
What is it for?
Use it to read requirements, create design options, collect a human choice, run pre-reviews, and prepare approved work for later feature breakdown.
Why use it?
It prevents agents from designing or breaking down work before the request has enough evidence, a chosen approach, and the required approvals.

Skill for Claude CodeCodex

Written for Claude Code and Codex: SessionStart hook event, but also agents/openai.yaml present. Also seen: mentions subagents; names the TodoWrite tool; mentions Claude Code.

Part of the nucleus plugin — 27 skills, 1 agent, 1 hook shipped together

Good fit Use it to read requirements, create design options, collect a human choice, run pre-reviews, and prepare approved work for later feature breakdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/protect-my-hair/nucleus-marketplace/requirement-design
Install

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.

Any agent
npx skills add protect-my-hair/nucleus-marketplace --skill requirement-design
Clone the repo
git clone --depth 1 https://github.com/protect-my-hair/nucleus-marketplace

Made for: Claude Code, Codex.

Or install nucleus, the plugin that ships this one along with the rest of its 27 skills, 1 agent, 1 hook.

Wrote 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.

agentmods badge for requirement-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/requirement-design/github.svg)](https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-design)
Your own site
<a href="https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-design"><img src="https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/requirement-design/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.

agentmods 80×15 button for requirement-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/requirement-design"><img src="https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/requirement-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.02867
Opus 5 $0.00011 $0.01434
Sonnet 5 $0.00004 $0.00573
Haiku 4.5 $0.00002 $0.00287

Measured 12d ago against content hash edae23c3d60f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

requirement-design 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/requirement_design.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/nucleus/skills/requirement-design/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

需求设计

前置:使用本 Skill 前,先按 using-nucleus 完成 Nucleus 入口识别(Claude Code 会话由插件 SessionStart hook 自动注入该纪律)。

核心原则

需求设计是已接纳需求的编排 Skill:它保留任务纪律、人工门禁和写入边界,具体设计深度、写作方法和压力场景下沉到 references / assets。

Checklist

启动本 Skill 后,必须先为以下每一项创建宿主 todo/task,并按顺序执行;Codex 使用计划 / 任务工具,Claude Code 使用 TodoWrite 或等价宿主 todo。每完成、阻塞或等待一项都必须逐项更新状态。.nucleus/runs/<workflowRunId>/requirement-design/tasks.jsontasks.md 只是镜像证据,不能替代宿主任务、人工选择、人工评审或 PMS 状态。

  1. 读取需求事实:读取 PRD、需求分析、evaluation.md、接纳事实和需求目录;缺接纳事实时 ALERT_AND_BLOCK
  2. 建立宿主任务列表:把本 Checklist 同步成当前会话的宿主 todo/task;未同步前不得调用下游 Skill。
  3. 读取需求尺寸并选择模板:读取 evaluation.md 的"需求尺寸",按 references/design-depth-by-size.md 选择对应尺寸模板;缺尺寸、低置信或事实变更时 STOP。
  4. 生成方案候选:调用 requirement-solution-design 按需求尺寸和设计深度生成;XS 不伪造候选,S 以主方案为主,M/L 强制 2-3 个候选,XL 只产出方向和验证计划。
  5. 呈现方案并等待选择:在对话中呈现候选、取舍和推荐理由,遵循 _shared/references/interaction-format.md 的选择型格式(含完整度评分和选错代价);缺明确选择时 STOP。
  6. 生成需求实现方案:只基于已选方案生成;方案选定后只复核设计深度,不重算需求尺寸。
  7. 完成人审前预审和尺寸化方案评审:按 _shared/references/subagent-precheck-protocol.md 调度独立 reviewer 子代理并记录 subagentPreReview;确认材料可提交人工审查后,再按尺寸等待轻量复核、人工评审、架构风险评审或 discovery / spike 评审。
  8. 生成产品子需求拆分:仅在方案评审通过后执行;非跨产品必须记录跳过事实。
  9. 完成尺寸化子需求评审:XS/S 可记录非跨产品跳过事实,M 保持子需求复核,L 必须覆盖子需求和架构风险评审,XL 停在能力域拆分或 spike 评审。
  10. 生成特性拆解方案和计划:所有尺寸都必须有特性归属 / 特性拆解;XS/S 可压缩,M/L 必须完整四段式,XL 只到能力域和拆分计划。
  11. 完成尺寸化特性拆解评审:XS/S 做轻量复核,M/L 做特性拆解方案评审,XL 记录不得直接进入 feature-doc-design 的阻塞事实;缺事实时 STOP。
  12. 输出最终拆解结果:基于已评审方案输出需求到特性的拆解结果和 feature-doc-design 输入,不再发起同口径二次确认。
  13. 写入设计文档并移交:按 references/design-writing-method.md 和选定尺寸模板写入正式 docs/requirement/<req-id-slug>/design.md;XL 只移交 discovery / spike / 子需求拆分输入,不得移交开发准备。

Read the full file on GitHub · 96 lines

Changes

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.

  1. 12d ago First seen · 96 lines · 22 tokens per session scan A edae23c3d60f

Subscribe to this mod's changes

requirement-design is a skill published in the GitHub repository protect-my-hair/nucleus-marketplace (162 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 2,867 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

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.

microsoft/vscode · 53 tokens

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…

microsoft/vscode · 71 tokens

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…

vercel/next.js · 83 tokens