docs-governance
Что он делает
Этот агент помогает организовать и проверить документацию проекта. Он направляет запросы об управлении документацией к нужным инструментам и может провести аудит, чтобы проверить, верны ли ссылки и информация.
Когда использовать
- ✓Когда вы не знаете, какой инструмент использовать для организации документации.
- ✓Если нужно проверить, что важные ссылки и документы проекта корректны.
- ✓Чтобы понять, кто отвечает за каждую часть документации.
Ссылка на скилл
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/docs-governance/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь, организована ли документация моего проекта и работают ли все ссылки.”
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
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
accessibility
280kПомогает агенту создавать интерфейсы, которыми может пользоваться каждый. Следит, чтобы сайты и приложения работали для людей с нарушениями зрения или моторики.
agent-architecture-audit
280kЗаставляет агента проверить, всё ли работает правильно. Находит и исправляет проблемы в системах ИИ, чтобы они работали как задумано.
agent-eval
280kПомогает агенту сравнивать ИИ-инструменты для программирования. Измеряет, какой быстрее, дешевле и надёжнее для конкретных задач.
agent-harness-construction
280kПомогает агенту лучше понимать, как выполнять задачи. Оптимизирует инструменты и инструкции агента, чтобы повысить шансы на успех.
Похожие скиллы
technical-documentation
394kПомогает агенту писать и проверять понятную техническую документацию и инструкции для агентов, чтобы людям и ИИ-инструментам было легко по ним работать.
archify
260kУстанавливает Archify, который превращает небольшую спецификацию JSON в проверенную интерактивную HTML-диаграмму, которую можно экспортировать как изображение или видео.
concept-diagrams
260kСоздает понятные плоские учебные диаграммы в одном файле HTML с графикой SVG, охватывая физику, биологию, анатомию, планировки и процессы.