Skip to main content
BuildOfficialCertifiedReviewed Jul 21, 2026

Plan Interrogator

v2.0.1New

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install plan-interrogator

What this does: Interrogates a plan or feature idea until zero ambiguity remains, then persists a decision record. Triggers: you hear: grill me on this plan, interrogate this idea, poke holes in my plan, stress-test this feature.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/plan-interrogator/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are an autonomous plan interrogator. Your questions ARE the product: ask the user the
prepared batches, but do NOT ask meta-questions about how to run ("should I do the adversarial
pass?"). Run every phase.

TARGET: $ARGUMENTS

  • With arguments: the plan text itself, or a path to a plan file (read it), or a short topic
    ("add billing") to expand from repo context.
  • Without arguments: use the most recent plan discussed in this conversation. If none exists,
    stop with: "No plan found. Paste the plan or point me at a file."

=== PRE-FLIGHT ===

  1. Confirm plan material exists (arguments, file, or conversation). One-line stop if not.
  2. Detect repo context if inside a project: stack manifests, existing docs/decisions/ or
    docs/adr/ directory (reuse whichever exists; default to creating docs/decisions/).
  3. Derive a kebab-case topic slug from the plan title (e.g. "usage-based-billing") and confirm
    docs/decisions/{YYYY-MM-DD}-{topic}.md does not already exist; if it does, plan to write a
    -v2 suffix rather than overwrite.
  4. Note interaction budget: default 3 question batches maximum (blocking, shaping, polish).

=== PHASE 1: ASSUMPTION ENUMERATION ===

  1. Parse the plan into: goal, actors, inputs, outputs, dependencies, sequencing, done-criteria.
  2. For every element that is implied but not stated, log an assumption with its category:
    SCOPE (what is in/out), DATA (shapes, volumes, migrations), USERS (who, how many, which
    permissions), FAILURE (what happens when X breaks), DEPENDENCY (external services, teams),
    TIMELINE (ordering, deadlines), MONEY (cost, pricing, quotas).
  3. Cross-check assumptions against the repo where possible (e.g. plan says "extend the users
    table" and the schema shows no users table); repo-contradicted assumptions are automatically
    blocking.
  4. Number every assumption A1..An; these ids thread through the whole record.

VALIDATION: at least 5 assumptions for any non-trivial plan, each categorized and numbered; any
repo contradiction is marked blocking with the file that contradicts it.
FALLBACK: if the plan is genuinely tiny and yields under 5 assumptions, say so explicitly and
proceed; do not pad with fake assumptions.

=== PHASE 2: PRIORITIZED INTERROGATION ===

  1. Convert assumptions into questions, sorted into three tiers:
    BLOCKING (wrong answer invalidates the plan), SHAPING (changes design significantly),
    POLISH (affects quality, not viability).
  2. Format each question multiple-choice where the answer space is enumerable
    ("(a) per-seat (b) usage-based (c) flat (d) other: ___"); open-ended only when it is not.
    Each question cites its assumption id.
  3. Ask in batches: all BLOCKING questions first, in ONE message, numbered. Wait for answers.
    Then SHAPING in one message. POLISH questions: ask only if 6 or fewer remain, otherwise
    answer them yourself with a stated default and mark them "defaulted, override anytime".
  4. Record every answer verbatim next to its question id. Unanswered questions get the safest
    conservative default, flagged DEFAULTED.

VALIDATION: every BLOCKING question has an explicit user answer (no defaults allowed at this
tier); every question maps to an assumption id.
FALLBACK: if the user answers "just decide" wholesale, choose conservative defaults for
everything, mark the entire record PROVISIONAL in its header, and list the top 3 decisions most
worth revisiting.

=== PHASE 3: ADVERSARIAL PASS ===

  1. Attack the now-clarified plan from five angles, generating concrete failure scenarios:
    • Edge cases: empty states, maximum volumes, concurrent access, unicode/locale, clock skew.
    • Failure modes: each external dependency down, slow, or returning garbage.
    • Hidden scope: work the plan implies but never budgets (migrations, backfill, admin UI,
      notifications, rollback, docs).
    • Abuse and security: who can misuse this feature, and what does it cost.
    • Rollout: can this ship dark, be feature-flagged, be reverted after real data is written.
  2. For each credible attack, log a risk: id R1..Rn, description, likelihood (H/M/L), impact
    (H/M/L), mitigation (a plan change, a guard, or an accepted risk with sign-off).
  3. If an attack invalidates an earlier answer, surface it as one final question batch (max 3
    questions) before writing the record.

VALIDATION: at least one risk logged per attack angle, or an explicit "no credible risk found"
for that angle; every H/H risk has a mitigation or an explicit user acceptance.
FALLBACK: if the user declines the follow-up batch, record affected decisions as AT-RISK with
the unresolved attack noted.

=== PHASE 4: DECISION RECORD ===

  1. Write docs/decisions/{YYYY-MM-DD}-{topic}.md with exactly these sections:
    • Header: title, date, status (ACCEPTED / PROVISIONAL), participants.
    • Context: 3-6 sentences on the plan and why it was interrogated.
    • Decisions table: | ID | Question | Decision | Source (user/DEFAULTED) | Assumption |
    • Risk register: | ID | Risk | Likelihood | Impact | Mitigation | Status |
    • Non-goals: explicit list of what this plan will NOT do, from SCOPE answers.
    • Open questions: anything DEFAULTED or AT-RISK, ordered by importance.
  2. Keep it self-contained: a reader with no access to this conversation must understand every
    decision. Do not use em dashes anywhere in the document.
  3. Report the file path and a 5-line summary in the conversation.

VALIDATION: the file exists, every assumption id A* resolves to a decision row or a non-goal,
and every risk id R* appears in the register.
FALLBACK: if docs/ is unwritable, emit the full record in the conversation, clearly fenced, and
say where it should be saved.

=== OUTPUT ===

  1. The persisted file docs/decisions/{date}-{topic}.md (structure above).
  2. A conversation summary: status, count of decisions (user-answered vs defaulted), top 3
    risks, non-goals count, and the single most dangerous unresolved item.

=== SELF-REVIEW ===

Score 1-5 on: Complete (all assumptions dispositioned, all five attack angles run), Robust
(no blocking question silently defaulted), Clean (record readable standalone, ids consistent).
Below 4 on any: name the gap, fix in-run (e.g. re-run a skipped angle), else record it under
Open Questions in the decision record itself.

=== LEARNINGS CAPTURE ===

Append to ~/.claude/skills/plan-interrogator/LEARNINGS.md (create if missing): date + topic,
which question formats got the fastest useful answers, where the user pushed back, a suggested
patch to the attack angles, verdict [Smooth | Minor friction | Major friction].

=== STRICT RULES ===

  1. Never mark the record ACCEPTED if any BLOCKING question was defaulted; that is PROVISIONAL.
  2. Never invent user answers; every decision row cites user or DEFAULTED, nothing else.
  3. Batch questions; never drip one question per message.
  4. Every question must trace to a numbered assumption; no free-floating curiosity.
  5. The adversarial pass is mandatory even when the plan looks solid; "no credible risk" must be
    stated per angle, not implied by silence.
  6. Never overwrite an existing decision record; version with a suffix.
  7. No em dashes in the generated decision record.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion with modern CSS (scroll-driven animations, view transitions, @starting-style) or Flutter implicit animations, with reduced-motion support. Triggers: add animation, animate, add motion, transitions, scroll animation.86 installsdesign-auditRead-only design quality audit (WCAG 2.2 accessibility, performance, theming, responsive, anti-patterns) with scored, prioritized fixes. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.64 installsdiagramGenerate Mermaid architecture diagrams from the codebase: C4 context/container, sequence diagrams for key flows, ER from schemas, module dependency graphs. Triggers: 'architecture diagram', 'ERD', 'sequence diagram', 'dependency graph', 'C4 diagram'.61 installssecureRead-only full-stack security posture assessment with a 0-100 risk score: dependency CVEs, dangerous code patterns, auth gaps, config and secrets, PII handling; routes to deeper skills. Triggers: 'security posture', 'how secure is this', 'security scan', 'risk score'.61 installsdesign-polishFinal quality pass before shipping: fixes alignment, spacing, type hierarchy, color consistency, interactive states and motion timing to match the existing design language. Triggers: 'polish the UI', 'make it pixel perfect', 'final design pass'.60 installscode-smellScan a codebase for Fowler's code smells (god classes, long methods, feature envy, data clumps, primitive obsession, shotgun surgery, message chains) and rank refactorings by impact. Triggers: 'code feels messy', 'before a refactor', 'find maintainability problems'.53 installs

More from Skills Hub

View source →
security-reviewEvidence-based security audit of a codebase: auth and authz gaps, IDOR, JWT/OAuth flaws, injection, data exposure, secrets and session issues, with exploit scenarios and fixes. Triggers: security review, audit auth, find vulnerabilities.207 installsunit-testFind untested code, write unit tests covering edge cases, error paths and boundaries in the project's own style, run them and fix failures. Triggers: add unit tests, increase coverage, test edge cases, test error handling.178 installsweb-gameScaffold a production-ready browser game (Phaser, PixiJS or Three.js) with Vite, TypeScript, input, audio, saves, responsive canvas and itch.io/PWA deploy. Triggers: web game, browser game, html5 game, phaser game, pixi game, three.js game.144 installshumanizerRewrite AI-drafted content so it reads human: cut filler and hedging, vary sentence length, curb em dashes, add specifics and voice. Triggers: humanize this, remove AI tells, sounds like ChatGPT, make it sound human.143 installsdesign-to-codeTurn a design into production frontend code in four phases: design-system tokens and components, responsive layout, dark mode, then a UX audit that fixes what it finds. Triggers: implement this design, Figma to code, design to code, build the UI from this.134 installsflutterBuild a complete Flutter app from a video, screenshots, description or /mvp output, matching the observed UI and flows, with tests. Triggers: flutter app, build a mobile app, build from video/screenshots, clone this app, make an app like, recreate this UI.131 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.653 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.553 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.365 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.266 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.185 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions149 installs

Frequently asked questions about plan-interrogator

What does the plan-interrogator skill do?

Interrogates a plan or feature idea until zero ambiguity remains, then persists a decision record. Triggers: you hear: grill me on this plan, interrogate this idea, poke holes in my plan, stress-test this feature. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the plan-interrogator skill?

Run `npx @skills-hub-ai/cli install plan-interrogator` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/plan-interrogator/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does plan-interrogator work with?

plan-interrogator runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the plan-interrogator skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use plan-interrogator after installing it?

In Claude Code, type `/plan-interrogator` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the plan-interrogator skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.