| name | create-ticket |
| description | Use when the user wants to create a Linear ticket, issue, user story, or task - interviews the user adaptively, formats as a user story with test plan, and creates it via Linear MCP after confirmation |
Create Linear Ticket
Overview
Interview the user to understand their request, then create a well-structured Linear ticket as a user story with acceptance criteria and a test plan. Tickets follow TDD: they're only Done when all tests pass.
Key principle: A ticket documents the what (the problem) and how to verify (the test plan), never the how to fix. Root cause analysis, code investigation, and solution design belong to the implementation phase when someone picks up the ticket. Code changes between ticket creation and implementation, so any fix proposed at creation time risks being stale or misleading. Do NOT explore the codebase, search for root causes, or propose solutions during ticket creation.
Process
Phase 1: Understand the Request
Start by asking what the user wants to build or fix. Use AskUserQuestion to gather information adaptively:
Always ask first:
- What's the problem or request? (open-ended, let them describe it)
Then adapt based on complexity:
For simple/clear requests, propose sensible defaults and move to confirmation.
For complex/ambiguous requests, follow up with:
- Who is affected? (user role for the story)
- What's the expected behavior vs current behavior?
- Any technical constraints or preferences?
- Priority: Urgent, High, Normal, or Low?
- Area labels: Bug, Feature, Improvement + component labels (Agent, Frontend, Tools)
Guidelines:
- Ask 1-3 questions at a time, not a wall of questions
- If the user gave a detailed description upfront, don't re-ask what they already told you