docs-governance
できること
このエージェントは、プロジェクトのドキュメントを整理し、チェックするのを助けます。ドキュメントの管理に関する依頼を適切なツールに振り分け、リンクや情報が正しいかどうかを確認する監査(オーディット)を実行できます。
使う場面
- ✓ドキュメントの整理にどのツールを使えばよいかわからないとき。
- ✓プロジェクトの重要なリンクやドキュメントが正しいかを確認したいとき。
- ✓ドキュメントの各部分について、誰が責任者なのかを把握したいとき。
スキルのリンク
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/docs-governance/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のプロジェクトのドキュメントが整理されているか、すべてのリンクが機能しているかを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
既存のドキュメントとプロジェクトのルールを読み取り、どのツールが最適かを判断します。チェックを依頼すると、ファイルを変更せずに読み取るだけのプログラムを実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 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 intent | Route to |
|---|---|
| Adopt or maintain a constitution, map, status, and history spine | living-docs-governance |
| Record a hard-to-reverse architecture decision | architecture-decision-records |
| Preserve an executable regression for an important defect | ai-regression-testing (install separately in standalone Pi core) |
| Define a verifiable goal and feedback loop | loop-design-check (install separately in standalone Pi core) |
| Check mapped roles, local links, ADR indexes, TEST-IDs, or possible orphan docs | Run 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
0when deterministic checks pass, including any manual-review warnings; - exit code
1when mechanically provable integrity failures exist; and - exit code
2for 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
- Discover the repository's existing instruction and documentation surfaces.
- Resolve logical roles through the artifact-role contract.
- Select one smallest matching capability from the routing table.
- If a deterministic audit is requested, run the narrowest useful scope.
- 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.
よくある質問
「ドキュメントガバナンス」とは何ですか?
プロジェクトが重要な情報を整理し、維持し、チェックする仕組みのことです。設計上の決定事項や、各ドキュメントの責任者などが含まれます。
「監査(オーディット)」とは何ですか?
すべてが適切な状態にあるかを確認する詳細なチェックのことです。たとえば、ドキュメント内のリンクが正しい場所に接続されているか、情報が最新かどうかを確認します。
このエージェントは私のドキュメントを変更できますか?
いいえ。整理とチェックのためのものです。ドキュメントを読み取るだけで、変更、作成、削除はしません。
詳細
作者による元の説明
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.
repo: affaan-m/ECC
人気
- GitHubのスター
- 280k
- ランキング
- #174
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
accessibility
280kエージェントが誰にとっても使いやすいインターフェースを作れるように手助けします。目が見えない方や身体の動きに制限のある方など、障害のある人にとってもWebサイトやアプリが正しく動くようにします。
agent-architecture-audit
280kエージェントがすべて正しく動いているかを確認できるようにします。AIシステムの問題を見つけて修正し、期待どおりに動くようにします。
agent-eval
280kエージェントが異なるAIコーディングツールを比較できるようにします。特定のタスクにおいて、どれがより速く、安く、信頼性が高いかを測定します。
agent-harness-construction
280kエージェントがタスクの進め方をよりよく理解できるようにします。エージェントが使うツールや指示を最適化し、成功する可能性を高めます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
archify
260k小さなJSONの仕様を、確認済みの対話型HTML図に変えるArchifyをインストールします。その図は、画像や動画として書き出すこともできます。
concept-diagrams
260k1つのHTMLファイルとSVGの図として、物理学、生物学、解剖学、間取り図、プロセスを扱う、シンプルでフラットな教育用の図を作ります。