interview-openspec

Installation
SKILL.md

OpenSpec Interview

Phased Socratic interview that produces OpenSpec artifacts incrementally. Each phase maps to one artifact; user may exit after any phase.

Steps

  1. If $ARGUMENTS is empty, use AskUserQuestion to ask what to build. Derive kebab-case name.
  2. Run openspec new change "<name>" and openspec status --change "<name>" --json.
  3. Read resources/INTERVIEW_PRINCIPLES.md, resources/OPENSPEC_INTERVIEW_DIMENSIONS.md, and resources/BRAINSTORMING_INTEGRATION.md. If the user says "skip brainstorming", skip all new steps (2.5, 3.5, Phase 1.5).
    • Step 2.5 — Scope Decomposition Check: If 3+ independent subsystems detected, propose splitting into separate changes per the brainstorming protocol.
    • Step 3.5 — Visual Companion Offer: If the project involves UI/frontend work, offer the browser visual companion per the protocol (see resources/VISUAL_COMPANION.md and scripts/).
  4. Execute 4 interview phases. Each phase: ask via AskUserQuestion (2-4 convergent options), then write artifact. If user says "skip", advance with gathered info.
    • Phase 1 → proposal.md: Business goals, MVP scope, risk preview, capability identification.
    • Phase 1.5 → Approach Proposal [new]: After Phase 1 completes, propose 2-3 implementation approaches with tradeoffs per BRAINSTORMING_INTEGRATION.md. Selected approach is added to proposal.md's "What Changes" section.
    • Phase 2 → specs/<cap>/spec.md: Requirements per capability in WHEN/THEN scenarios (ADDED/MODIFIED/REMOVED).
    • Phase 3 → design.md: Technical decisions, architecture tradeoffs (Context/Goals/Non-Goals/Decisions). Enhanced: rejected approaches from Phase 1.5 are documented in an "Alternatives Considered" section.
    • Phase 4 → tasks.md: Implementation breakdown as hierarchical checkbox list.
  5. Use openspec instructions <artifact> --change "<name>" --json before writing each artifact. Fallback: resources/ARTIFACT_TEMPLATES.md.
  6. If high-risk operations detected, read resources/RISK_PROTECTION.md and get explicit authorization.
Related skills

More from bahayonghang/my-claude-code-settings

Installs
1
GitHub Stars
14
First Seen
Mar 15, 2026