Source driven
Implement features using official docs for exact dependency versions instead of training data. Use when user asks to "check the docs", "use official docs", "source-driven", or when implementing with unfamiliar APIs/libraries. Don't use for well-known stdlib APIs or project-internal code.From its SKILL.md
npx -y skills add helderberto/agent-skills --skill source-drivenAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 337 tokens by cl100k_base, as published. Nobody here has run it
Source-Driven Development
Never rely on training data for API usage. Read the actual source of truth.
Workflow
1. Identify Dependencies
- Read
package.json(or equivalent manifest) for exact versions - Note the exact version of each library involved in the task
2. Fetch Official Docs
For each dependency involved:
- Find the correct docs URL for that specific version (not "latest")
- Fetch the relevant API page using WebFetch
- Extract: function signatures, required params, return types, breaking changes
If docs are unavailable or ambiguous, read the library source in node_modules/.
3. Implement from Docs
- Use only APIs confirmed in fetched docs
- Match function signatures exactly (param order, types, defaults)
- If a doc page confirms the API: proceed
- If you cannot verify an API: mark it
// UNVERIFIED: could not confirm in docs for v{version}
4. Cite Sources
Add a brief comment on non-obvious API usage:
// Ref: https://docs.example.com/v3/api#method
Only cite when the usage is surprising or version-specific. Don't over-comment obvious calls.
Error Handling
- Docs URL returns 404 → try GitHub repo README, then
node_modules/source - Version not found in docs → use closest version docs + mark
// UNVERIFIED: docs for v{closest}, installed v{actual} - WebFetch blocked/unavailable → read
node_modules/{pkg}/README.mdor type definitions
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.