Skip to content
Skill

Doubt driven development

Makes the agent cross-examine non-trivial decisions with a fresh-context adversarial

Doubt driven development is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
13
Last commit
License
MIT
Listing updated

Similar skills

About Doubt driven development

This skill has the agent pause before committing to a non-trivial decision and hand a stripped-down version of it to a reviewer that starts with no prior context and is asked to find problems rather than approve. The workflow runs in a fixed sequence: state the claim and why it matters, isolate the artifact and its contract without the reasoning behind it, run the adversarial review, then sort each finding as a contract misread, a valid fix, an accepted trade-off, or noise. The loop is capped at three cycles before the user is brought in.

The skill is written for the main session, since nested subagent spawning is not allowed in Claude Code. It also lists a read-only option for cross-model review through the Codex or Gemini CLI. The agent must ask the user before using either tool and confirm the exact invocation, and it must pipe prompts through stdin rather than interpolating them into shell arguments. Its author positions it as a layer on top of spec, test or source-driven workflows rather than a primary development loop.

When your agent uses it

Subject every non-trivial decision to fresh-context adversarial review before it stands. Use when correctness beats speed or stakes are high. Do NOT use as primary loop — layer on spec/test/source-driven.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (16 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add ajyadav013/claude-kit
/plugin install claude-kit@claude-kit

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

Cursor docs on skills

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

gemini skills install https://github.com/ajyadav013/claude-kit.git --path skills/doubt-driven-development

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ajyadav013/claude-kit.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.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ajyadav013/claude-kit.git

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

The SKILL.md format

What it does

Fresh-context adversarial review
Runs a reviewer with isolated context and a prompt that asks for issues only, not validation.
Claim and contract extraction
Separates the decision under scrutiny and its constraints from the author's reasoning before review.
Finding reconciliation
Classifies each reviewer finding against the artifact text as misread, actionable, trade-off or noise.
Bounded doubt loop
Stops after trivial findings, three cycles or an explicit user override, then escalates.
Optional cross-model second opinion
Offers a read-only Gemini CLI or Codex CLI review, with user confirmation before any run.

Good for

  • Double-check a caching design for thread safety before writing the code
  • Challenge a data migration plan before it runs against production
  • Review a public API change for contract violations
  • Test a claim that an algorithm scales before committing to it
  • Scrutinize unfamiliar code before modifying it

Doubt driven development FAQ

When should the skill be used?

For non-trivial decisions, meaning changes to branching logic, module boundaries, properties the compiler cannot verify, context the future reader cannot see, or irreversible actions. It advises against use for renames, formatting, file moves, simple instructions and one-line obvious changes.

Does Doubt driven development run scripts or need extra tools?

The folder contains only the SKILL.md file and no scripts. Cross-model review is optional and uses the Gemini or Codex CLI if the user chooses it.

Can Doubt driven development be added to a persona or subagent?

The skill says it should not be added to a persona's skills list, because a persona following it would spawn another persona. Inside a subagent it recommends escalating to the main session instead.

Does Doubt driven development send the reasoning to the reviewer?

No. The reviewer receives only the artifact and contract, not the claim or the orchestrator's reasoning, so the review is not biased toward agreement.

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 claude-kit plugin, which includes it: /plugin marketplace add ajyadav013/claude-kit, then /plugin install claude-kit@claude-kit.

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 Doubt driven development, Interrogate, Epistemic interrogation, Second opinion and Gap analysis.

Where this comes from

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

More from ajyadav013/claude-kit

  1. Guides an agent through pytest, async fixtures and security-regression tests for FastAPI

    • Open source
    • 13 GitHub stars
    • Developer tools
  2. Lets your agent inspect and debug live browser pages via Chrome DevTools MCP

    • Open source
    • 13 GitHub stars
    • Browser automation
  3. Runs concurrent load and stress tests against API endpoints to find latency and throughput

    • Open source
    • 13 GitHub stars
    • Developer tools
  4. Lets an agent click through a feature in a real browser and check how it behaves

    • Open source
    • 13 GitHub stars
    • Developer tools
  5. Runs quick health checks on backend, frontend and login to catch obvious breakage

    • Open source
    • 13 GitHub stars
    • Developer tools
  6. Guides an agent through red-green-refactor, bug reproduction tests and test pyramid

    • Open source
    • 13 GitHub stars
    • Developer tools