一键导入
codex-docs-change-sync
Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codex-docs-change-sync |
| description | Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation. |
| load_priority | lazy |
Map code changes to affected documentation via map_changes_to_docs.py. Report-only by default, no auto-edit. Scope: auto-detect staged -> unstaged -> last commit. Fallback: manual diff inspection.
Identify documentation that is likely affected by code changes.
docs steps.$codex-docs-change-sync.map_changes_to_docs.py for report-only docs impact mapping.skills/.system/REGISTRY.md for full script paths.--help before invoking map_changes_to_docs.py.If scope is not specified, use auto mode:
Report which scope was selected.
If script cannot run, inspect diffs manually and report likely docs:
docs/, README.md, CHANGELOG.md, and module-specific docs.
references/docs-sync-spec.md: script behavior, output format, and fallback protocol.Use for project memory, decisions, handoffs, genome, knowledge index, changelog, and patterns that must persist across sessions.
Use for frontend, backend, mobile, debugging, security, or specialized engineering work that needs focused domain references and strict boundaries.
Use for prototype, MVP, fullstack feature, from-scratch feature, or multi-domain work that needs a SPEC.md before planning or implementation. Do not use for tiny one-file edits.
Use before completion, PR, deploy, handoff, or when verifying code changes. Runs advisory or blocking checks and reports evidence.
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
Use at the start of a Codex task to inspect repo readiness, project profile, monorepo shape, role docs, spec status, knowledge index, and recommend the next workflow.