source-driven-development

source-driven-development is a skill for Claude Code, Codex from vanja-emichi/a0_agent_skills. It costs 47 tokens per session (1,997 once invoked), scanned A, original, MIT.

A coding practice that checks official documentation before using a library, framework, or API. It verifies current method names, settings, and usage.

In plain words
What is it for?
Use it when building with changing tools, third-party services, or unfamiliar APIs, and when an error may indicate an API mismatch.
Why use it?
It reduces errors caused by outdated training examples, invented APIs, and differences between software versions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building with changing tools, third-party services, or unfamiliar APIs, and when an error may indicate an API mismatch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vanja-emichi/a0_agent_skills/source-driven-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vanja-emichi/a0_agent_skills --skill source-driven-development
Clone the repo
git clone --depth 1 https://github.com/vanja-emichi/a0_agent_skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for source-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/vanja-emichi/a0_agent_skills/source-driven-development/github.svg)](https://agentmods.dev/skills/vanja-emichi/a0_agent_skills/source-driven-development)
Your own site
<a href="https://agentmods.dev/skills/vanja-emichi/a0_agent_skills/source-driven-development"><img src="https://agentmods.dev/badge/skills/vanja-emichi/a0_agent_skills/source-driven-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for source-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/vanja-emichi/a0_agent_skills/source-driven-development"><img src="https://agentmods.dev/badge/skills/vanja-emichi/a0_agent_skills/source-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,997 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.01997
Opus 5.5 $0.00019 $0.00799
Sonnet 5.5 $0.00009 $0.00399
Haiku 4.5 $0.00005 $0.00200

Measured 1mo ago against content hash 1956f9950688, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

source-driven-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/source-driven-development/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Source-Driven Development

Overview

Read authoritative sources before writing code that depends on them. AI training data has a cutoff — and even before that cutoff, documentation often reflects correct usage better than the patterns in training data. When building against a library, framework, or API, consulting the real source prevents hallucinated APIs, outdated patterns, and subtle bugs from subtle version differences.

When to Use

  • Using a library or framework that may have changed since training
  • Unsure about current API signatures, hooks, or configuration
  • Working with rapidly evolving tools (AI SDKs, cloud APIs, build tools)
  • Implementing against a third-party API (authentication flows, endpoints, payloads)
  • Encountering an error that suggests an API mismatch

When NOT to use:

  • Writing pure algorithms or logic with no external dependencies
  • Working with extremely stable, well-established APIs (e.g., basic array methods)
  • You have high confidence the pattern is current and correct

The Source-Driven Protocol

Step 1: Identify What Needs Verification

Before writing code that uses an external library or API, list the assumptions you're making:

ASSUMPTIONS TO VERIFY:
- Does this hook/function/method still exist with this name?
- Are the arguments in the right order?
- Is this the recommended pattern (not deprecated)?
- Are there new required parameters or options?
- Does the return type match what I expect?

Step 2: Fetch Authoritative Sources

Use Agent Zero tools to retrieve current documentation:

For package documentation (npm):

document_query: https://www.npmjs.com/package/<package-name>

For GitHub repos:

browser: open → navigate to github.com/<owner>/<repo>/blob/main/README.md
browser: content → read the README

For official docs sites:

browser: open → navigate to the official docs URL
browser: content → read the relevant section

For specific API references:

document_query: <direct URL to the API reference page>

Read the full file on GitHub · 244 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 244 lines · 47 tokens per session scan A 1956f9950688

Subscribe to this mod's changes

source-driven-development is a skill published in the GitHub repository vanja-emichi/a0_agent_skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 47 tokens to every session and 1,997 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

keep-the-why

In a project with a .keep-the-why, or when asked about Keep the Why or to set it up - extract and preserve the reasoning code cannot explain - decisions, rejected alternatives, workarounds, incidents, constraints - plus project setup and maintainer interviews. Not for what changed (see Keep a Changelog) - only why.…

oliver-zehentleitner/keep-the-why · 128 tokens

nextjs-supabase-vercel

Set up the current empty folder with the AI App Starter, so the agent builds a Next.js, Supabase and Vercel app with the owner step by step, from idea to launch.

TechNomadCode/AI-Product-Development-Toolkit · 47 tokens

sw-do

Work a SpecWeave increment task by task - claim, implement inside its Files, test, commit, done with evidence - alone, unattended or in lanes, then close. Use for "implement", "continue", "auto".

anton-abyzov/specweave · 46 tokens

review

Adversarial review of an increment before it ships, by a fresh context or another model family; every finding cites path:line and is re-verified. Use for "review", "qa", "critique this".

anton-abyzov/specweave · 45 tokens

pre-modification-check

Use before modifying, refactoring, moving, or deleting files in a Repowise-indexed repository, especially shared utilities, core modules, public APIs, or files the user did not explicitly identify.

repowise-dev/repowise · 45 tokens

summarize

A guide for turning conversations, logs, documents, or investigation notes into short, action-oriented summaries. It requires conclusions to be tied to available evidence and distinguishes confirmed facts from items still needing confirmation.

zhinjs/zhin · 61 tokens