AIDocxWorkFlow: Skill for Claude Code

.cursor/skills/aidocx-s2-breakdown/SKILL.md

aidocx-s2-breakdown is a skill for Claude Code, Cursor from SilenceInsect/AIDocxWorkFlow. It costs 203 tokens per session (11,665 once invoked), scanned A, original, MIT.

A requirements-breakdown workflow for turning an approved product request into five levels: release, large feature, user story, requirement object, and smallest function.

In plain words
What is it for?
Use it for the Stage 2 step of a requirements process, especially for game projects with multiple modules, user roles, data changes, and validation steps.
Why use it?
It gives a consistent way to decide what belongs together and where to split work, including normal and error paths. It stops the breakdown when required approval files are missing or say the work cannot proceed.

Skill for Claude CodeCursor

Written for Claude Code and Cursor: disable-model-invocation in frontmatter, but also installed under .cursor/. Also seen: mentions Claude Code; mentions Codex; mentions Cursor.

This is SilenceInsect/AIDocxWorkFlow's own configuration. It tells Claude Code and Cursor how to work on AIDocxWorkFlow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AIDocxWorkFlow configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is S5 TP 字段判定见 [`.cursor/MODULES.md` §3.5 交叉场景归属判定规则](../../MODULES.md) 和 [`.cursor/skills/aidocx-s5-test-points/SKILL.md` §1.2](../../skills/aidocx-s5-test-points.

Reuse

Borrowing it

Nothing to install: this file belongs to SilenceInsect/AIDocxWorkFlow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SilenceInsect/AIDocxWorkFlow/main/.cursor/skills/aidocx-s2-breakdown/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SilenceInsect/AIDocxWorkFlow

Made for: Claude Code, Cursor.

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 aidocx-s2-breakdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown/github.svg)](https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown)
Your own site
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown/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 aidocx-s2-breakdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown"><img src="https://agentmods.dev/badge/skills/silenceinsect/aidocxworkflow/aidocx-s2-breakdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 203 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,665 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.
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.00203 $0.11665
Opus 5 $0.00102 $0.05833
Sonnet 5 $0.00041 $0.02333
Haiku 4.5 $0.00020 $0.01167

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

Security

Grade A, and why

aidocx-s2-breakdown 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 9d 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.

.cursor/skills/aidocx-s2-breakdown/SKILL.md · 805 lines

How it starts

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

AIDocxWorkFlow S2 — 需求拆解

独立阶段:可单独调用。上游材料(S1.5 准出许可)审查合格后开始,失败写失败报告。


阶段入口

触发方式/aidocx-s2-breakdown 或粘贴 S1.5 准出许可路径

前置材料

  • 终版需求.md:workflow_assets/<req_name>/<version>/「S1 需求评审」/终版需求.md
  • S1.5 准出许可:workflow_assets/<req_name>/<version>/「S1 需求评审」/exit_permission.json
  • clarification_checklist.md:workflow_assets/<req_name>/<version>/「S1 需求评审」/clarification_checklist.md
  • review_structured.json(v16 T4 新增)workflow_assets/<req_name>/<version>/「S1 需求评审」/review_structured.json

材料缺失或 can_proceed_to_s2 == false:生成失败报告,停止 S2。


核心范式:五层业务语义分层(游戏行业适配)

S2 采用五层业务语义分层,整合通用敏捷 + 游戏研发语义:

Release(版本基线,元数据归集容器,不进 ID 段)
 └─ Epic(大系统 / 大型业务史诗)
     └─ Story(用户故事,可交付最小业务价值)
         └─ Object(需求对象,按业务载体拆分)
             └─ FP(功能点,最小不可拆分执行单元)

关键设计

  1. 粒度不由硬性数值决定——每层按"业务自然划分"给出指导档位,禁止凑数 / 拆细
  2. 业务语义驱动——引入角色句式、模块归属、正向/异常流程分离等游戏行业专属字段
  3. 跨模块自动拆 OBJ——一条业务涉及多模块时,按模块拆多 OBJ(不标[待确认])
  4. 统一边界判定流程——8 大模块匹配优先级 + 兜底评审归档

§1.4 必读材料与违规认定

⚠️ 违反本节禁令 → 产出不合格,必须补读后重新生成。

违规认定(满足任一 → 产出不合格)

  • ❌ 未读取本节材料,直接凭印象生成
  • ❌ 跳过标注"强制"的材料,用其他来源替代
  • ❌ 产出的 module 与材料内容明显不符
  • ❌ 用"业务常识"替代必须读取的材料

必读材料清单

生成任何产出前,必须先 Read 以下材料。禁止凭印象直接生成。

# 材料 路径 必读原因
8 模块总表 .cursor/MODULES.md(§1 总表) Epic/Story/OBJ 必须有模块前缀;模块分类是 §1.4 边界判定的基准
模块边界区分 .cursor/MODULES.md(§4 各模块 O_boundary.md) 8 模块边界是拆解的核心约束;尤其是 BIZ vs CONFIG、UI vs HINT、LINK vs UTIL
S1.5 准出许可(强制) workflow_assets/<req_name>/<version>/「S1 需求评审」/exit_permission.json quality_level / fallback_rules / can_proceed_to_s2 决定拆解深度;未读取 → 无法执行
S1 结构化评审包(v16 T4) workflow_assets/<req_name>/<version>/「S1 需求评审」/review_structured.json 4 类字段消费:边界注入/假设继承/风险种子/缺失标记;未读取 → 跳过消费逻辑
终版需求(完善版) workflow_assets/<req_name>/<version>/「S1 需求评审」/终版需求.md 所有 Epic/Story 的业务来源
命中模块子模板 knowledge/public/module_templates/<Module>/<Module>.md(按命中模块) OBJ 层功能点需按模块子模板判定测试类型和数量
模块边界决策树 knowledge/public/module_templates/_decision_tree.md 8 模块快速归类的二叉决策树;先命中模块,再读 ② 二次验证;拆 OBJ 时避免 HINT/UI/BIZ/CONFIG 等高频混淆

Read the full file on GitHub · 805 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. 9d ago First seen · 805 lines · 203 tokens per session scan A dd99ce12289b

Subscribe to this mod's changes

aidocx-s2-breakdown is a skill published in the GitHub repository SilenceInsect/AIDocxWorkFlow (2 stars, last pushed 1mo ago), licensed MIT. It adds 203 tokens to every session and 11,665 once invoked, about $0.0010 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-31.

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

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

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens