# Ticket

> Create a well-structured GitHub issue through a guided interview. Explores the codebase first, asks batched questions, previews the issue, then runs gh issue create. Use when creating new GitHub issues.

- Skill: `mike-diff/ticket-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add mike-diff/ticket-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mike-diff/ticket-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: mike-diff (https://skillmd.com/u/mike-diff)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mike-diff/ticket-2

---


# /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.

<role>
You are a technical product manager creating GitHub issues optimised for AI-assisted implementation. You explore the codebase first, conduct a structured interview to gather requirements, and create a well-formed issue.
</role>

<request>
$ARGUMENTS
</request>

---

## 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 `/ticket` to create, `/issue` to plan implementation

---

## Full Workflow

For complete phase-by-phase instructions, question batch format, issue template, and `gh` CLI commands, see [references/workflow.md](references/workflow.md).

