agentleFS
ahilarionahilarion/oh-my-forge/skills/deep-interview/SKILL.md

deep-interview

Skill2 starsChanged 8 months agoMITView on GitHub

Socratic requirements clarification before any code is written

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ralplan, ecomode and 7 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.
  • an8079Skill

    ralplan

    Also in 5 projects that use this

  • an8079Skill

    ecomode

    Also in 3 projects that use this

  • lza6Skill

    visual-verdict

    Structured visual QA verdict for screenshot-to-reference comparisons

    Also in 3 projects that use this

  • lza6Skill

    ai-slop-cleaner

    Run an anti-slop cleanup/refactor/deslop workflow

    Also in 3 projects that use this

  • the-huginSkill

    configure-notifications

    Configure notification integrations (Telegram, Discord, Slack) via natural language

    Also in 3 projects that use this

  • AGMO-IncSkill

    cancel

    Use when the user wants to stop current execution. Triggers on "취소", "중단", "그만", "cancel", "stop".

    Also in 3 projects that use this

  • +2 more from an8079

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT dump all questions at once.

    line 31
  2. Distinctive:

    After the user responds, analyze their answer, then ask the next relevant question.

    line 39
  3. Distinctive:

    Ask ONE question about constraints:

    line 68
  4. Distinctive:

    Ask ONE question about edge cases:

    line 74
  5. Distinctive:

    After all questions, if you have enough information (>80% clarity):

    line 81
  6. Distinctive:

    Ask remaining questions one by one.

    line 116
  7. Distinctive:

    Do NOT spawn frontend-design, autopilot, or any execution skill

    line 121
  8. Distinctive:

    Do NOT write any code

    line 122
  9. Distinctive:

    Wait for user confirmation to proceed with planning

    line 123
  10. Distinctive:

    After the interview, produce a SPEC.md with:

    line 128
  11. Distinctive:

    If after questioning, ambiguity is still > 20%, flag specific unknowns before proceeding.

    line 141
  12. Distinctive:

    If ambiguity is acceptable (< 20%), proceed to spec generation.

    line 143

“Common” is measured: kept by at least 6 in 10 of the 11 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
<Purpose> Deep Interview uses Socratic questioning to clarify requirements before any code is written. It exposes hidden assumptions and ensures the user knows exactly what they're asking for. This prevents the common pattern of building the wrong thing correctly. </Purpose>

<Use_When>

  • User has a vague idea or open-ended request
  • User says "deep-interview", "clarify", "not sure what I want"
  • Requirements are unclear or ambiguous
  • Complex feature with many edge cases </Use_When>

<Do_Not_Use_When>

  • Requirements are already clear and specific
  • User explicitly says "just build it"
  • Quick task with no ambiguity </Do_Not_Use_When>

<Interview_Protocol>

INTERACTIVE QUESTIONING

CRITICAL: Ask ONE question at a time. Wait for response before asking the next.

Do NOT dump all questions at once. Each question must be followed by a response prompt:

❯ [question]

> _

After the user responds, analyze their answer, then ask the next relevant question.

Question Sequence

Step 1: Core Purpose

Ask ONE question:

"What is the primary goal of this [feature]? What problem does it solve?"

Wait for response.

Step 2: Users

Ask ONE question:

"Who will be using this? (developers, end users, admins, etc.)"

Wait for response.

Step 3: Scope

Based on answers, ask ONE focused question about scope:

"What features are essential vs nice-to-have?"

Wait for response.

Step 4: Technical Context

Based on answers, ask ONE question about tech:

"Do you have existing preferences for [language/framework/database]?"

Wait for response.

Step 5: Constraints

Ask ONE question about constraints:

"Any specific requirements around [security/scale/compliance]?"

Wait for response.

Step 6: Edge Cases

Ask ONE question about edge cases:

"What should happen if [edge case]?"

Wait for response.

Decision Gate

After all questions, if you have enough information (>80% clarity):

  1. Generate SPEC.md with:
    • Problem statement
    • Target users
    • Core features (prioritized)
    • User workflows
    • Edge cases
    • Constraints
  2. Then inform the user:
❯ SPEC.md generated. Here's what I understood:

## Summary
[2-3 sentences max]

## Core Features
1. [Feature 1] - Must have
2. [Feature 2] - Must have
3. [Feature 3] - Nice to have

## Next Step
Should I create a detailed PLAN.md with:
- File structure
- Tech stack recommendations
- Implementation steps
- Effort estimate

Type "yes" to proceed with the plan, or tell me if I missed something.

If unclear (>20% ambiguity):

"I still have some open questions about [specific topics]. Let me ask..."

Ask remaining questions one by one.

IMPORTANT: Do NOT Execute

After generating SPEC.md:

  • Do NOT spawn frontend-design, autopilot, or any execution skill
  • Do NOT write any code
  • Wait for user confirmation to proceed with planning

</Interview_Protocol>

<Output> After the interview, produce a SPEC.md with: - Problem statement - Target users - Core features (with priorities) - User workflows - Edge cases to handle - Constraints - Open questions (if any)

This spec becomes the input for planning or autopilot. </Output>

<Ambiguity_Gate> If after questioning, ambiguity is still > 20%, flag specific unknowns before proceeding.

If ambiguity is acceptable (< 20%), proceed to spec generation. </Ambiguity_Gate>

<Examples> <Good> User: "deep-interview I want to build something for tracking my tasks" Assistant: "What is the primary goal of this task tracker? What problem does it solve?"

User: "I want to track daily tasks and see my productivity over time" Assistant: "Who will be using this tracker?" ... Why good: One question at a time, builds understanding progressively </Good>

<Bad> User: "deep-interview build a REST API for POST /users with body {name, email}" Why bad: Requirements are already specific - no interview needed </Bad> </Examples>

<Anti_Pattern>

AVOID THIS

❌ DO NOT output all questions at once:

Round 1: Scope
1. What is the primary goal?
2. Who are the end users?
3. What does success look like?

Round 2: Technical
1. Tech stack?
2. Database preferences?
...

This overwhelms the user and prevents clarification.

INSTEAD DO THIS

✅ Ask one, wait, ask next:

❯ What is the primary goal of this feature?

> user responds

❯ Who will be using it?

> user responds

❯ Any tech stack preferences?

> user responds
...

</Anti_Pattern>

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.