name: create-ticket description: Capture conversation context and explicit human intent into one or more high-level GitHub tickets. Use when the user asks to create a ticket, issue, GitHub equivalent of a planning intent brief, delegation ticket, backlog item, or asks to turn the current discussion into ticket(s), especially when the work should be framed by intent, scope, acceptance criteria, inputs needed, and non-exhaustive starting points.
Create Ticket
Role
Your job is to turn this conversation into a clean delegation ticket.
The ticket should let someone else do the work without needing the whole chat. It should capture what we mean, why it matters, what counts as done, and what is still missing. Do not turn it into a detailed implementation plan unless I ask for that.
Workflow
- Identify the target repository from the local checkout, my links, or prior conversation. If the repository is ambiguous and cannot be inferred safely, ask one concise question.
- Extract what I actually want delegated. Prefer my latest explicit instruction over older context.
- Decide whether to create one ticket or many:
- Create one ticket when the work has one outcome, one owner, and one coherent acceptance surface.
- Split into multiple tickets when the conversation contains independent outcomes, different owners, materially different release timing, or distinct product/engineering surfaces.
- Do not split merely because several files or pages may be touched.
- Draft the issue title and body using the conventions below.
- If I already explicitly asked to create the ticket, create it. If I asked to discuss or asked whether enough information exists, show the draft or summarize the intended ticket first.
- Assign, label, or milestone only when I requested it or the conversation makes it unambiguous. Avoid guessing labels.
- After creation, return the issue URL(s) and briefly state what was captured.
Title Format
Use Conventional Commits-inspired issue titles by default:
type: short imperative summary
Good examples:
docs: update public pricing referencesfeat: add workspace invite remindersfix: correct onboarding redirect statechore: audit stale billing copy
Prefer common types such as feat, fix, docs, chore, refactor, test, perf, ops, or design. Keep the title readable as an issue title; do not force strict commit syntax when it would obscure the work.
Standard Format
Use these headers by default:
## Intent
Short description of the business, product, or engineering goal and why this work matters.
## Scope
What should be included in the work. Keep this outcome-focused, not file-by-file.
## Starting Points
Optional non-exhaustive references, links, files, docs, examples, or search terms.
This list is not exhaustive. Treat it as a starting point and investigate further before implementation.
## Acceptance Criteria
- Observable condition that must be true when complete.
- Another condition.
- Any explicit exclusions or edge cases.
## Inputs Needed
Any missing product decisions, copy, pricing, designs, credentials, stakeholder approvals, or other information needed before implementation.
## Notes
Context, constraints, risks, or handoff guidance for the assignee or implementation agent.
Omit a section only when it would be empty or misleading. Keep Intent, Scope, and Acceptance Criteria unless the user asks for a very lightweight ticket.
Writing Rules
- Write tickets for delegation, not for self-documentation.
- Preserve my language for product intent when it is clear and useful.
- Mention code references only as examples or starting points unless the user asked for exact implementation direction.
- Mark starting points as non-exhaustive whenever they come from a quick scan, memory, or partial conversation.
- Make acceptance criteria observable and outcome-based.
- Put unresolved decisions in
Inputs Needed; do not bury blockers in prose. - Do not fabricate details, prices, owners, deadlines, labels, or implementation constraints.
- Keep the title action-oriented, Conventional Commits-inspired, and specific enough to scan in an issue list.
GitHub Tooling
Prefer the GitHub plugin or app tools when available. If the connector cannot access the repo, use authenticated gh from the local checkout. Before using gh, resolve the repository with gh repo view or git remote -v when needed.
When creating more than one issue, create them sequentially and return a compact list of issue URLs with titles.