source-driven
Installation
SKILL.md
Source-Driven Development
Never rely on training data for API usage. Read the source of truth for the installed version.
- Pin versions — read the project manifest/lockfile for the exact version of each library involved.
- Fetch docs for that version (not "latest") with WebFetch. Extract signatures, required params, return types, breaking changes. Docs missing or ambiguous → the repo README for that tag, then the installed package source (
node_modules/, site-packages, vendor, …) and its type definitions. - Implement only confirmed APIs, matching signatures exactly. Anything you cannot verify gets marked inline:
// UNVERIFIED: could not confirm in docs for v{version}(ordocs for v{closest}, installed v{actual}). - Cite surprising or version-specific usage with a one-line
// Ref: <url>. Don't comment obvious calls.