module-governance SKILL.md skillA
module-governance from qshanx/docs-governance is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add qshanx/docs-governance/module-governance@git:20261012.bd30f6ePins git:20261012.bd30f6e 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/module-governance/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261012.bd30f6e, committed Oct 12, 2026
- First version recorded
- Oct 11, 2026
- Size
- 6,182 bytes
- Repository stars
- 218
- License
- MIT
为新业务模块建档、补齐已有模块约定或维护模块边界变化。用户提出新建核心模块、补齐模块文档或调整模块职责时可按意图选择,无须点名 Skill;区分项目级与模块级 AGENTS,关联 CONTEXT、接口与决策,复用现有治理 Skills。普通 Bug、样式修改和纯审计不启动建档。.
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
# 模块治理 用户可以点名,也可以用自然语言提出模块任务,由 Agent 按意图选择。不安装后台触发器。识别到任务不等于扩大授权:只在当前用户要求涵盖的范围内写文档;业务代码、业务取舍、提交与推送分别沿用当前授权。 ## 触发与不触发 | 用户场景 | 行动 | |---|---| | “新增库存管理模块”且要求实施 | 进入本流程,先识别边界和已有知识;必要文档作为模块任务的一部分,不要求用户记住 Skill 名称 | | “补齐订单模块文档/维护模块职责”或点名 Skill | 在授权范围内建档或维护 | | “考虑拆一个支付模块,你怎么看” | 只读分析,不创建文件,不把讨论当实现批准 | | 普通 Bug、样式、内部重构且约定未变 | 不进入建档,读取适用规则即可 | | 纯审计发现缺失 | 报告缺口,不转为写入;用户已同时授权补齐模块文档时才进入修复 | | setup/收尾 | 仅当本次授权明确包含模块建档或约定维护时调用;不能为了模板完整批量生成 | “新增模块”如果只是普通目录/UI 组件,则沿用父级约定;不能靠关键词判断。识别不明先只读定位,只有影响边界或写入范围的关键歧义才询问。 ## 使用场景 - “使用 module-governance,为新建的库存模块建立开发约定。” - “用模块治理补齐现有订单模块的入口,复用已有术语和接口。” - “用模块治理维护已确认的库存/订单职责调整。” 只问如何划分时给方案;只有文档写入在授权内才落盘。普通 Bug、样式修改、单个页面或公共按钮不因此建一套文档;纯架构审查直接使用 `architecture-docs`。 ## 执行顺序 1. **读取项目并界定对象。** 读取项目/父级入口、现有模块导航及相关需求,区分新建、补齐、变更维护和只读咨询。模块名称和目录沿用已有约定;通过职责、状态和消费者识别边界,不把目录当作限界上下文。资料不够时列出待确认项,不批量生成空文件。 2. **明确两级入口。** 项目级入口保留全局约束、模块导航和跨模块协作规则;模块入口只补本模块职责/非职责、状态归属、公共接口指针、专属约束与验证入口。执行 [agent-entrypoints](../agent-entrypoints/SKILL.md) 的主源选择和八项规范;沿用已有 CLAUDE 主源时不强制改名。模块规则不能自行解除全局约束。 先检查现有根入口/架构主记录是否已明确覆盖该模块。没有相对父级新增规则且覆盖充分时,直接返回复用路径,不为核心模块身份强制新增局部 AGENTS;项目已有明确局部入口要求时遵从该要求。两级描述的是规则作用域,不是文件数量指标。 …
Read the whole file at its exact version.
How to install
mdr add qshanx/docs-governance/module-governance@sha256:d29389e176ce59a1The line at the top of this page pins the label git:20261012.bd30f6e, 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_acu242p2gmweoey6)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Oct 11, 2026 and Oct 12, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.bd30f6e latest | 2026-10-12 | bd30f6e | 6,182 B | A | view · diff |
| git:20261011.c5f9740 | 2026-10-11 | c5f9740 | 6,200 B | A | view · diff |
| git:20261011.d6d08d8 | 2026-10-11 | d6d08d8 | 5,870 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 (6182 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
qshanx/docs-governance · 218 stars · license MIT · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_acu242p2gmweoey6 GET https://markdownregistry.com/api/v1/resolve?ref=qshanx/docs-governance/module-governance GET https://markdownregistry.com/api/v1/blob/d29389e176ce59a1d0c38b14429ed76bcbf5f3b69cb19d99c43eb5e70c2ca9e1
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.