forge-doc-policy SKILL.md skillA
forge-doc-policy from yike-gunshi/forge-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yike-gunshi/forge-skills/forge-doc-policy@git:20260717.95d1b1cPins git:20260717.95d1b1c in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yike-gunshi/forge-skills
- Path
skills/forge-doc-policy/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260717.95d1b1c, committed Jul 17, 2026
- First version recorded
- Jul 4, 2026
- Size
- 5,078 bytes
- Repository stars
- 13
- License
- MIT
文档落地治理规范。统一管理 docs/ 目录下文档的写时约束、读时索引、生命周期标记。提供当前真相源白名单(doc-paths.md)+ frontmatter schema + 新项目一键脚手架(init-project.sh,已就绪)。所有 forge-* skill 的文档落地路径以本 skill 的 doc-paths.md 为准。触发方式:用户说"文档治理"、"文档放哪"、"docs 目录乱了"、"forge-doc-policy"、AI 准备创建任意 .md 或新目录前的自查。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# /forge-doc-policy:文档落地治理规范 > 这是一个**规范型 skill**,不主动产出代码或文档,作为其他 forge-* skill 和 LLM 自觉行为的**当前真相源**。 > > 全程中文。 --- ## 设计目标 解决三层文档治理痛点: | 层级 | 痛点 | 本 skill 提供 | |---|---|---| | 写时约束 | AI 创建文档时落到错位置(forge skill 部分约束 + CLAUDE.md 表不全 + 直接对话完全无约束) | `doc-paths.md` 三层白名单 + LLM 强校验铁律 | | 读时索引 | 文档分散,找不到最新信息 | `frontmatter-schema.md`(索引自动生成脚本规划中,见 CHANGELOG Roadmap) | | 生命周期 | 不带元数据,分不清活/死文档 | `frontmatter-schema.md` 必填字段(批量回填脚本规划中,见 CHANGELOG Roadmap) | --- ## 文件清单(仅列已实现的文件) | 文件 | 作用 | |---|---| | `SKILL.md` | 本文件,元信息和装载说明 | | `doc-paths.md` | 当前真相源、模块附录、active 工作区、archive 白名单 | | `frontmatter-schema.md` | frontmatter 字段定义(4 必填 + 2 选填) | | `claude-md-snippet.md` | 项目 CLAUDE.md 复制粘贴的引用段 | | `CHANGELOG.md` | 版本号 + 演进记录 + 规划中的能力(Roadmap) | | `scripts/init-project.sh` | 新项目 day 0 一键脚手架(幂等,绝不覆盖) | 规划中但未实现的脚本/模板(audit-project.sh、build-index.sh 等)见 `CHANGELOG.md` 的 Roadmap 节,不出现在本清单,避免被误引导执行。 --- ## 装载方式(三选一,按场景) ### 装载 1:项目 CLAUDE.md 引用(**当前主装载**,Sprint A) 每个项目的 `CLAUDE.md`(项目根 / `~/claudecode_workspace/CLAUDE.md`)加 3 行引用段,详见 `claude-md-snippet.md`。 **Why**:规则源头在本 skill,所有项目通过引用读取,不复制副本。 ### 装载 2:新项目 day 0(✅ 已就绪) ```bash …
Read the whole file at its exact version.
How to install
mdr add yike-gunshi/forge-skills/forge-doc-policy@sha256:866fcb4de34cbfefThe line at the top of this page pins the label git:20260717.95d1b1c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_2wt34cjqjzpg3pg3)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 4, 2026 and Jul 17, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260717.95d1b1c latest | 2026-07-17 | 95d1b1c | 5,078 B | A | view · diff |
| git:20260717.f9c3c90 | 2026-07-17 | f9c3c90 | 5,148 B | A | view · diff |
| git:20260704.d60f8d1 | 2026-07-04 | d60f8d1 | 5,829 B | A | view · diff |
| git:20260704.254eec3 | 2026-07-04 | 254eec3 | 5,568 B | A | view · diff |
| git:20260704.4925ded | 2026-07-04 | 4925ded | 5,566 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5078 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
yike-gunshi/forge-skills · 13 stars · license MIT · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2wt34cjqjzpg3pg3 GET https://markdownregistry.com/api/v1/resolve?ref=yike-gunshi/forge-skills/forge-doc-policy GET https://markdownregistry.com/api/v1/blob/866fcb4de34cbfefd202b85cb8eda4402934c980759d00196f409a88c8e4b4c7
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from yike-gunshi/forge-skills
Every file in yike-gunshi/forge-skills