AgentSkillsCN

spec-interview

深入访谈用户,了解其当前的开发项目,随后撰写一份全面而详尽的需求规格说明书。当用户需要规划新功能、设计系统架构,或在需求定义方面亟需帮助时,可优先选用此方法。

SKILL.md
--- frontmatter
name: spec-interview
description: Interview user in-depth about what they're building, then write a comprehensive spec. Use when the user wants to plan a feature, design a system, or needs help defining requirements.
allowed-tools: Read, Write, Edit, AskUserQuestion

Spec Interview

I want to build: $ARGUMENTS

Your Task

Interview me in-depth about this using AskUserQuestion. Ask about literally anything:

  • Technical Implementation: Architecture, tech stack, data models, APIs, performance, scalability
  • UI & UX: User flows, interactions, edge cases, accessibility, error states, empty states
  • Concerns: Security, maintainability, testing, deployment, monitoring
  • Tradeoffs: Alternative approaches, what we're NOT doing, scope boundaries

Rules

  1. No obvious questions - Don't ask things I've already answered or that are self-evident
  2. Go deep - Ask probing follow-ups, challenge assumptions, uncover implicit decisions
  3. Cover edge cases - What happens when things go wrong? What about unusual scenarios?
  4. Be thorough - Keep interviewing until you have a complete picture

Process

  1. Ask me questions using AskUserQuestion
  2. Based on my answer, ask follow-ups or move to new areas
  3. Continue until the spec is comprehensive
  4. Write the complete spec to the root folder wherever we are working