一键导入
update-dot-claude
Audit and update `.claude/` agent docs against the repo
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit and update `.claude/` agent docs against the repo
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-dot-claude |
| description | Audit and update `.claude/` agent docs against the repo |
| disable-model-invocation | true |
Review the documentation in .claude/ against the current state of the
repository. Update any docs that are outdated. These are the agent's own
instructions, so the goal is accuracy — edit them to match reality.
Explore the repo — Use Glob and Read to understand the current source
layout (src/), tests (tests/), and config files (pyproject.toml,
.github/).
Audit .claude/ — Read every file under .claude/ (except settings*).
For each file, check whether its content still accurately reflects the repo:
CLAUDE.md — project overview, build commands, code architecture, strategy
listing, usage conventions, code style rules.rules/ci.md — CI matrix, dependency files, release workflows (path-scoped
to .github/** and pyproject.toml).rules/testing-patterns.md — test patterns, example code (path-scoped to
tests/**).rules/docs.md — docs conventions: build, structure, examples (path-scoped
to docs/**).rules/docs-voice.md — voice rules for user-facing prose (path-scoped to
README.md and docs/**).rules/diataxis-review.md — Diátaxis review guidance for the
docs-persona-* agents (always loaded so subagents receive it).agents/ and skills/ — check that the file paths and repo facts they
reference still exist.Pick up any rule files added later.
Optimize context — Review always-loaded context (files without paths:
frontmatter) for size and relevance:
CLAUDE.md contains details that Claude could
discover from code (e.g., per-function listings). Suggest trimming.Report findings — Summarize what is outdated and what changes you propose. Group by file.
Apply updates — Edit the outdated docs to match reality. Keep the existing voice and style. Do not rewrite content that is still accurate.
settings.json or settings.local.json.