
docs-sync
Audit or update English SDK documentation against the requested implementation scope.
- Installs
- 229
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/openai/openai-agents-python --skill docs-sync- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads docs-sync automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Docs Sync
Overview
Identify doc coverage gaps and inaccuracies by comparing main branch features and configuration options against the current docs structure, then propose targeted improvements.
Authorization and scope
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/.
Workflow
-
Confirm scope and base branch
- Identify the current branch and default branch (usually
main). - Prefer analyzing the current branch to keep work aligned with in-flight changes.
- Use a branch diff only for a branch-scoped request. A requested topic or released-doc correction remains in scope even when it is unrelated to the current branch diff.
- Avoid switching branches if it would disrupt local changes. Prefer read-only inspection such as
git show main:<path>. If a separate checkout is genuinely required, stop and obtain the explicit approval required byAGENTS.mdbefore creating or switching a worktree.
- Identify the current branch and default branch (usually
-
Build a feature inventory from the selected scope
- Bound the inventory to the requested topic or diff. Inventory the full surface only for an explicitly comprehensive audit.
- For branch-scoped work, inspect feature additions, changes, and removals relative to the intended base.
- Focus on user-facing behavior: public exports, configuration options, environment variables, CLI commands, default values, and documented runtime behaviors.
- Capture evidence for each item (file path + symbol/setting).
- Use targeted search to find option types and feature flags (for example:
rg "Settings",rg "Config",rg "os.environ",rg "OPENAI_"). - When the topic involves OpenAI platform features, invoke
$openai-knowledgeto 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
- Walk each relevant page under
docs/(excludingdocs/ja,docs/ko, anddocs/zh). - Identify missing mentions of important, supported options (opt-in flags, env vars), customization points, or new features from
src/agents/andexamples/. - Propose additions where users would reasonably expect to find them on that page.
- Walk each relevant page under
-
Code-first pass: map features to docs
- Review the current docs information architecture under
docs/andmkdocs.yml. - Determine the best page/section for each feature based on existing patterns and the API reference structure under
docs/ref. - Identify features that lack any doc page or have a page but no corresponding content.
- Note when a structural adjustment would improve discoverability.
- When improving
docs/ref/*pages, treat the corresponding docstrings/comments insrc/as the source of truth. Prefer updating those code comments so regenerated reference docs stay correct, instead of hand-editing the generated pages.
- Review the current docs information architecture under
-
Detect gaps and inaccuracies
- Missing: features/configs present in main but absent in docs.
- Incorrect/outdated: names, defaults, or behaviors that diverge from main.
- Structural issues (optional): pages overloaded, missing overviews, or mis-grouped topics.
-
Report findings or continue authorized updates
- For audit-only work, provide evidence, suggested locations, and proposed edits, then stop.
- For an update request, use the findings to complete the authorized edits.
-
Apply authorized changes (English only)
- Edit only English docs in
docs/**. - Do not edit
docs/ja,docs/ko, ordocs/zh. - Keep changes aligned with the existing docs style and navigation.
- Update
mkdocs.ymlwhen adding or renaming pages. - Classify the complete diff with the Documentation Verification Tiers in
AGENTS.mdand run only the checks required by that tier. - For content or structural changes, run
make build-docsonce after the edits and required review are stable. Do not run it for editorial-only changes.
- Edit only English docs in
Output format
Use this template when reporting findings:
Docs Sync Report
- Doc-first findings
- Page + missing content -> evidence + suggested insertion point
- Code-first gaps
- Feature + evidence -> suggested doc page/section (or missing page)
- Incorrect or outdated docs
- Doc file + issue + correct info + evidence
- Structural suggestions (optional)
- Proposed change + rationale
- Proposed edits
- Doc file -> concise change summary
- Unresolved decisions, only when needed
References
references/doc-coverage-checklist.md
FAQ
What does the docs-sync skill do?
Audit or update English SDK documentation against the requested implementation scope.
How do I install docs-sync?
Run npx skills add https://github.com/openai/openai-agents-python --skill docs-sync in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/docs-sync/ (personal) or .claude/skills/docs-sync/ (project).
Which AI agents can use docs-sync?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is docs-sync safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains docs-sync?
It is published by openai in openai/openai-agents-python, and it is an official skill from the maker of the technology it covers. It has 229 recorded installs.
More from openai/openai-agents-python
openai-knowledge
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
test-coverage-improver
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
pr-draft-summary
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
code-change-verification
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
final-release-review
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
examples-auto-run
openai/openai-agents-python
Open the skill to read its SKILL.md instructions.
Popular docs & writing skills
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.
lark-markdown
open.feishu.cn
飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。
writing-beats
mattpocock/skills
Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.
writing-shape
mattpocock/skills
Writing, exploit: shape raw material into an article, paragraph by paragraph.
writing-fragments
mattpocock/skills
Writing, explore: mine raw fragments, no structure yet.
writing-for-agents
mattpocock/skills
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.