.agents/skills/docs-sync/SKILL.md
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.
npx skillsauth add openai/openai-agents-js docs-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.mdbusiness
Use when fixing invoice total calculations in the sandbox quickstart repository.
development
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
testing
Analyze CSV files in /mnt/data and return concise numeric summaries.
testing
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose high-impact tests, and confirm with the user before writing tests.