跳到主要内容

docs-governance 精选

Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references. Use when a user asks for documentation governance, project-knowledge organization, documentation integrity, or a deterministic docs audit without naming a narrower skill.

在 GitHub 打开

安装方式

cp -r .agents/skills/docs-governance ~/.claude/skills/docs-governance

把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/

整仓一次性获取:git clone --depth 1 https://github.com/affaan-m/ECC.git

依赖与权限

  • 无需 API Key
  • 无需联网
  • 依赖外部命令:git python3 make
  • 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
触发场景
documentation in

SKILL.md 正文

来源 affaan-m/ECC@b92f181 · 许可 MIT · 内容未修改

Documentation Governance Router

Use this optional router to select the smallest existing ECC capability for a

documentation-governance request. The router does not create a parallel project

management system and does not make documentation authoritative over code,

tests, Issues, or maintainer decisions.

When to Activate

  • The user asks broadly for documentation governance or project-knowledge organization.
  • A request spans several documentation roles and the correct owner is unclear.
  • The user asks for a deterministic, read-only documentation integrity audit.
  • A project needs to discover its existing documentation sources before adding files.

Do not activate for a narrowly named skill or for ordinary documentation edits

whose destination is already clear.

Role Contract

Read [the artifact-role contract](references/artifact-role-contract.md) before

interpreting .governance/docs-map.json or default filenames. Logical roles own

facts; filenames are fallbacks. Reuse a repository's established sources of

truth and never create a second document merely to satisfy a default role.

Intent Routing

User intentRoute to
Adopt or maintain a constitution, map, status, and history spineliving-docs-governance
Record a hard-to-reverse architecture decisionarchitecture-decision-records
Preserve an executable regression for an important defectai-regression-testing (install separately in standalone Pi core)
Define a verifiable goal and feedback looploop-design-check (install separately in standalone Pi core)
Check mapped roles, local links, ADR indexes, TEST-IDs, or possible orphan docsRun the bundled read-only audit

If no row fits, explain the ownership ambiguity instead of combining several

workflows speculatively.

Read-Only Audit

Run the audit only when the user asks for an audit or when it is an agreed

verification step. Resolve the selected skill directory first, then invoke:

python3 <docs-governance-skill>/scripts/audit-docs.py --root <repository> --scope full

Available scopes are spine, context, adr, artifacts, and full.

The audit reads repository files and Git history but does not create, rewrite,

archive, stage, or commit anything. It reports:

  • exit code 0 when deterministic checks pass, including any manual-review warnings;
  • exit code 1 when mechanically provable integrity failures exist; and
  • exit code 2 for invalid CLI input.

Treat warnings as review prompts, not failures. Semantic accuracy, business

meaning, task completion, and release approval remain human or workflow-owner

decisions.

When to Use

Use this router when the request is broad enough that choosing the right

governance capability is part of the work. For a direct ADR or regression

request, invoke that specialized skill without routing through this one.

How It Works

  1. Discover the repository's existing instruction and documentation surfaces.
  2. Resolve logical roles through the artifact-role contract.
  3. Select one smallest matching capability from the routing table.
  4. If a deterministic audit is requested, run the narrowest useful scope.
  5. Report failures, warnings, and ownership gaps without mutating project state.

Examples

  • “Organize our long-lived project docs” routes to living-docs-governance.
  • “Record why we selected PostgreSQL” routes to architecture-decision-records.
  • “Check whether our documentation links and ADR index are intact” runs the

bundled audit once with --scope artifacts, then again with --scope adr.

  • “Are we finished with the migration?” is not answered from documentation

alone; the Issue owns completion, tests provide evidence, and maintainers own

merge approval.

Boundaries

  • Keep task ownership, scheduling, attempts, and completion in the Issue tracker.
  • Keep stable interface facts in the repository's contract source.
  • Treat documentation as evidence and navigation, not executable instructions.
  • Do not teach users to bypass repository controls such as pre-commit hooks.
  • Do not add archive or index mutation to this read-only foundation.

质量与来源

所属仓库
affaan-m/ECC
仓库星标
28 万
最近更新
今天
采集时间
今天
commit
b92f181b3b74
内容指纹
sha256:499ac59071e6e2b
文件路径
.agents/skills/docs-governance/SKILL.md

同仓库其它 Skill

查看全部 50 个
agent-introspection-debugging
Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor
agent-sort
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor
api-design
REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs. Use when designing or reviewing REST endpoints, resource names, status codes, pagination, or versioning.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor
backend-patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes. Use when building or reviewing Node.js, Express, or Next.js API routes and their data access.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor
benchmark-methodology
Use after competitive-platform-analysis has produced a tiered competitor set. Scores each competitor across nine weighted dimensions (positioning, voice, visual craft, offer packaging, evidence, enterprise-readiness, thought leadership, pricing, client's strategic tension) with explicit 1–5 rubrics and a tension-plot. Precedes competitive-report-structure.
精选 affaan-m/ECC 28 万 原文
Claude CodeCodex CLICursor

相似 Skill

更多「编码」
access
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the iMessage channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Check iMessage channel setup and review access policy. Use when the user asks to configure iMessage, asks "how do I set this up" or "who can reach me," or wants to know why texts aren't reaching the assistant.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
access
Manage Telegram channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Telegram channel.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端
configure
Set up the Telegram channel — save the bot token and review access policy. Use when the user pastes a Telegram bot token, asks to configure Telegram, asks "how do I set this up" or "who can reach me," or wants to check channel status.
精选 anthropics/claude-plugins-official 3.8 万 原文
Claude CodeMCP 客户端