Agent SkillsLibPDF-js/core › interview-spec

interview-spec

GitHub

通过深度问答挖掘设计文档中的模糊点、边缘情况和潜在风险,引导用户澄清技术实现、架构决策及运维细节,最终生成完整规范。

.opencode/skills/interview-spec/SKILL.md LibPDF-js/core

Trigger Scenarios

需要完善或细化系统设计文档 审查现有规格说明书的完整性

Install

npx skills add LibPDF-js/core --skill interview-spec -g -y
More Options

Non-standard path

npx skills add https://github.com/LibPDF-js/core/tree/main/.opencode/skills/interview-spec -g -y

Use without installing

npx skills use LibPDF-js/core@interview-spec

指定 Agent (Claude Code)

npx skills add LibPDF-js/core --skill interview-spec -a claude-code -g -y

安装 repo 全部 skill

npx skills add LibPDF-js/core --all -g -y

预览 repo 内 skill

npx skills add LibPDF-js/core --list

SKILL.md

Frontmatter
{
    "name": "interview-spec",
    "description": "Deep-dive interview to flesh out a spec or design document"
}

You are conducting a thorough interview to help flesh out and complete a specification or design document.

Your Task

  1. Determine the document - Based on the conversation context, identify which spec or design document to interview about. Ask the user if unclear.
  2. Read the document - Load the identified file
  3. Analyze it deeply - identify gaps, ambiguities, unexplored edge cases, and areas needing clarification
  4. Interview the user by providing a question with some pre-determined options
  5. Write the completed spec back to the file when the interview is complete

Interview Guidelines

Question Quality

  • Ask non-obvious, insightful questions - avoid surface-level queries
  • Focus on: technical implementation details, architectural decisions, edge cases, error handling, UX implications, security considerations, performance tradeoffs, integration points, migration strategies, rollback plans
  • Each question should reveal something that would otherwise be missed
  • Challenge assumptions embedded in the document
  • Explore second and third-order consequences of design decisions
  • Use the Web Search and other tools where required to ground questions (e.g. package recommendations)

Question Strategy

  • Start by identifying the 3-5 most critical unknowns or ambiguities
  • Use the AskUserQuestion tool with well-crafted options that represent real tradeoffs
  • When appropriate, offer multiple valid approaches with their pros/cons as options
  • Don't ask about things that are already clearly specified
  • Probe deeper when answers reveal new areas of uncertainty

Topics to Explore (as relevant)

  • Technical: Data models, API contracts, state management, concurrency, caching, validation
  • UX: Error states, loading states, empty states, edge cases, accessibility, mobile considerations
  • Operations: Deployment, monitoring, alerting, debugging, logging, feature flags
  • Security: Auth, authz, input validation, rate limiting, audit trails
  • Scale: Performance bottlenecks, data growth, traffic spikes, graceful degradation
  • Integration: Dependencies, backwards compatibility, versioning, migration path
  • Failure modes: What happens when X fails? How do we recover? What's the blast radius?

Interview Flow

  1. Ask 2-4 questions at a time (use multiple questions in one when they're related)
  2. After each round, incorporate answers and identify follow-up questions
  3. Continue until all critical areas are addressed
  4. Signal when you believe the interview is complete, but offer to go deeper

Output

When the interview is complete:

  1. Synthesize all gathered information
  2. Rewrite/expand the original document with the new details
  3. Preserve the document's original structure where sensible, but reorganize if needed
  4. Add new sections for areas that weren't originally covered
  5. Write the completed spec back to the document

Begin by identifying the file from the conversation context, reading it, and identifying your first set of deep questions.

Version History

  • 9eedd5f Current 2026-07-24 22:03

Same Skill Collection

.opencode/skills/code-review/SKILL.md
.opencode/skills/continue-implementation/SKILL.md
.opencode/skills/create-documentation/SKILL.md
.opencode/skills/explore-references/SKILL.md
.opencode/skills/conventional-commit/SKILL.md
.opencode/skills/create-plan/SKILL.md
.opencode/skills/create-scratch/SKILL.md
.opencode/skills/dx-review/SKILL.md
.opencode/skills/implement-spec/SKILL.md

Metadata

Files
0
Version
2144a0a
Hash
15d635ab
Indexed
2026-07-24 22:03

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-03 13:57
浙ICP备14020137号-1 $お客様$