ワンクリックで
update-documentation
Keep project documentation aligned with code by detecting and auto-fixing mismatches using agent-based analysis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Keep project documentation aligned with code by detecting and auto-fixing mismatches using agent-based analysis.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Validate Python code blocks in Markdown documentation using pytest-codeblock.
Migrate Python repositories from mypy to ty for static type checking.
Bootstrap repository governance by creating AGENTS.md and a standard set of SKILL.md files.
Create and modify repository-specific SKILL.md policy files in strict compliance with AGENTS.md and existing project skills.
Migrate Python repositories from virtualenv, virtualenvwrapper, pip-tools, requirements files, setup.py, or setup.cfg to a uv-managed pyproject.toml and uv.lock workflow.
| name | update-documentation |
| description | Keep project documentation aligned with code by detecting and auto-fixing mismatches using agent-based analysis. |
This skill synchronizes project documentation with source code.
It treats code as ground truth and documentation as a derived artifact that must be kept accurate, consistent, and runnable.
This is a pure agent-based process. No Python scripts, generators, or external tooling are used.
This skill applies to:
README.md / README.rstAGENTS.mdSKILL.md filesdocs/ (Markdown or RST)It MUST NOT modify:
Invoke this skill when the user asks to:
This skill is not a linter. It actively edits documentation to restore alignment.
Ground truth is determined in this order:
Documentation MUST conform to the above. Lower levels MUST NOT contradict higher levels.
When invoked, the agent MUST follow these steps in order.
Scan the repository to identify externally visible behavior, including:
Only documented, reachable behavior counts as ground truth.
Read and analyze all relevant documentation sources, including:
README.*AGENTS.mdSKILL.md filesdocs/**/*.md or docs/**/*.rstIdentify:
Compare documentation against ground truth and identify:
The agent MUST directly edit documentation files to restore correctness.
Allowed fixes include:
The agent MUST NOT invent behavior. If the ground truth is unclear, the agent MUST stop and report it.
After modifications, report:
AGENTS.md MUST accurately describe:
If alignment cannot be restored without guessing:
Correctness always beats completeness.