source-driven-development

source-driven-development is a skill for Claude Code, Codex from rtazima/claude-proj-blueprint. It costs 78 tokens per session (943 once invoked), scanned A, original, MIT.

A coding practice that checks framework, library, and SDK decisions against their official documentation before code is written.

In plain words
What is it for?
Use it when choosing or integrating an external dependency, checking how an API works, or confirming that code matches the versions installed in a project.
Why use it?
It reduces errors caused by guessed APIs, wrong method names, and documentation for the wrong software version.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/rtazima/claude-proj-blueprint/source-driven-development
Any agent
npx skills add rtazima/claude-proj-blueprint --skill source-driven-development
Clone the repo
git clone --depth 1 https://github.com/rtazima/claude-proj-blueprint

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/rtazima/claude-proj-blueprint/source-driven-development.svg)](https://agentmods.dev/skills/rtazima/claude-proj-blueprint/source-driven-development)
Your own site
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/source-driven-development"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/source-driven-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00078 $0.00943
Opus 5 $0.00039 $0.00472
Sonnet 5 $0.00016 $0.00189
Haiku 4.5 $0.00008 $0.00094

Measured 4d ago against content hash 10ae5161ed94, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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.

.claude/skills/source-driven-development/SKILL.md · 85 lines

How it starts

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

Source-Driven Development

Every framework-specific decision must be backed by official documentation, not training data. LLMs hallucinate APIs, invent method signatures, and confuse library versions. The antidote is to verify against the source of truth before writing code.

Rules

  1. Detect the stack first — read CLAUDE.md, package.json, requirements.txt, go.mod, or equivalent to know exact versions
  2. Fetch docs, don't guess — use WebFetch to read official docs for the specific version in use
  3. Cite your source — add a comment or docstring with the doc URL when using a non-obvious API
  4. Say UNVERIFIED — if you cannot find official documentation for a claim, explicitly mark it as // UNVERIFIED: could not find docs for this API
  5. Never cite Stack Overflow, blog posts, or tutorials as primary source — they may be outdated or wrong. Official docs and source code are the only primary sources
  6. Version matters — docs for v3 don't apply to v2. Always check the version installed

Workflow

Phase 1: Detect stack and versions

# Node.js
cat package.json | grep -A1 '"dependencies"'

# Python
cat requirements.txt  # or pyproject.toml

# Go
cat go.mod

Phase 2: Before implementing

For each framework-specific decision:

  1. Identify the specific API/method/pattern you need
  2. Fetch the official docs page for that API
  3. Verify: does this method exist? What are the parameters? What version introduced it?
  4. If docs are unavailable → mark as UNVERIFIED and note what you assumed

Phase 3: Implement with citation

// Ref: https://docs.example.com/api/v3/client#create
const client = new Client({ timeout: 5000 });

Phase 4: Verify after implementing

  1. Does the code compile/type-check? (catches hallucinated APIs)
  2. Do tests pass? (catches wrong method signatures)
  3. Are all UNVERIFIED markers resolved or documented?

Source hierarchy

Priority Source Use for
1 Official docs (versioned) API signatures, configuration, behavior
2 Source code (GitHub) When docs are incomplete or ambiguous
3 Official migration guides Version upgrade patterns
4 Official examples/cookbooks Integration patterns
5 UNVERIFIED (mark explicitly) Last resort — document the assumption

Read the full file on GitHub · 85 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. 4d ago First seen · 85 lines · 78 tokens per session scan A 10ae5161ed94

Subscribe to this mod's changes

source-driven-development is a skill published in the GitHub repository rtazima/claude-proj-blueprint (20 stars, last pushed 3mo ago), licensed MIT. It adds 78 tokens to every session and 943 once invoked, about $0.0004 per session on Opus 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-30.