# Source driven development

> Source driven development is an open-source agent skill for developer tools. Makes the agent check official docs for the exact version before writing framework code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/addyosmani/agent-skills/tree/main/skills/source-driven-development
- **Repository:** https://github.com/addyosmani/agent-skills
- **GitHub stars:** 122,545
- **License:** MIT
- **Skill name:** source-driven-development
- **Collection:** https://github.com/addyosmani/agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill changes how an agent writes framework-specific code. Before implementing, it has the agent identify the stack and versions from dependency files such as package.json, pyproject.toml or go.mod, then fetch the relevant official documentation page rather than relying on memory. Deprecation notes and migration guidance from those pages are followed, and conflicts between sources or with existing project code are surfaced to the user instead of being silently resolved.

The output is expected to carry citations. Code comments and explanations link to full source URLs, ideally with anchors, and quote the passage behind non-obvious choices. Anything the agent cannot verify is labelled as unverified so the user knows to check it. The skill also includes a checklist and guidance on resisting instructions embedded in fetched pages.

It relies on the agent having web access to retrieve documentation and on a project with a readable dependency file. The skill itself ships as a single SKILL.md with no scripts, and it is distributed through a Claude Code plugin marketplace.

## When your agent uses it

> Grounds every implementation decision in official documentation. Use when you want to verify an approach against the official docs before implementing it, or when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/addyosmani/agent-skills/tree/HEAD/skills/source-driven-development)
- [License: MIT](https://github.com/addyosmani/agent-skills/tree/HEAD/skills/source-driven-development)

## Features

- **Version detection:** Reads dependency files to pin the exact framework and library versions before any code is written.
- **Official docs fetching:** Directs the agent to fetch the specific documentation page for the feature, ranked by source authority.
- **Cited code output:** Requires full source URLs in code comments and explanations for framework-specific decisions.
- **Deprecation avoidance:** Checks fetched migration guides so deprecated APIs are not reintroduced from training data.
- **Conflict surfacing:** Flags disagreements between docs or between docs and existing code and asks the user to choose.
- **Unverified flagging:** Marks patterns that lack official documentation so they are clearly labelled before use.

## Good for

- Implement a form submission flow using the current framework's recommended API
- Set up routing or data fetching in a project with a specific framework version
- Create starter boilerplate with cited patterns that can be copied across a codebase
- Review existing framework code against current official documentation
- Add authentication following the library's documented approach

## Install

### Claude Code

This skill ships in the `agent-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add chrisalehman/bionic
/plugin install agent-skills@bionic
```

Or copy only this skill to `~/.claude/skills/source-driven-development`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/source-driven-development &&
cp -R "$tmp/skills/source-driven-development" ~/.claude/skills/source-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/source-driven-development` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/source-driven-development` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/source-driven-development &&
cp -R "$tmp/skills/source-driven-development" ~/.agents/skills/source-driven-development &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/source-driven-development` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/source-driven-development` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/source-driven-development &&
cp -R "$tmp/skills/source-driven-development" ~/.cursor/skills/source-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/source-driven-development` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/addyosmani/agent-skills.git --path skills/source-driven-development
```

Or copy the folder to `~/.gemini/skills/source-driven-development` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/source-driven-development`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/addyosmani/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/source-driven-development &&
cp -R "$tmp/skills/source-driven-development" ~/.copilot/skills/source-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/source-driven-development` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/addyosmani/agent-skills.git
```

Then copy `agent-skills/skills/source-driven-development` into your agent's skills folder as `source-driven-development`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs the agent to be able to read the project's dependency file and fetch official documentation pages. It ships as a single SKILL.md with no scripts.

### When does Source driven development apply and when should it not?

It applies to framework-specific code where correctness depends on version. It is not meant for tasks like renaming variables, fixing typos, moving files, or pure logic, and it is skipped when the user asks for speed over verification.

### What happens if the docs are unclear or missing for a pattern?

The agent is told to say so explicitly and label the pattern as unverified, rather than presenting it as confirmed.

### Does Source driven development change which tools the agent can use?

The skill does not set any allowed-tools restriction. It only guides how the agent researches and cites framework code.

### How do I install Source driven development in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/source-driven-development to use it in all your projects, or to .claude/skills/source-driven-development in one project. Or install the agent-skills plugin, which includes it: /plugin marketplace add chrisalehman/bionic, then /plugin install agent-skills@bionic.

### Does Source driven development run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Source driven development?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Source driven development?

The closest alternatives to Source driven development are Code, Docs agent, Find, Maintain verification skill and Why.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code](https://ai-powered.com/skills/code): Code is an open-source agent skill for developer tools.
- [Docs agent](https://ai-powered.com/skills/docs-agent): Docs agent is an open-source agent skill for developer tools.
- [Find](https://ai-powered.com/skills/find): Find is an open-source agent skill for developer tools.
- [Maintain verification skill](https://ai-powered.com/skills/maintain-verification-skill): Maintain verification skill is an open-source agent skill for developer tools.
- [Why](https://ai-powered.com/skills/why-michael-denyer): Why is an open-source agent skill for developer tools.
- [Awesome agent skills](https://ai-powered.com/skills/awesome-agent-skills-smartworldarafath): Awesome agent skills is an open-source agent skill for developer tools.
- [Principle prove it works](https://ai-powered.com/skills/principle-prove-it-works): Principle prove it works is an open-source agent skill for developer tools.
- [API versioning helper](https://ai-powered.com/skills/api-versioning-helper): API versioning helper is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/source-driven-development
