Skip to content
Development
Skill

/dig

This skill should be used when the user asks to "dig", "challenge assumptions", "stress test plan", "find risks in plan". Also triggers when the user says in Japanese: "前提を疑って", "計画を深掘り", "プランに穴が無いか".

From plugin
claude-code
2164 skills4 commands

Claude Code

$ npx -y skills add fumiya-kume/claude-code --skill dig --agent claude-code

SKILL.md

dig.SKILL.md
name: dig
description: This skill should be used when the user asks to "dig", "challenge assumptions", "stress test plan", "find risks in plan". Also triggers when the user says in Japanese: "前提を疑って", "計画を深掘り", "プランに穴が無いか".

Dig (Cursor Skill)

Stress-test the active plan by surfacing implicit assumptions and unconsidered risks. Run a single focused round of questioning via the Cursor AskQuestion tool, then write the user's decisions back to the plan. Do not loop — one round, one summary, done.

Persistence Target

Persist context, decisions, and the final summary to the active Cursor plan file:

  • Look up the currently active plan via the agent's plan tools (e.g. `read_plan` / `update_plan`).
  • If no plan is active, create `./PLAN.md` and treat that as the active plan.
  • All decisions captured during this skill must end up in the plan file as a `## Decisions` table — chat-only output is not enough.

Process

Phase 1. Context gathering

Before generating any questions, build a working understanding of the situation:

1. Read the active plan file end-to-end. 2. Read `CLAUDE.md` and / or `AGENTS.md` if present, for project conventions and constraints. 3. Read any specs, PRDs, or design docs the plan references. 4. Skim recent conversation context for stated goals and constraints.

From that input, list internally:

  • Stated goals (what the user wants to achieve)
  • Stated constraints (boundaries already set)
  • Implicit assumptions (things being taken for granted)
  • Missing topics (major areas not addressed at all)

Do not ask any questions yet.

Phase 2. Assumption mapping

Categorize the implicit assumptions into the following risk buckets, then rank them by impact-if-wrong:

  • **Feasibility** — "this can be built with X technology"
  • **User** — "users will behave this way"
  • **Scope** — "this feature does / does not include X"
  • **Dependency** — "service X will be available / reliable"
  • **Timeline** — "this can be done in X time"
  • **Architectural** — "the current architecture supports this"

The highest-risk assumptions become the seed for Phase 3 questions.

Phase 3. Single round of AskQuestion (2–4 questions)

Generate **one** round of 2 to 4 questions and ask them via the Cursor AskQuestion tool. Stop after this round — do not iterate.

Question rules:

  • 2 to 4 questions per round, never more.
  • Each question has 2 to 4 concrete options.
  • Cursor AskQuestion options accept only `id` and `label`. Embed the pros/cons inside the `label` string using a clear separator. Example label values:
  • `"WebSocket — Pros: real-time, proven pattern / Cons: connection management complexity, new infra"`
  • `"SSE — Pros: simpler, reuses HTTP / Cons: one-directional, weaker reconnection"`
  • `"Polling — Pros: zero infra change / Cons: not truly real-time, higher load"`
  • Avoid open-ended questions. Always provide concrete options.
  • Do not include an "Other" option — let the user type a custom answer if needed.
  • Align options with patterns observed in `CLAUDE.md` / existing code where possible.

Focus questions on areas that reveal hidden decisions and risks:

  • Trade-offs the plan implicitly took
  • Failure modes for critical paths
  • Scale / growth assumptions
  • Dependency fallbacks
  • Migration / rollback paths
  • Security & privacy implications
  • Maintenance / operational ownership

Phase 4. Apply answers to the plan

After the user answers, append a `## Decisions` section to the active plan file:

## Decisions

| Item | Choice | Reason | Notes |
|------|--------|--------|-------|
| <topic> | <chosen option> | <why this option vs others> | <follow-ups, risks, owners> |

Update one row per question. If the user picked a custom answer (typed instead of selected), record it as `Choice: <custom>` and capture their reasoning in the `Reason` column.

Phase 5. Final summary in chat

After the plan file is updated, post a short summary in chat:

  • Number of questions asked
  • Highest-risk assumptions surfaced
  • Key decisions made (link / reference the `## Decisions` table)
  • Acknowledged but unresolved risks
  • Recommended next steps

Then stop. Do not propose another round — single-pass is the contract.

Guidelines

  • One round only. Phase 3 runs exactly once. Resist the urge to keep digging — hand off instead.
  • Embed pros/cons in the option label. Cursor's AskQuestion exposes only `id` and `label`; use the label to carry the trade-off summary.
  • Persist to the plan, not just chat. Decisions that exist only in the conversation are lost.
  • Challenge, don't just clarify. If an assumption seems reasonable, still question it — that is the whole point.
  • Depth over breadth. 2–4 carefully chosen questions beat 8 shallow ones.
  • Read `CLAUDE.md` first. Align options with project conventions when present.
Read more
@fumiya-kume
Ships withclaude-code

A collection of personal Claude Code utilities and custom slash commands.

Stars on GitHub

Momentum

stars in total
216
Star history of fumiya-kume/claude-code on GitHub, a chart by star-history.com

Other skills on claude-code.

decomposition

decomposition

This skill should be used when the user asks to "decompose", "break down task", "create detailed todos", "split into todos". Also…

fix-ci

fix-ci

This skill should be used when the user asks to "fix CI", "fix failed checks", "PR is red", "diagnose CI failure". Also triggers…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react10d252k
@facebook@facebookInstall Skill

Questions about dig.

Which coding agents can use dig?
dig installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.