# Doubt driven development

> Doubt driven development is an open-source agent skill for developer tools. Makes the agent cross-examine its own non-trivial decisions with a fresh-context reviewer. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/addyosmani/agent-skills/tree/main/skills/doubt-driven-development
- **Repository:** https://github.com/addyosmani/agent-skills
- **GitHub stars:** 122,283
- **License:** MIT
- **Skill name:** doubt-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 has the agent pause before committing to a non-trivial decision and send the proposed artifact and its contract to a reviewer that starts with no prior context and is instructed to look for flaws rather than approve. The workflow is a short cycle: state the claim and why it matters, isolate the smallest reviewable unit, run an adversarial review, check each finding against the artifact text, and stop after a bounded number of rounds or when findings become trivial.

The skill also defines when to apply it, such as branching logic, cross-boundary changes, and irreversible operations, and when to skip it, such as renames, formatting and clear user instructions. It includes guidance on handling a reviewer that misreads the contract, and on escalating to the user when rounds stop producing useful findings.

Optionally, the agent can offer a second opinion from an external CLI such as Gemini CLI or Codex CLI. The skill requires the agent to confirm the tool and exact command with the user first, pipe prompts through stdin, and run in a read-only mode. It bundles no scripts and works from the agent's own instructions.

## When your agent uses it

> Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when you want every assumption cross-examined before proceeding, when stress-testing a plan for hidden failure modes, when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production auth, security-sensitive logic, a high-stakes migration, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later.

## 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/doubt-driven-development)
- [License: MIT](https://github.com/addyosmani/agent-skills/tree/HEAD/skills/doubt-driven-development)

## Features

- **Fresh-context adversarial review:** Runs a reviewer that receives only the artifact and contract and is prompted to find problems rather than validate.
- **Claim and decision framing:** Requires stating each decision as a concise claim with its stakes before scrutinizing it.
- **Finding reconciliation:** Sorts each reviewer finding as a contract misread, actionable issue, accepted trade-off or noise.
- **Bounded review loop:** Caps the process at a few cycles and escalates to the user when substantive issues remain.
- **Optional cross-model second opinion:** Offers an external model review through a CLI, with checks and user confirmation before each run.
- **Clear scope rules:** Defines when the process applies and when it should be skipped to avoid needless overhead.

## Good for

- Stress-test a migration plan before running it in production
- Check a caching change for race conditions before committing
- Cross-examine an authentication change for hidden security gaps
- Verify an architectural decision made under uncertainty
- Review logic in an unfamiliar module before modifying it

## 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/doubt-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/doubt-driven-development &&
cp -R "$tmp/skills/doubt-driven-development" ~/.claude/skills/doubt-driven-development &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/doubt-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/doubt-driven-development &&
cp -R "$tmp/skills/doubt-driven-development" ~/.agents/skills/doubt-driven-development &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/doubt-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/doubt-driven-development &&
cp -R "$tmp/skills/doubt-driven-development" ~/.cursor/skills/doubt-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/doubt-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/doubt-driven-development
```

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/doubt-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/doubt-driven-development &&
cp -R "$tmp/skills/doubt-driven-development" ~/.copilot/skills/doubt-driven-development &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/doubt-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/doubt-driven-development` into your agent's skills folder as `doubt-driven-development`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Doubt driven development need any scripts or external tools to run?

No scripts are bundled. An external CLI such as Gemini CLI or Codex CLI is only used for an optional cross-model review, and only after the user confirms the command.

### Will Doubt driven development run automatically on every change?

No. It applies to non-trivial decisions and explicitly excludes mechanical tasks like renames, formatting and file moves.

### Can Doubt driven development run inside a subagent?

The skill says it is designed for the main session because nested subagent spawning is restricted. From a subagent it recommends escalating to the user, with a degraded self-review as a last resort.

### How is Doubt driven development different from a code review command?

The skill describes its checks as in-flight, applied while decisions are still cheap to change, whereas a review command gives a verdict on a finished artifact.

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

Copy the skill folder from GitHub to ~/.claude/skills/doubt-driven-development to use it in all your projects, or to .claude/skills/doubt-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 Doubt 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 Doubt driven development?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

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

The closest alternatives to Doubt driven development are Interrogate, Harness review, Vibe devil advocate review, Code review loop and Gap analysis.

## Where this comes from

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

## Alternatives

- [Interrogate](https://ai-powered.com/skills/interrogate): Interrogate is an open-source agent skill for developer tools.
- [Harness review](https://ai-powered.com/skills/harness-review-chachamaru127): Harness review is an open-source agent skill for developer tools.
- [Vibe devil advocate review](https://ai-powered.com/skills/vibe-devil-advocate-review): Vibe devil advocate review is an open-source agent skill for developer tools.
- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop is an open-source agent skill for developer tools.
- [Gap analysis](https://ai-powered.com/skills/gap-analysis): Gap analysis is an open-source agent skill for developer tools.
- [Second opinion](https://ai-powered.com/skills/second-opinion-awrshift): Second opinion is an open-source agent skill for developer tools.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts is an open-source agent skill for developer tools.
- [No comments](https://ai-powered.com/skills/no-comments): No comments is an open-source agent skill for developer tools.

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