doubt-driven-development

doubt-driven-development is a skill for Claude Code from GuillemRoca/agent-skills-android. It costs 55 tokens per session (1,180 once invoked), scanned A, original, MIT.

A decision-review method for choices that are costly or difficult to undo, such as system design, data migrations, dependencies, and public APIs. It deliberately challenges a plan and considers an alternative before work begins.

In plain words
What is it for?
Use it to review architecture, changes to stored data, new dependencies, API contracts, and platform-version migrations. It is not intended for small choices that are easy to reverse.
Why use it?
It helps prevent teams from defending the first workable idea after they have invested in it. Finding failure cases on paper is cheaper than discovering them during implementation or after release.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills-android plugin — 30 skills, 8 commands, 3 agents shipped together

Good fit Use it to review architecture, changes to stored data, new dependencies, API contracts, and platform-version migrations. It is not intended for small choices that are easy to reverse.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guillemroca/agent-skills-android/doubt-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 GuillemRoca/agent-skills-android --skill doubt-driven-development
Clone the repo
git clone --depth 1 https://github.com/GuillemRoca/agent-skills-android

Made for: Claude Code.

Or install agent-skills-android, the plugin that ships this one along with the rest of its 30 skills, 8 commands, 3 agents.

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 doubt-driven-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/doubt-driven-development/github.svg)](https://agentmods.dev/skills/guillemroca/agent-skills-android/doubt-driven-development)
Your own site
<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/doubt-driven-development"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/doubt-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 doubt-driven-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/guillemroca/agent-skills-android/doubt-driven-development"><img src="https://agentmods.dev/badge/skills/guillemroca/agent-skills-android/doubt-driven-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,180 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.00055 $0.01180
Opus 5.5 $0.00022 $0.00472
Sonnet 5.5 $0.00011 $0.00236
Haiku 4.5 $0.00006 $0.00118

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

Security

Grade A, and why

doubt-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/doubt-driven-development/SKILL.md · 99 lines

How it starts

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

Doubt-Driven Development

Overview

The first workable idea gets defended; a better second idea never gets considered. This skill institutionalizes doubt at the moments it pays: before committing to a decision that is expensive to reverse, deliberately attack it — enumerate failure modes, steelman one alternative, and try to break the plan on paper where breaking is free. Doubt is a tool applied at decision points, not a mood applied to everything.

When to Use

  • Architecture decisions: module boundaries, offline/sync model, state management approach (see android-architecture)
  • Data migrations: Room schema changes, DataStore format changes — anything touching persisted user data (see android-data-persistence)
  • Adopting or replacing a dependency the codebase will grow around
  • Public or cross-team API contracts (see api-and-interface-design)
  • minSdk/targetSdk bumps and platform-behavior migrations (see deprecation-and-migration)

Skip when: The decision is cheap to reverse (naming, private helpers, a screen's internal layout). Applying this to every choice is procrastination with extra steps.

Core Process

Step 1: Write the Decision Down First

  1. One paragraph, falsifiable: what is being decided, what it optimizes for, what it deliberately gives up. If it can't be written down, it can't be attacked.
Decision: store sync state in a Room table per entity (not a global
DataStore flag). Optimizes for per-item retry and conflict tracking.
Gives up: simpler global "is syncing" UI state.

Step 2: Attack It

  1. Enumerate concrete failure modes — Android-specific ones first:
- Process death mid-sync: is a row ever stuck in SYNCING forever?
- Migration: what happens to existing rows when the enum gains a value?
- Doze: WorkManager retry backoff vs. per-row retry counts — double retry?
- 10k tasks: does the per-row model create N WorkRequests?
  1. Steelman exactly one alternative. Argue for it as its best advocate would — not a strawman you can dismiss:

Read the full file on GitHub · 99 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 · 99 lines · 55 tokens per session scan A b9902cda1f9b

Subscribe to this mod's changes

doubt-driven-development is a skill published in the GitHub repository GuillemRoca/agent-skills-android (4 stars, last pushed 21d ago), licensed MIT. It adds 55 tokens to every session and 1,180 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

spec-kitty-implement-review

Orchestrate the implement-review loop for Spec Kitty work packages using any configured agent. Covers agent dispatch, state transitions, rejection cycles, arbiter escalation, and dependency-aware sequencing across all 13 supported coding agents. Triggers: "implement and review WPs", "run the implement-review loop"…

Priivacy-ai/spec-kitty · 120 tokens

spec-kitty-mission-review

Review a fully merged Spec Kitty mission post-merge (all WPs done/approved) to verify spec→code fidelity, FR coverage, drift, risks, and security. Triggers: "review the merged mission", "post-merge mission review", "verify the completed mission", "audit the mission implementation", "mission-level acceptance review"…

Priivacy-ai/spec-kitty · 155 tokens

spec-kitty-runtime-review

Review runtime-owned outputs using the Spec Kitty review workflow surface, then direct approval or rejection with structured feedback. Triggers: "review this work package", "check runtime output", "approve this step", "review WP", "is this WP ready to approve", "check this implementation". Does NOT handle: setup-only…

Priivacy-ai/spec-kitty · 85 tokens

adversarial-squad

Deploy a bounded, profile-loaded adversarial review squad at an SDD point-cut (post-spec, post-plan, post-tasks, pre-merge, or an ad-hoc decision) so independent doctrine lenses converge on findings one reviewer would miss. Triggers: "deploy a squad", "adversarial squad", "post-tasks anti-laziness pass", "pre-spec…

Priivacy-ai/spec-kitty · 160 tokens

spk-run-review-wp

Review a Spec Kitty work package through the runtime review surface and approve or reject with structured feedback.

Priivacy-ai/spec-kitty · 26 tokens

spk-doctrine-bulk-edit

Recognize bulk-edit missions and apply occurrence classification guardrails before modifying many matching instances.

Priivacy-ai/spec-kitty · 25 tokens