/idd:intent-interviewfrom idd
Transforms vague feature/product ideas into implementation-ready specifications through structured two-phase interviewing. Phase A collects design decisions into decisions.md; Phase B composes INTENT.md under budget constraints. Use when a user describes a new idea, has a problem to solve, or needs documented requirements.
Ships in idd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A structured methodology for extracting, refining, and documenting product/feature requirements through deep interviewing.
Phase A: Questioning (default)
→ Output: decisions.md (questions + user decisions)
→ Does NOT touch INTENT.md
Phase B: Compose (explicit user request)
→ Input: decisions.md
→ Output: INTENT.md (under budget constraints)
→ Checks anchor relevance + size budget
Why two phases? Interview tends to accrete — every answer becomes a new section. By separating questioning from composition, we prevent unbounded growth.
Collect all design decisions without writing any Intent structure. Output is a flat decisions.md file.
Questions to ask:
- What is the core problem?
- Who is the target user?
- Is this a new product or addition to existing?
- What's the priority/urgency?
Cover these dimensions systematically, 3-4 questions per round:
| Dimension | Key Questions |
|---|---|
| Data | Sources, contracts, validation, conflicts, authentication |
| Rendering | Cross-platform strategy, components, theming, sizing |
| Sync/Update | Real-time requirements, refresh strategy, failure handling |
| Architecture | Storage, sharing, cloud/local, offline capability |
| UX | Configuration flow, error states, feedback mechanisms |
| Edge Cases | Failures, migrations, security, low-end devices |
| Scope | MVP boundaries, what's in/out, phasing |
| Tech Stack | Languages, frameworks, existing code to reuse |
When answers conflict with earlier choices:
Before recording each decision, check against the anchor (if established).
If a question or answer drifts from the declared purpose:
⚠️ Scope guard: This may be out of scope for:
> "Enable type-safe binary communication between AFS nodes."
Record anyway? Or defer to a separate Intent?
The anchor is established early — ask "In one sentence, what is this module's reason to exist?" in round 1.
Before moving to Phase B, verify:
If gaps exist, continue questioning.
# Interview Decisions: {Project/Module Name}
> Anchor: {one sentence purpose}
## Decisions
### 1. {Topic}
- **Question**: {what was asked}
- **Decision**: {what was decided}
- **Rationale**: {why}
### 2. {Topic}
...
## Open Items
- {unresolved questions}
## Out of Scope
- {items deferred by scope guard}
Use AskUserQuestion tool with:
Only runs when user explicitly requests it (e.g., "compose the intent" or "generate INTENT.md").
Parse all decisions and the anchor statement.
Structure into standard Intent sections:
# {Module} Intent
> Anchor: {one sentence from decisions.md}
## Responsibilities
- {derived from decisions}
## Non-Goals
- {from "Out of Scope" + explicit exclusions}
## Structure
{architecture diagram}
## API
{interface definitions}
## Examples
{input → output}
For each section in the draft, verify:
⚠️ Section "## Caching Strategy" cannot be traced to anchor:
> "Enable type-safe binary communication between AFS nodes."
Options:
1. Remove this section
2. Move to a separate Intent
3. Keep (explain why it serves the anchor)
Count the lines of the draft and check against tiered budget:
| Lines | Status | Action |
|---|---|---|
| ≤ 300 | Healthy | Save |
| 300–500 | Warning | Prompt user to trim before saving |
| > 500 | Blocked | Must trim before saving |
If over budget:
⚠️ Budget warning: 437/300 lines (+137)
Sections by size:
1. ## API — 45 lines
2. ## Structure — 38 lines
3. ## Detailed Behavior — 35 lines
...
Suggestions to reduce:
- Merge "## Error Handling" into "## API" constraints
- Move "## Migration Guide" to a separate doc
- Simplify "## Structure" diagram
Present options to user via AskUserQuestion before saving.
Write the budget-compliant INTENT.md. Optionally generate overview.md if user requests.
Interview record with all questions, decisions, rationale, and scope boundaries.
Raw interview transcript saved to records/ for full traceability. Updates records/INDEX.md.
Technical specification under budget constraints, with anchor-verified sections.
One-page human summary:
# {Project}: One-line description
## One sentence explanation
## Why?
Problem in plain language
## Core experience
ASCII flow diagram
## Architecture
ASCII component diagram
## Key decisions
| Question | Choice | Why |
## Scope
In / Out
## Risk + Mitigation
## Next steps
User describes idea
↓
Phase A: Questioning
├── Round 1: Problem space + establish anchor
├── Round 2-N: Deep dive (with scope guard)
├── Resolve contradictions
└── Readiness check
↓
Save decisions.md
↓
User requests "compose" / "generate intent"
↓
Phase B: Compose
├── Draft from decisions
├── Anchor relevance check
├── Budget check
└── Save INTENT.md
↓
(Optional) Generate overview.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/intent-assessAssess if IDD fits your project and learn about Intent-Driven Development. Use /intent-assess to evaluate project suitability or /intent-assess --learn for IDD education./intent-build-nowStart implementation from Intent. Validates Intent completeness, then either delegates to TaskSwarm (if available) or executes TDD phases directly. Use when you have an Intent ready and want to start building./intent-changesManage structured change proposals for design documents with PR-like review experience. Use /intent-changes start <file> to begin, /intent-changes propose to suggest changes, /intent-changes accept/reject to decide, /intent-changes finalize to apply./intent-checkRun Intent validation and sync checks. Triggers intent-validate and intent-sync agents. Use /intent-check for full check, or /intent-check --validate/--sync for specific checks./intent-critiqueCritical review of Intent design quality. Checks for over-engineering, YAGNI violations, premature abstraction, and simplification opportunities. Uses interactive discussion to refine design decisions./intent-initInitialize IDD structure in a project. Checks existing state, creates directory structure, and generates templates. Use /intent-init to set up Intent-driven development in current project.npx claudepluginhub arcblock/idd --plugin iddOther plugins' skills for the same job