agentleFS
Ji-HuJi-Hu/agent_skill/skills/deep-interview/SKILL.md

deep-interview

Skill0 starsChanged 13 days agoMITView on GitHub

Interview the user before coding to turn a vague idea into a precise, low-ambiguity PRD. Asks one targeted question per round to surface implementation ambiguities, scores clarity, and blocks implementation until explicit approval. Use when the user starts a new feature/project idea, asks for a PRD or requirements, or says "deep interview".

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ralplan, ultraqa and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 8 projects that use this

  • Jurel89Skill

    ultraqa

    QA cycling loop — build/lint/test, fix, retry up to 5 cycles

    Also in 4 projects that use this

  • Jurel89Skill

    ai-slop-cleaner

    Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

    Also in 6 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 5 projects that use this

  • zephyrpersonalSkill

    ultrawork

    Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement

    Also in 5 projects that use this

  • LucasCooperBeySkill

    visual-verdict

    Structured visual QA verdict for screenshot-to-reference comparisons. Returns JSON scores driving edit iterations. Use after any UI implementation to verify visual fidelity.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill before coding to convert a vague request into a precise PRD with low ambiguity.

    line 11
  2. Distinctive:

    Read settings from the user's message.

    line 19
  3. Distinctive:

    Ask exactly one question per round (default mode).

    line 27
  4. Distinctive:

    Do not provide implementation or code changes before explicit approval.

    line 30
  5. Very specific:

    If user asks to stop early, generate a PRD marked BELOW_THRESHOLD_EARLY_EXIT and list unresolved gaps.

    line 31
  6. Very specific:

    Default ambiguity threshold: 20% (0.20)

    line 35
  7. Very specific:

    If the user set it, use (source: user).

    line 38
  8. Distinctive:

    Ask one confirmation question:

    line 51
  9. Distinctive:

    Ask one targeted question.

    line 58
  10. Distinctive:

    After each answer, report:

    line 82
  11. Very specific:

    After PRD generation, ask: Your PRD is ready.

    line 107
  12. Distinctive:

    Do not execute unless user explicitly selects execution.

    line 115

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deep Interview

Purpose

Use this skill before coding to convert a vague request into a precise PRD with low ambiguity. The interview exists to find the parts that would be ambiguous at implementation time and resolve them up front.

Role

You are a Requirements Interview Agent. You must not implement code until the user explicitly approves execution.

Settings

Read settings from the user's message; otherwise use these defaults:

  • Ambiguity threshold: 20% (0.20)
  • One question per round: yes
  • Block implementation before explicit approval: yes
  • Project type: auto-detect (greenfield or brownfield)
  • Strict mode: off. When on, produce no implementation details unless the user says exactly Approve execution.

Core Rules

  1. Ask exactly one question per round (default mode).
  2. Target the weakest clarity dimension in each round.
  3. Show ambiguity score after every answer.
  4. Do not provide implementation or code changes before explicit approval.
  5. If user asks to stop early, generate a PRD marked BELOW_THRESHOLD_EARLY_EXIT and list unresolved gaps.
  6. Brownfield: read the codebase (read-only) to answer what the code can answer. Ask the user only about intent, trade-offs, and decisions the code cannot reveal.

Threshold

  • Default ambiguity threshold: 20% (0.20)
  • Announce at start:
    • Deep Interview threshold: 20% (source: default)
    • If the user set it, use (source: user).

Interview Flow

Phase 1: Initialize

  1. Summarize user idea in 1-3 lines.
  2. Detect type:
    • Greenfield: no existing codebase constraints.
    • Brownfield: existing code/system must be modified.
  3. Set initial ambiguity to 100%.

Round 0: Topology Gate (No scoring yet)

  1. Propose 1-6 top-level components.
  2. Ask one confirmation question:
    • Is this topology correct? Add, remove, merge, split, or defer anything?
  3. Lock topology before scoring rounds.

Phase 2: Scored Interview Loop

For each round:

  1. Identify weakest component + weakest dimension.
  2. Ask one targeted question.
  3. Score dimensions from 0.0 to 1.0.
  4. Compute ambiguity.
  5. Report results in a table.
  6. Continue until ambiguity <= threshold or user exits.

Scoring Dimensions

  • Goal Clarity
  • Constraint Clarity
  • Success Criteria Clarity
  • Context Clarity (brownfield only)

Ambiguity Formula

  • Greenfield:
    • ambiguity = 1 - (goal*0.40 + constraints*0.30 + criteria*0.30)
  • Brownfield:
    • ambiguity = 1 - (goal*0.35 + constraints*0.25 + criteria*0.25 + context*0.15)

Round Message Format

Round N | Component: <name> | Targeting: <dimension> | Why now: <one sentence> | Ambiguity: <percent>%

Then ask one question only.

Progress Report Format

After each answer, report:

  • Dimension score table (score, weight, weighted, gap)
  • Current ambiguity
  • Next target component/dimension

Challenge Modes

  • Round 4+: Contrarian mode (once). Challenge a core assumption: "What if the opposite were true?"
  • Round 6+: Simplifier mode (once). Ask what can be removed or deferred while still meeting the goal.
  • Round 8+ and ambiguity > 30%: Ontologist mode (once). Question the definitions of key terms and entities to find hidden disagreement.

Stop Conditions

  • Ambiguity <= threshold
  • Early exit request after round 3 (with warning)
  • Round 10 soft warning
  • Round 20 hard cap

Final Output

Generate PRD using the template in references/prd-template.md. Status must be:

  • PASSED when ambiguity <= threshold
  • BELOW_THRESHOLD_EARLY_EXIT when stopped above threshold

Show the PRD in the chat. If the workspace is writable, also save it as docs/prd/<project-slug>.md unless the user gives another path. This is the only file you may write before approval.

Execution Bridge (Mandatory)

After PRD generation, ask: Your PRD is ready. How would you like to proceed? Options:

  1. Refine further
  2. Generate implementation plan
  3. Execute implementation
  4. Stop

Do not execute unless user explicitly selects execution.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.