/ticket — Create GitHub Issue via Interview
Create a gold-standard GitHub issue through a structured codebase-aware interview. Explores first, asks batched questions, previews, then creates.
Phases
| # | Phase | What happens |
|---|---|---|
| 1 | Explore | Detect repo, search for relevant files and patterns, assess complexity |
| 2 | Interview | Ask questions in 3 batches (core → requirements → testing/edge cases) |
| 3 | Preview | Present full issue draft for review — STOP for approval |
| 4 | Create | Run gh issue create with formatted output |
Key Constraints
- MUST explore the codebase before asking questions
- MUST batch questions — never ask one at a time
- MUST show issue preview before creating
- MUST stop at preview gate and wait for user approval
- Use sequential-thinking MCP for complex or ambiguous scope
- Pairs with
/issue— use/ticketto create,/issueto plan implementation
Full Workflow
For complete phase-by-phase instructions, question batch format, issue template, and gh CLI commands, see references/workflow.md.