一键导入
deep-interview
Structured interview workflow for requirements gathering before coding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Structured interview workflow for requirements gathering before coding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
RESTful API design patterns, endpoint naming, versioning, and error handling
Generates user-facing changelogs from git commits using conventional commit format
Docker build optimization, multi-stage builds, and deployment workflows
Reviews Go code for idioms, error handling, concurrency, and performance patterns
Auto-generate hierarchical AGENTS.md files at key directory levels
Structured planning discipline with self-critique before execution
| name | deep-interview |
| description | Structured interview workflow for requirements gathering before coding |
| version | 1.0.0 |
| author | graycode |
| license | MIT |
| category | workflow |
| tags | ["requirements","interview","planning","specification","clarification"] |
| allowed-tools | Read Grep Glob Bash |
A structured Socratic questioning workflow that gathers requirements before implementation begins. Prevents wasted effort from building the wrong thing.
Read the relevant code, configs, and documentation to understand the current state.
1. Identify the affected files and modules
2. Read existing tests to understand expected behavior
3. Check git history for recent related changes
4. Review any existing specs or ADRs
Ask targeted questions to clarify intent. Group questions by concern:
Goal questions:
Scope questions:
Constraint questions:
Synthesize answers into explicit constraints:
## Constraints
- MUST: [hard requirements from stakeholder answers]
- SHOULD: [strong preferences, deviate only with justification]
- MUST NOT: [explicit non-goals and boundaries]
- ASSUMPTIONS: [things we're taking as given, verify if wrong]
Present a concise scope summary for confirmation:
## Proposed Scope
**Goal:** [one sentence]
**Changes:** [list of files/modules affected]
**Out of scope:** [explicit exclusions]
**Risks:** [identified risks and mitigations]
**Estimated effort:** [rough sizing]
Ask: "Does this match your intent? Anything to add or remove?"
Generate a machine-readable spec that can guide implementation:
## Acceptance Criteria
- [ ] Criterion 1: [testable statement]
- [ ] Criterion 2: [testable statement]
## Technical Approach
- Implementation strategy in 2-3 sentences
- Key interfaces or types to create/modify
- Test strategy (what to test, what to mock)
## Dependencies
- External packages or APIs needed
- Internal modules affected
- Ordering constraints
When the user says "optimize this":
When the user says "add X":
When the user says "fix Y":
Before proceeding to implementation, confirm: