feature-doc-design

feature-doc-design is a skill for Claude Code, Codex from protect-my-hair/nucleus-marketplace. It costs 34 tokens per session (1,690 once invoked), scanned A, original, MIT.

A workflow for writing reviewable feature-design documents inside an existing product repository. It first checks the repository’s documentation structure and keeps design decisions separate from implementation plans and code.

In plain words
What is it for?
Use it to write feature requirements and nearby design documents under a product’s existing documentation conventions. It helps prepare a feature for human design review before planning, coding, or testing.
Why use it?
It prevents feature work from starting with an invented document format or unreviewed implementation details. It also blocks progress when the required product context or documentation location is unclear.

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 write feature requirements and nearby design documents under a product’s existing documentation conventions. It helps prepare a feature for human design review before planning, coding, or testing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/protect-my-hair/nucleus-marketplace/feature-doc-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 feature-doc-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 feature-doc-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/protect-my-hair/nucleus-marketplace/feature-doc-design"><img src="https://agentmods.dev/badge/skills/protect-my-hair/nucleus-marketplace/feature-doc-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,690 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.00034 $0.01690
Opus 5 $0.00017 $0.00845
Sonnet 5 $0.00007 $0.00338
Haiku 4.5 $0.00003 $0.00169

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

Security

Grade A, and why

feature-doc-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/feature_doc_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/feature-doc-design/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 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 自动注入该纪律)。

核心原则

特性设计先服务产品能力表达,再服务实现计划;设计未被人工评审接受前,不得进入计划、代码或测试。

请求人工设计评审前,必须先按 _shared/references/subagent-precheck-protocol.md 执行 subagentPreReview 子代理预审;未取得“材料可提交人工审查”结论时,不得请求人工接受设计。

什么时候使用

使用本 Skill:特性开发中本 Skill 是每个特性的第一个领域步骤,把当前特性收口为产品仓库里可评审的特性文档和邻近设计文档;必须用当前产品既有 docs/features/** 结构和邻近设计约定作为目标形态,让设计成为可评审 Git diff。

不要使用本 Skill:自创临时特性设计格式或把实现计划混入特性设计产物;写需求设计、源码、测试、提交、推送、PR、发布或缺陷状态变更;在设计获人工评审接受前生成实施计划、源码、测试或正式交付证据。

Checklist

启动本 Skill 后,必须先为每一项创建宿主 todo/task,并按顺序逐项推进、逐项更新状态;Codex 使用计划 / 任务工具,Claude Code 使用 TodoWrite 或等价宿主 todo。.nucleus/runs/**summary.mdresult.json、候选文件和 review report 只能记录事实,不能替代宿主任务、预审或人工设计评审事实。

  1. 读取 context 和当前特性输入 完成证据:已读 .nucleus/context/<workflowRunId>.json,并确认恰好一个已存在的 primary docs/features/**/feature.md,或一个 schema 合法、带 candidateFeaturePath 的 mapping candidate。 STOP:primary 特性歧义、缺输入、受保护写入、legacy 路径、路径逃逸或 schema 失败时 FAILED_BLOCKED;缺当前特性输入时 ALERT_AND_BLOCK

  2. 读取目标产品既有 docs/features/** 结构和邻近设计约定 完成证据:当前特性的目标放置路径与邻近设计文档约定记录。 STOP:缺目标 docs/features/** 放置证据时 ALERT_AND_BLOCK,不得自创临时特性设计格式。

  3. 读取需求设计 / 特性拆解证据 完成证据:相关需求设计与 requirement-decomposition 拆解证据引用。 STOP:特性开发调用时缺需求设计或特性拆解输入时 ALERT_AND_BLOCK

  4. 创建宿主特性设计任务包 完成证据:覆盖本 Checklist 各项的宿主 todo/task。 STOP:未建宿主任务包时,不得写 docs/features/** 或调度预审。

  5. 写可评审特性文档到 docs/features/** 完成证据:已读取 _shared/references/design-visualization-discipline.md,按当前特性输入判断是否需要 Mermaid 图示;复杂设计使用合适图示说明业务流、数据流、状态、实体关系或跨系统时序,简单设计明确不需要图示;只读 candidateFeaturePath 时创建目标 feature.md 和同叶子设计文档;写出可评审 docs/features 变更后状态为待评审。 STOP:任何请求在设计评审前生成实施计划或代码时 ALERT_AND_BLOCK;不得把 feature design 和 implementation plan 写进同一候选产物。

  6. 按共享协议执行人审前预审 完成证据:独立 reviewer 子代理 subagentPreReview 输出“材料可提交人工审查”,blocking / important 已整改复核。 STOP:按 _shared/references/subagent-precheck-protocol.md 执行预审;未取得材料可提交人工审查结论前不得请求人工评审。

Read the full file on GitHub · 90 lines

Files

What ships with it

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

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 · 90 lines · 34 tokens per session scan A 2f7a469e0fbd

Subscribe to this mod's changes

feature-doc-design is a skill published in the GitHub repository protect-my-hair/nucleus-marketplace (162 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,690 once invoked, about $0.0002 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