skills/deep-interview/SKILL.md
Socratic deep interview with mathematical ambiguity scoring before planning and execution
npx skillsauth add sartoris-digital/pi-superpowers deep-interviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Socratic questioning with mathematical ambiguity scoring. Replaces vague ideas with crystal-clear specifications by asking targeted questions that expose hidden assumptions, measuring clarity across weighted dimensions, and refusing to proceed until ambiguity drops below 20%.
brainstorming instead)scout (fast tier) to check if cwd has existing source codesubagent({
agent: "scout",
tier: "fast",
task: "Check if the current directory is a brownfield project (existing source code, package files, git history) or greenfield (empty/new). Report: project type, key technologies found, relevant file structure."
})
scout again to map relevant codebase areasStarting deep interview. I'll ask targeted questions one at a time to understand your idea thoroughly. After each answer, I'll show your clarity score. We proceed when ambiguity drops below 20%.
Your idea: "{idea}" Project type: {greenfield|brownfield} Current ambiguity: 100%
Repeat until ambiguity ≤ 0.2, user exits early, or round 20 hard cap.
Target the dimension with the LOWEST clarity score. Questions should expose ASSUMPTIONS, not gather feature lists.
| Dimension | Question Style | Example | |-----------|---------------|---------| | Goal Clarity | "What exactly happens when...?" | "When you say 'manage tasks', what specific action does a user take first?" | | Constraint Clarity | "What are the boundaries?" | "Should this work offline, or is internet assumed?" | | Success Criteria | "How do we know it works?" | "If I showed you the finished product, what would make you say 'yes, that's it'?" | | Context Clarity (brownfield) | "How does this fit?" | "The existing auth uses JWT. Should we extend that or add a separate flow?" |
Present one question at a time with context:
Round {N} | Targeting: {weakest_dimension} | Ambiguity: {score}%
{question}
After receiving the answer, score clarity across all dimensions (0.0 to 1.0 each):
For each dimension: score (0.0-1.0), justification (one sentence), gap (what's still unclear).
Calculate ambiguity:
ambiguity = 1 - (goal × 0.40 + constraints × 0.30 + criteria × 0.30)ambiguity = 1 - (goal × 0.35 + constraints × 0.25 + criteria × 0.25 + context × 0.15)Round {N} complete.
| Dimension | Score | Weight | Weighted | Gap |
|-----------|-------|--------|----------|-----|
| Goal | {s} | {w} | {s×w} | {gap or "Clear"} |
| Constraints | {s} | {w} | {s×w} | {gap or "Clear"} |
| Success Criteria | {s} | {w} | {s×w} | {gap or "Clear"} |
| Context (brownfield) | {s} | {w} | {s×w} | {gap or "Clear"} |
| **Ambiguity** | | | **{score}%** | |
At specific round thresholds, shift the questioning perspective (each used once):
| Mode | Activates | Purpose | Approach | |------|-----------|---------|----------| | Contrarian | Round 4+ | Challenge assumptions | "What if the opposite were true?" | | Simplifier | Round 6+ | Remove complexity | "What's the simplest version that's still valuable?" | | Ontologist | Round 8+ (if ambiguity > 30%) | Find essence | "What IS this, really?" |
When ambiguity ≤ 20% (or hard cap / early exit):
Write the specification to docs/superpowers/specs/deep-interview-{slug}.md:
# Deep Interview Spec: {title}
## Metadata
- Rounds: {count}
- Final Ambiguity: {score}%
- Type: greenfield | brownfield
## Goal
{crystal-clear goal statement}
## Constraints
- {constraint 1}
- {constraint 2}
## Non-Goals
- {explicitly excluded scope}
## Acceptance Criteria
- [ ] {testable criterion 1}
- [ ] {testable criterion 2}
## Assumptions Exposed & Resolved
| Assumption | Challenge | Resolution |
|------------|-----------|------------|
| {assumption} | {how questioned} | {decision} |
## Technical Context
{brownfield: codebase findings | greenfield: technology choices}
## Interview Transcript
<details>
<summary>Full Q&A ({N} rounds)</summary>
### Round 1
**Q:** {question}
**A:** {answer}
**Ambiguity:** {score}%
</details>
After the spec is written, present the spec path and hand off to the writing-plans skill to create a detailed implementation plan.
Spec written to
docs/superpowers/specs/deep-interview-{slug}.mdwith {score}% ambiguity. Invoking writing-plans to create an implementation plan.
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions