interview-framework
Adaptive brainstorming-style dialogue for all spec phases (Understand, Propose Approaches, Confirm & Store)
Best use case
interview-framework is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Adaptive brainstorming-style dialogue for all spec phases (Understand, Propose Approaches, Confirm & Store)
Teams using interview-framework should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/interview-framework/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How interview-framework Compares
| Feature / Agent | interview-framework | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Adaptive brainstorming-style dialogue for all spec phases (Understand, Propose Approaches, Confirm & Store)
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Interview Framework
Adaptive brainstorming dialogue algorithm for all spec phases. Each phase command references this skill and provides its own **exploration territory** (phase-specific areas to probe).
## Option Limit Rule
Each question MUST have 2-4 options (max 4). Keep the most relevant options, combine similar ones.
## Intent-Based Depth Scaling
Read `.progress.md` for intent classification. Scale dialogue depth accordingly:
| Intent | Questions |
|--------|-----------|
| TRIVIAL | 1-2 |
| REFACTOR | 3-5 |
| MID_SIZED | 3-7 |
| GREENFIELD | 5-10 |
## Completion Signal Detection
After each response, check if user wants to end early:
```text
completionSignals = ["done", "proceed", "skip", "enough", "that's all", "continue", "next"]
if askedCount >= minRequired:
for signal in completionSignals:
if signal in userResponse.lower():
-> SKIP remaining questions, move to PROPOSE APPROACHES
```
## 3-Phase Algorithm
### Phase 1: UNDERSTAND (Adaptive Dialogue)
```text
UNDERSTAND:
1. Read all available context:
- .progress.md (prior phase answers, intent, goal)
- Prior artifacts (research.md, requirements.md, etc.)
- Original goal text
2. Read the exploration territory provided by the calling command
3. Identify what is UNKNOWN vs what is already decided
- If prior phases already covered a topic, SKIP it
- Only ask about what still needs clarification
4. Set depth from intent:
- minRequired = intent.minQuestions
- maxAllowed = intent.maxQuestions
5. askedCount = 0
WHILE askedCount < maxAllowed:
|
+-- Generate next question from context + exploration territory
| (Questions emerge from what you've learned so far, NOT from a fixed pool)
|
+-- Context-based skip check:
| Read .progress.md holistically. If this topic was already
| answered in a prior phase, SKIP it. Log: "Already covered: [topic]"
|
+-- Ask single question:
| AskUserQuestion:
| question: "[Context-aware question referencing prior answers]"
| options:
| - "[Option 1]"
| - "[Option 2]"
| - "[Option 3 if needed]"
| - "Other"
|
+-- askedCount++
|
+-- If user selected "Other":
| -> Ask context-specific follow-up (see Adaptive Depth below)
| -> DO NOT increment askedCount for follow-ups
|
+-- Check completion signals (see above)
|
+-- Decide: ask another question or move to PROPOSE APPROACHES
| (If you have enough context to propose meaningful approaches, move on)
```
**Key rules for question generation:**
- Each question builds on prior answers in THIS dialogue AND prior phases
- Reference specific things the user said ("You mentioned X — does that mean...")
- Never ask something .progress.md already answers
- Never ask generic questions — every question must be grounded in the user's context
### Phase 2: PROPOSE APPROACHES
```text
PROPOSE APPROACHES:
1. Synthesize the dialogue into 2-3 distinct approaches
2. Each approach MUST include:
- Name (short label)
- Description (1-2 sentences)
- Trade-offs (pros and cons)
3. Lead with your recommendation
4. Present via AskUserQuestion:
AskUserQuestion:
question: "Based on our discussion, here are the approaches I see:
**A) [Recommended] [Name]**
[Description]. Trade-off: [pro] vs [con].
**B) [Name]**
[Description]. Trade-off: [pro] vs [con].
**C) [Name]** (if applicable)
[Description]. Trade-off: [pro] vs [con].
Which approach fits best?"
options:
- "A) [Name]"
- "B) [Name]"
- "C) [Name]" (if applicable)
- "Other"
5. If user picks "Other":
-> Ask what they'd change or combine
-> Iterate until approach is confirmed (max 3 rounds)
6. Store chosen approach as primary input for the subagent
```
**Approach rules:**
- Always present at least 2 approaches (never just 1)
- Maximum 3 approaches (more causes decision fatigue)
- The recommended approach goes first
- Trade-offs must be honest — no straw-man alternatives
- Apply YAGNI: strip unnecessary complexity from all approaches
### Phase 3: CONFIRM & STORE
```text
CONFIRM & STORE:
1. Brief recap to the user:
"Here's what I'll pass to the [agent name]:
- [Key decision 1]
- [Key decision 2]
- [Chosen approach summary]
Does this look right?"
2. If user corrects something, update before storing
3. Store in .progress.md (see Context Accumulator below)
4. Proceed to subagent delegation
```
## Adaptive Depth (Other Responses)
If user selects "Other" for any question:
1. Ask a **context-specific** follow-up (NEVER generic "elaborate")
2. Continue until clarity is reached or 5 rounds complete
3. Each follow-up uses a single question focused on their response
**Follow-up questions MUST be context-specific, not generic.** When user provides an "Other" response:
1. **Acknowledge the specific response**: Reference what the user actually typed
2. **Ask a probing question based on response content**: Analyze keywords in their response
3. **Include context from prior answers**: Reference earlier responses to create continuity
**Do NOT use generic follow-ups like "Can you elaborate?" — always tailor to their specific response.**
Example — if user types "We need GraphQL support" for a technical approach question:
```yaml
AskUserQuestion:
question: "You mentioned needing GraphQL support. Is this for the entire API layer, or specific endpoints only?"
options:
- "Full API layer - replace REST"
- "Hybrid - GraphQL for new endpoints only"
- "Specific queries for mobile clients"
- "Other"
```
Example — if user types "Security is critical" for success criteria:
```yaml
AskUserQuestion:
question: "You emphasized security is critical. Given your earlier constraints, which security aspects matter most?"
options:
- "Authentication and authorization"
- "Data encryption at rest and in transit"
- "Audit logging and compliance"
- "Other"
```
## Context Accumulator Pattern
After each interview, update `.progress.md`:
1. Read existing .progress.md content
2. Append new section under "## Interview Responses"
3. Use descriptive keys that reflect what was actually discussed
4. Include the chosen approach
### Storage Format
```text
### [Phase] Interview (from [phase].md)
- [Topic 1]: [response]
- [Topic 2]: [response]
- Chosen approach: [name] — [brief description]
[Any follow-up responses from "Other" selections]
```Related Skills
metasploit-framework
This skill should be used when the user asks to "use Metasploit for penetration testing", "exploit vulnerabilities with msfconsole", "create payloads with msfvenom", "perform post-exp...
language-framework-specialist
提供特定编程语言和框架的深度专业知识。当需要处理特定技术栈的复杂问题时使用
interview-skills
Frameworks for technical interviews and salary negotiation. Use for behavioral interview prep (STAR method), technical interview communication, offer evaluation, and compensation negotiation strategies.
framework
Display Claude Code Optimization Framework status and available configurations. Shows all DSL shortcuts, loaded configs, and project detection.
framework-to-capacitor
Guide for integrating modern web frameworks with Capacitor. Covers Next.js static export, React, Vue, Angular, Svelte, and others. Use this skill when converting framework apps to mobile apps with Capacitor.
framework-migration-legacy-modernize
Orchestrate a comprehensive legacy system modernization using the strangler fig pattern, enabling gradual replacement of outdated components while maintaining continuous business operations through ex
framework-learning
Learn and answer questions from any framework documentstion website quickly and accurately. Crawls a docs site from a seed URL, builds a lightweight URL index (titles/headings/snippets), BM25-ranks pages for a user's question, then fetehces and converts only the top-k pages to clean markdown for grounded answers with source links. Use when a user shares a docs URL and asks "how do I..", "where is..", "explain..", "OAuth/auth", "errors", "configuration" or "API usage"
framework-expert
Unified framework expertise bundle. Lazy-loads relevant framework patterns (React, Vue, Angular, Next.js, Node.js, Python, Laravel, Go, Flutter, Godot) based on detected tech stack.
framework-consciousness
Meta-orchestration skill for holistic TNF system understanding and coordinated capability use.
expo-framework-rule
Expo Framework-specific guidelines. Includes best practices for Views, Blueprints, and Extensions.
errantry-framework
Mythological framework mapping Diane Duane's Young Wizards magic system to AI architecture patterns. Use when designing agent workflows or multi-agent systems, explaining AI concepts through accessible metaphor, debugging agent behavior ("what went wrong in the spell"), establishing alignment principles for new projects, or framing constraints for autonomous systems. Provides shared vocabulary, ethical guardrails as binding commitments, and heuristics for recognizing entropic patterns (drift, collapse, misalignment).
dotnet-framework
Guidance for working with .NET Framework projects. Includes project structure, C# language version, NuGet management, and best practices. Triggers on: **/*.csproj, **/*.cs