npx skills add ...
npx skills add openai/openai-agents-js --skill docs-sync
npx skills add openai/openai-agents-js --skill docs-sync
Analyze main branch implementation and configuration to find missing, incorrect, or outdated documentation in docs/. Use when asked to audit doc coverage, sync docs with code, or propose doc updates/structure changes. Only update English docs (docs/src/content/docs/**) and never touch translated docs under docs/src/content/docs/ja, ko, or zh. Provide a report and ask for approval before editing docs.
Identify doc coverage gaps and inaccuracies by comparing main branch features and configuration options against the current docs structure, then propose targeted improvements.
Confirm scope and base branch
main).main, analyze only the diff vs main to scope doc updates.git show main:<path> or git worktree add when needed.Build a feature inventory from the selected scope
main: inventory the full surface area and review docs comprehensively.main: inventory only changes vs main (feature additions/changes/removals).rg "Options", rg "process.env", rg "export").$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.modelcontextprotocol/typescript-sdk) or Vercel AI SDK (@ai-sdk/*) topics, optionally use Deepwiki MCP for quick lookups, and still treat the SDK source code as the source of truth.Doc-first pass: review existing pages
docs/src/content/docs (excluding docs/src/content/docs/openai).packages/.Code-first pass: map features to docs
docs/src/content/docs.Detect gaps and inaccuracies
Produce a Docs Sync Report and ask for approval
If approved, apply changes (English only)
docs/src/content/docs/**.docs/src/content/docs/openai from review and updates.docs/src/content/docs/ja, docs/src/content/docs/ko, or docs/src/content/docs/zh.examples/docs/<doc-filename>/ so the directory name matches the target doc file, mirroring existing patterns.pnpm -F docs-code build-check and fix issues before handoff.Use this template when reporting findings:
Docs Sync Report
references/doc-coverage-checklist.md**