skills/docs-sync-js/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 aiagentskills/skills 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.mddocumentation
Guides using bun.sys for system calls and file I/O in Zig. Use when implementing file operations instead of std.fs or std.posix.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
Guides writing HMR/Dev Server tests in test/bake/. Use when creating or modifying dev server, hot reloading, or bundling tests.