Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ryanzhao1011/workframe/plugin install coreWrote 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/ryanzhao1011/workframe/document-norms)<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/document-norms"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/document-norms/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/ryanzhao1011/workframe/document-norms"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/document-norms.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00325 | $0.14174 |
| Opus 5.5 | $0.00130 | $0.05670 |
| Sonnet 5.5 | $0.00065 | $0.02835 |
| Haiku 4.5 | $0.00032 | $0.01417 |
Grade B, and why
document-norms scanned grade B with 1 finding 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
grep -rln "<file-or-keyword>" .claude/ .workframe/ projects/ company-context/ my-workspace/ How it starts
The opening of the file, as written. The whole thing — 785 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document Norms 文档规范 Skill
定位
本 skill 是 modules/ 体系下文档写作和管理的单一规范来源,覆盖文档归属、frontmatter、overview、索引、SOP、反模式、写作质量分级 11 个章节。
章节化引用模式:业务 skill(prd-writer / module-init / test-case-design / module-index-refresh / code-to-doc / migrate-to-modules / 其他文档创作 skill)在 SKILL.md 顶部声明前置依赖 skill: document-norms §X §Y,按需读对应章节而非整 skill——本 skill 章节多、篇幅大,整读成本远高于按需读单章。
适用范围:
- modules/ 体系下的项目
- 其他形态项目选用,frontmatter 标准与 obsidian 增强部分通用
不替代:
obsidian-doc-structure/obsidian-link-audit/obsidian-safe-write/obsidian-history-check4 个 obsidian-* skill —— 本 skill 只在 §9 说明何时调用它们- 项目配备的发布 skill(如
feishu-publish)—— 平台 specific 字段由发布 skill 自管
章节索引
| § | 章节 | 主要调用方 |
|---|---|---|
| §1 | 完整文档归属矩阵 | prd-writer / module-init / test-case-design / code-to-doc |
| §2 | frontmatter 字段标准(含 §2.7 updated 时间戳规范) |
prd-writer / module-init / test-case-design / code-to-doc / 任何文档落盘 skill |
| §3 | 三段制 overview.md 通用约定 + 机器维护段边界格式 | module-init / module-index-refresh |
| §4 | 索引层级与同步规则 | module-init / module-index-refresh |
| §5 | 链接与资源引用 | prd-writer / 任何文档创作 skill |
| §6 | 资源位置(prototypes/ assets/ tmp/) | prd-writer |
| §7 | 操作分类(系统维护 vs 实质性产出) | librarian / self-iteration |
| §8 | 修改前/后查漏 SOP(含 L2 obsidian 反链查漏) | 任何文档修改 skill |
| §9 | obsidian 增强(何时调 4 个 obsidian-* skill) | obsidian-link-audit / obsidian-doc-structure |
| §10 | 反模式清单 | 全场景兜底 |
| §11 | 写作质量与精简纪律分级 | 任何文档创作/修改 skill |
§1 完整文档归属矩阵
这一层是导航,不是事实源。 modules/ 下的文档负责让人和模型定位「改这里会炸到哪」;具体事实各有自己的源——受影响的文件集在 submodule.yaml 的 code_paths,「这份文档基于哪份代码」在 current-state/ frontmatter 的基准字段(五个落点与刷新口径见 reference: module-architecture §5.4,本章不重述),设计理由在 <sub>/decisions/。文档描述与事实源冲突时一律以事实源为准;下表只回答「每类内容放哪儿」。
1.1 modules/ 体系下治理资产层(projects/)归属
| 内容类型 | 归属路径 | type | 创建 skill |
|---|---|---|---|
| 全产品架构总图 | projects/modules/overview.md |
overview |
module-init / module-index-refresh |
| 基础模块导览 | projects/modules/<basic>/overview.md |
overview |
同上 |
| 基础模块 schema | projects/modules/<basic>/module.yaml |
YAML | module-init |
| 基础模块作业提醒(跨子模块) | projects/modules/<basic>/module-memory.md |
不带 frontmatter | 按需手动创建 / librarian |
| 跨子模块共享实体 | projects/modules/<basic>/shared/<name>.md |
concept |
手动 |
| 子模块导览 | projects/modules/<basic>/<sub>/overview.md |
overview |
module-init / module-index-refresh |
| 子模块 schema | projects/modules/<basic>/<sub>/submodule.yaml |
YAML | module-init |
| 子模块作业提醒 | projects/modules/<basic>/<sub>/module-memory.md |
不带 frontmatter | 按需手动创建 / librarian |
| 代码现状(架构) | <sub>/current-state/architecture.md |
current-state |
code-to-doc |
| 代码现状(API) | <sub>/current-state/api-surface.md |
current-state |
code-to-doc |
| 代码现状(数据模型) | <sub>/current-state/data-model.md |
current-state |
code-to-doc |
| 代码现状(代码索引) | <sub>/current-state/code-map.md |
current-state |
code-to-doc |
| 需求清单导览 | <sub>/requirements/overview.md |
overview |
module-init / module-index-refresh |
| 需求 meta | <sub>/requirements/<req_slug>/meta.yaml |
YAML | module-init |
| 需求总览(跨子需求) | <sub>/requirements/<req_slug>/overview.md |
overview |
module-init |
| PRD(按子需求;流程图内嵌其「业务流程与逻辑」章) | <sub>/requirements/<req_slug>/<sub_req_slug>/prd.md |
prd |
prd-writer |
| HTML 原型 | <sub>/requirements/<req_slug>/<sub_req_slug>/prototypes/ |
prototype |
prd-writer |
| 测试用例 | <sub>/requirements/<req_slug>/<sub_req_slug>/test-cases/ |
test-case |
test-case-design |
| 评审与复盘产物(上线复盘 / 代码评审 / 方案评审) | <sub>/requirements/<req_slug>/<sub_req_slug>/reviews/ |
review |
手动 |
| 草稿需求(未立项) | <sub>/requirements/_draft/<slug>.md |
concept |
手动 |
| 子模块决策记录 ADR | <sub>/decisions/<YYYY-MM-DD>-<title>.md |
decision |
手动 |
| 子模块调研 | <sub>/research/<topic>.md |
research |
手动 |
| 子模块杂项 | <sub>/others/<name>.md |
concept |
手动 |
| 跨模块技术方案 | projects/specs/plans/<YYYY-MM-DD>-<plan-name>.md |
plan |
手动 |
| 过程档(执行计划 / 迁移手册 / 跨会话执行跟踪) | 项目根 tmp/——与 §6.1 是同一个目录、不同受众:那里管资源与中间产物,本行管过程档。收口即删,提炼归位按 必载片 §收口时的归位;例外:跨会话交接稿由进行中的看板任务指向,任务完成时在稿首标为历史并指向继任材料,不删 |
— | 手动 |
| 跨模块设计规范 | projects/specs/{design-system,api-conventions,compliance}/ |
concept |
手动 |
| 单模块分析产物(指标 / 反馈 / 竞品) | <sub>/research/{METRICS,FEEDBACK,COMP}-{序号}.md(研究类归 research/,不是 others/——后者是杂项黑洞,见 §10 反模式) |
research |
对应 PM skill |
| 跨模块分析产物(指标体系 / 反馈分析 / 竞品分析) | projects/specs/{METRICS,FEEDBACK,COMP}-{序号}.md |
research / concept |
product-metrics-design / user-feedback-analysis / competitive-analysis |
| Issues | projects/issues/{TYPE}-{seq}.yaml(扁平 + 全局序号;TYPE = BUG / SEC) |
YAML schema(projects/issues/TEMPLATES.md) |
手动 / qa |
| Tasks | projects/board.yaml |
YAML | task-management |
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.
- 3d ago Changed · +13 lines ffa76c2f539e
- 20d ago Changed · +8 lines ff27d4c5fc4e
- 1mo ago Changed · +7 lines · +206 tokens per session 2b57122ee9f1
- 3mo ago First seen · 757 lines · 119 tokens per session scan B 9ecaa0b2eb01
document-norms is a skill published in the GitHub repository ryanzhao1011/workframe (9 stars, last pushed 5d ago), licensed MIT. It adds 325 tokens to every session and 14,174 once invoked, about $0.0013 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
document-norms compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| document-normsryanzhao1011/workframe | Skill | 9 | 5d ago | MIT | B | 325 | Claude Code |
| html-prototypemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 97 | Claude Code |
| feature-acceptancemayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 192 | Claude Code |
| prdmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 202 | Claude Code |
| ui-walkthroughmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 231 | Claude Code |
| gbgcielebak/goal-by-goal | Skill | 1 | 5mo ago | MIT | A | 150 | Claude Code |
| competitor-researchmayuemarsha-del/pm-skills | Skill | 5 | 6mo ago | MIT | A | 123 | Claude Code |