docs-structure SKILL.md skillA

docs-structure from qshanx/docs-governance is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add qshanx/docs-governance/docs-structure@git:20261011.1b07eb2

Pins git:20261011.1b07eb2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
qshanx/docs-governance
Path
skills/documentation/docs-structure/SKILL.md
Versions recorded
2
Latest version
git:20261011.1b07eb2, committed Oct 11, 2026
First version recorded
Oct 11, 2026
Size
2,836 bytes
Repository stars
218
License
MIT

规划、整理或只读审查项目文档结构时使用。按职责聚合同类资料,明确当前主源、历史归档与按需读取入口。.

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

# 文档结构

**深模块**:一个单元围绕清晰职责承载完整能力,将相关复杂细节收在内部。用于文档管理,就是让同一职责的资料集中在一个文件夹或文档中,读者能在这里找到解决该类问题所需的内容;“深”不指目录层级多或篇幅长。

**浅接口**:用简单入口让使用者知道何时使用、如何进入,无需先了解内部全部细节。用于文档管理,就是入口只说明“解决什么问题、什么时候读、去哪里找”,通过 Markdown 链接指向当前主源,正文按需读取、不在各处复制。

文件夹和单份文档都按这两个原则组织:内部内容完整、职责集中,外部入口简明;根据实际内容决定是否拆分。

## 流程

1. **了解现状。** 阅读现有入口、文档和相关对话,确认常见任务、资料用途与已有主源,明确本次是规划、整理还是只读审查。

2. **按职责归类。** 盘点全项目文档,将服务同一职责、经常一起查阅或更新的资料放在一起。优先复用已有目录;项目扩大后,若一个目录混入多种职责、相关资料散落多处,或读者需要反复跳转才能找齐资料,再考虑拆分、归并或调整归属。说明调整后各目录负责什么,一份文档能说清时无需拆目录。

3. **确定主源与入口。** 同一主题、同一适用版本只有一份当前有效正文;按已确认的生效与替代关系判断,草稿标明状态,已被替代的资料沿用项目归档位置并注明替代链接,仍受支持的旧版本保留适用范围,不只按日期归档。入口链接当前正文;资料多时设简短索引,少时直接链接。将实际路径交给 [agent-entrypoints](../agent-entrypoints/SKILL.md) 接入 Agent 入口与 `CLAUDE_MAP.md`,说明读取条件,正文只维护一处。

4. **验证并交付。** 用一两个真实任务从入口找到适用正文,检查归属、重复主源、历史误用、断链与多余跳转。规划交付路径、职责和取舍;整理在授权内落实归位、归档及引用更新,保留有效内容与历史;只读审查仅给问题和建议。说明验证结果与缺口。

## 例子

订单导出的当前 Spec 可放 `docs/specs/order-export.md`,设计说明放 `docs/design/order-export.md`,被替代的 Spec 放 `docs/specs/archive/` 并链接当前版本。`CLAUDE_MAP.md` 分别指向需求和设计:“确认导出行为时读 Spec;理解实现方案时读设计说明”。这些是示例路径,采用项目实际目录;文件少时直接链接正文。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add qshanx/docs-governance/docs-structure@sha256:bb64a846405235fe

The line at the top of this page pins the label git:20261011.1b07eb2, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mf5cjdopleyn5nij.svg)](https://markdownregistry.com/a/art_mf5cjdopleyn5nij)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Oct 11, 2026.

versioncommittedcommitsizeaudit
git:20261011.1b07eb2 latest2026-10-11 1b07eb2 2,836 BA view · diff
git:20261011.06618f42026-10-11 06618f4 2,767 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2836 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

GitHub

qshanx/docs-governance · 218 stars · license MIT · pushed 2026-10-16 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mf5cjdopleyn5nij
GET https://markdownregistry.com/api/v1/resolve?ref=qshanx/docs-governance/docs-structure
GET https://markdownregistry.com/api/v1/blob/bb64a846405235fe6603563d574c38b4215cbefa7784f2cf29bb0704057df0c2

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 qshanx/docs-governance

AGENTS.md AGENTS.md file
qshanx/docs-governance · AGENTS.md
git:20260905.c132f0a · audit A · 218 stars
CLAUDE.md CLAUDE.md file
qshanx/docs-governance · CLAUDE.md
git:20261011.ee7c4b9 · audit A · 218 stars
agent-entrypoints SKILL.md skill
qshanx/docs-governance · skills/documentation/agent-entrypoints/SKILL.md · 创建、优化或审查项目及模块级 AGENTS.md / CLAUDE.md 等 Agent 入口文档时使用。根据项目事实精简规则、设置按需读取指针,支持模块两入口布局,并检查规则是否可执行、入口是否冲突。
git:20261011.d6d08d8 · audit A · 218 stars
agent-workflow-governance SKILL.md skill
qshanx/docs-governance · skills/documentation/agent-workflow-governance/SKILL.md · 用户要求整体检查项目治理规则的承载位置、精简常驻约束,或判断散落资料能否沉淀为 Skill、脚本或 Hook 时使用。只读识别主源、重复工作流与自动化缺口,给出证据和最小建议;单项文档维护直接使用已有专项 Skill。
git:20261011.f94e359 · audit A · 218 stars
architecture-docs SKILL.md skill
qshanx/docs-governance · skills/documentation/architecture-docs/SKILL.md · 判断项目是否需要架构文档,或生成、完善、审查 ARCHITECTURE.md 及已有架构说明。用于模块分工、状态归属、依赖关系或核心流程需要梳理时;依据项目证据记录结构,区分当前实现与已确认设计。
git:20261012.bd30f6e · audit A · 218 stars
context-and-decisions SKILL.md skill
qshanx/docs-governance · skills/documentation/context-and-decisions/SKILL.md · 兼容旧 context-and-decisions 调用;领域术语与 ADR 的形成和修改统一转交随插件提供的 domain-modeling。
git:20261012.bd30f6e · audit A · 218 stars
docs-audit SKILL.md skill
qshanx/docs-governance · skills/documentation/docs-audit/SKILL.md · 只读审计现有项目文档,检查资料散乱、入口难找、断链、内容过时、重复主源及当前与历史混用。用于用户要求“审计文档”“检查文档是否过时”“看看文档哪里乱”,或阶段交接前检查文档体系时。
git:20261012.bd30f6e · audit A · 218 stars
docs-governance SKILL.md skill
qshanx/docs-governance · skills/documentation/docs-governance/SKILL.md · 作为面向长期 AI 协作项目的知识、决策与验证治理总入口,把优秀 Agent 的一次性工作沉淀为可继承、可验证、可持续演进的项目集体能力;根据用户意图把任务路由到活文档、领域上下文与…
git:20261012.bd30f6e · audit A · 218 stars
docs-maintenance SKILL.md skill
qshanx/docs-governance · skills/documentation/docs-maintenance/SKILL.md · 每轮任务结束时同步本次变化涉及的文档。由项目收尾约定或用户要求“同步文档”“收尾”“准备交接”时调用;也用于处理已发现的文档与项目事实冲突。
git:20261012.bd30f6e · audit A · 218 stars
docs-retro SKILL.md skill
qshanx/docs-governance · skills/documentation/docs-retro/SKILL.md · 从对话、文档变更及审计记录中复盘文档管理的问题和经验,减少资料难找、同步遗漏、重复维护和旧说明误用。用户要求“复盘文档管理”“为什么文档总漏更新”“总结文档治理经验”,或项目约定文档管理阶段复盘时使用;默认只读,输出有证据、适用条件和落点的…
git:20261011.8300772 · audit A · 218 stars
domain-modeling SKILL.md skill
qshanx/docs-governance · skills/documentation/domain-modeling/SKILL.md · Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md…
git:20261012.bd30f6e · audit A · 218 stars
living-docs-governance SKILL.md skill
qshanx/docs-governance · skills/documentation/living-docs-governance/SKILL.md · 为新项目或尚未建立文档管理体系的已有项目,规划并建立文档入口、资料分工和维护方式。 用户要求“建立文档管理体系”“首次配置文档治理”时使用;暂保留只读文档审计、日志统计与归档。 单独优化 Agent 入口、日常同步或执行复盘,交给对应…
git:20261012.bd30f6e · audit A · 218 stars

Every file in qshanx/docs-governance

Other files named docs-structure

docs-structure SKILL.md skill
protolabsai/protoagent · plugins/technical_writer/skills/docs-structure/SKILL.md · Use when improving documentation information architecture, audience paths, navigation, page ownership, or reorganizing…
git:20261018.f44fde5 · audit A · 14 stars

Browse by kind, by grade A, or by owner.