js-docs-sync
Installation
SKILL.md
JS Package Docs Sync
Verify and update hand-written docs/ documentation in a JS package so it stays
accurate against the actual source code. These docs ship in the npm package (via
the files field in package.json) for coding agents to read from node_modules.
When This Matters
The docs are the contract between the package and coding agents that consume it. Stale signatures, missing exports, or invalid examples mean agents write broken code. Source code is the single source of truth — docs must reflect it exactly.
Workflow
Step 1: Identify the Package
Determine which JS package to sync. If not clear from context, check which
packages have a docs/ directory: