Audit or update English SDK documentation against the requested implementation scope.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-docs-sync-a4f649d53c6c ,按照其中的说明把「docs-sync」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Identify doc coverage gaps and inaccuracies by comparing main branch features and configuration options against the current docs structure, then propose targeted improvements.
For an audit or proposal-only request, report findings without editing. When the user requests updates or has already approved a plan, complete those local edits and applicable checks without asking again. Ask only about unresolved scope, behavior, release timing, or additional authority. Keep generated translations untouched. Apply the repository's Documentation Release Timing policy before including unreleased behavior in docs/.
Confirm scope and base branch
main).git show main:<path>. If a separate checkout is genuinely required, stop and obtain the explicit approval required by AGENTS.md before creating or switching a worktree.Build a feature inventory from the selected scope
rg "Settings", rg "Config", rg "os.environ", rg "OPENAI_").$openai-knowledge to pull current details from the OpenAI Developer Docs MCP server instead of guessing, while treating the SDK source code as the source of truth when discrepancies appear.Doc-first pass: review existing pages
docs/ (excluding docs/ja, docs/ko, and docs/zh).src/agents/ and examples/.Code-first pass: map features to docs
docs/ and mkdocs.yml.docs/ref.docs/ref/* pages, treat the corresponding docstrings/comments in src/ as the source of truth. Prefer updating those code comments so regenerated reference docs stay correct, instead of hand-editing the generated pages.Detect gaps and inaccuracies
Report findings or continue authorized updates
Apply authorized changes (English only)
docs/**.docs/ja, docs/ko, or docs/zh.mkdocs.yml when adding or renaming pages.AGENTS.md and run only the checks required by that tier.make build-docs once after the edits and required review are stable. Do not run it for editorial-only changes.Use this template when reporting findings:
Docs Sync Report
references/doc-coverage-checklist.md