Issue

From tldraw/tldraw · View interactive version

Issue is an AI agent skill from the GitHub repository tldraw/tldraw. Create a GitHub issue in the tldraw repository from a user description, then mature it through follow-up questions. Use when the user invokes issue, asks to create an issue, report a bug, file a feature request, or answers follow-up questions for an issue created by this skill.

How to use this skill

Skill file

Issue

Create a GitHub issue on tldraw/tldraw from a user description, then interrogate the user to capture enough of their intent for the issue to be worked on.

Use ../write-issue/SKILL.md as the standards reference for issue titles, bodies, types, labels, and triage conventions.

The goal is not to research the codebase to death. It is to capture the user's full intent and context in the issue, so that whoever (or whatever) picks it up later has what they need. You do this by creating the issue immediately, writing a brief readback of the problem, and then asking the user the questions that would sharpen that understanding.

Issue body shape

The body always starts with the user's original description, verbatim, annotated with the human emoji and separated from the rest by a horizontal rule:

🗣️: {user_description}

---

{two to five sentences that read back your understanding of the problem, expected behavior, and scope}

## Open questions

1. **{question}**
   _Awaiting answer._
2. **{question}**
   _Awaiting answer._

Confidence: {n}%, {ready_status}.

Workflow

  1. Gather context:
  1. Do a lightweight triage check, not implementation research:
  1. For visual bugs, identify a reproduction target when possible:
  1. Write the issue title and body using ../write-issue/SKILL.md. The body follows the shape above: verbatim description, readback paragraph, open questions, and the confidence status line.
  2. Create the issue:
gh issue create --repo tldraw/tldraw --title "..." --body "..."
  1. Set the issue type (Bug, Feature, Example, or Task) — gh issue create --type is unreliable, so use the script:
skills/issue/scripts/set-issue-type.sh <issue-number> <type-name>
  1. Assign a milestone only when there is a clear fit:
  1. Manage the More Info Needed label consistently:
  1. Respond to the user with the issue URL, your readback, and the list of open questions. Ask them directly, leading with any critical question.
  2. Interrogate the user. After each reply:
gh issue edit <issue-number> --repo tldraw/tldraw --body "..."
  1. The issue is ready when no critical question is unanswered and it holds enough of the user's intent to be worked on. Never declare it ready while a critical question is open, regardless of how complete the rest is.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.