issue

por tldraw

Crear e investigar un issue de GitHub en el repositorio de tldraw a partir de una descripción de usuario. Usar cuando el usuario invoque issue, pida crear un issue, reportar un error,…

npx skills add https://github.com/tldraw/tldraw --skill issue

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}.
  • The readback paragraph is the agent's understanding of the problem. It should be short enough for the user to quickly correct, but specific enough to make the intended behavior clear. Keep it product-facing: no code blocks, no long implementation analysis, and no line-by-line diagnosis.
  • Do not include implementation breadcrumbs in the issue body by default. Avoid file paths, function names, line numbers, code snippets, likely causes, and fix recipes unless the user explicitly asks to include them. Whoever picks up the work can rediscover that technical context.
  • Keep product intent ahead of code diagnosis. The issue should record what the user wants, what they observed, and what scope or behavior they confirmed. Do not present a root cause or fix direction as fact unless the user has confirmed that framing.
  • Each open question targets a specific gap in intent or context. Avoid questions you could answer yourself by looking at the code.
  • Keep questions atomic. Do not bundle user-intent questions with implementer-verifiable technical checks. If the user answers only part of a compound question, keep the remaining part open only when it still needs the user's intent or context.
  • Prefer omitting implementer-verifiable unknowns over asking the user to verify them. Ask only when the user's own context or intent matters.
  • Prefix a question with Critical: inside the bold, e.g. **Critical: Which package should we rename?**, only when it is genuinely blocking — the issue cannot be worked on at all until it is answered. Most issues have none; do not inflate ordinary gaps into critical ones.
  • As the user answers, replace _Awaiting answer._ with their answer (lightly cleaned up) directly beneath the question, revise the readback, and add or drop unanswered questions as needed.
  • If the user chooses not to answer a non-critical question, replace _Awaiting answer._ with _Deferred by user; not blocking implementation._. Do not use this for critical questions.
  • The confidence line is a plain-text status line, not a section. It reflects whether the issue contains enough of the user's context and intent to be worked on, not confidence in the eventual fix. Use a short status phrase such as ready to get started, still need more information, or blocked on a critical question.

Workflow

  1. Gather context:
    • User's issue description.
    • Current branch: git branch --show-current.
    • Recent issues: gh issue list --repo tldraw/tldraw --limit 5 --json number,title --jq '.[] | "#\(.number) \(.title)"'.
  2. Do a lightweight triage check, not implementation research:
    • Look for duplicate or closely related issues.
    • Use repo context only to choose issue type, labels, milestone, and broad affected area.
    • If a shallow code search is needed to avoid asking a bad question, do it, but do not add file paths, function names, line numbers, code snippets, likely causes, or fix recipes to the issue body.
    • Anything you can answer yourself from repo context should not become an open question.
  3. For visual bugs, identify a reproduction target when possible:
    • Examples app: localhost:5420 from yarn dev.
    • tldraw.com app: localhost:3000 from yarn dev-app.
    • Docs site: localhost:3001 from yarn dev-docs.
    • If the user provided an image and you have a path or URL for it, embed or attach it in the GitHub issue.
    • If the image is visible only in the chat and cannot be attached, describe it as visual context. Do not write "screenshot attached" unless the issue actually contains the image.
    • If screenshots are useful but not feasible locally and the user has not provided one, make a screenshot request one of your open questions.
  4. 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.
  5. 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:
    • Improve developer resources for examples, documentation, comments, starter kits, and npm create tldraw.
    • Improve automations for GitHub Actions, review bots, CI/CD, and automation work.
  2. Manage the More Info Needed label consistently:
    • Add it only when a critical question is unanswered or the confidence line says the issue still needs more information.
    • Remove it when the issue is ready to get started, even if non-blocking considerations remain.
  3. Respond to the user with the issue URL, your readback, and the list of open questions. Ask them directly, leading with any critical question.
  4. Interrogate the user. After each reply:
  • Update the issue body: write the user's answer beneath the relevant question, revise the readback, recompute the confidence status line, and add or drop questions as their answers reveal new gaps or close old ones.
  • Reconsider the issue's framing in light of the new context. If an answer changes what the issue actually is, update the title (gh issue edit --title), the issue type (the script from step 6), or its labels to match — for example, when a reported bug turns out to be a feature request, or the real problem is narrower than the title suggests.
  • If the user corrects your framing, especially with phrases like "actually" or "well actually," treat it as a signal to rewrite the readback around the corrected distinction. Remove or soften obsolete assumptions before asking more questions.
gh issue edit <issue-number> --repo tldraw/tldraw --body "..."
  • Keep going, one round at a time, until the readback and question answers hold enough of the user's intent and context to be worked on.
  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.
  • Low-priority questions the user has chosen to defer may stay open; readiness does not require answering them. Mark them as _Deferred by user; not blocking implementation._ rather than leaving _Awaiting answer._ placeholders.
  • When ready, remove the More Info Needed label, tell the user the issue can be picked up, and set the confidence line accordingly, e.g. Confidence: 84%, ready to get started. Leave the readback, every question, and the confidence line in the issue as a record of the discussion. Do not delete them.

Rules

  • Always create the issue before interrogating the user, so they can track it from the first reply.
  • Ask only questions that capture the user's intent or context. Do not offload work you could do yourself.
  • Update the issue after every reply rather than batching answers at the end.

Más skills de tldraw

write-example
tldraw
Escribir ejemplos para la aplicación de ejemplos del SDK de tldraw. Úsalo al crear nuevos ejemplos, agregar demostraciones del SDK o escribir código de ejemplo en apps/examples.
official
write-issue
tldraw
Estándares de referencia para escribir y mantener issues de GitHub en el repositorio tldraw. Úselo como guía de apoyo cuando otra habilidad o flujo de trabajo necesite un issue…
official
write-pr
tldraw
Estándares de referencia para redactar títulos y descripciones de pull requests en el repositorio de tldraw. Úsalo como guía de apoyo cuando otra habilidad o flujo de trabajo necesite…
official
write-release-notes
tldraw
Redacción de artículos de notas de versión para los lanzamientos del SDK de tldraw. Úsalo al crear nueva documentación de versiones, redactar notas de versión desde cero o revisar versiones…
official
write-tbp
tldraw
Escribir publicaciones técnicas de blog sobre las características y detalles de implementación de tldraw. Úsalo al crear contenido de blog sobre cómo tldraw resuelve problemas interesantes.
official
write-unit-tests
tldraw
Escribiendo pruebas unitarias y de integración para el SDK de tldraw. Úsalo al crear nuevas pruebas, agregar cobertura de pruebas o corregir pruebas fallidas en packages/editor o…
official
clean-copy
tldraw
Reimplementa la rama actual en una nueva rama con un historial de commits de git limpio y de calidad narrativa. Úsalo cuando se te pida hacer una rama de copia limpia, limpiar commits…
official
commit-changes
tldraw
Crear un commit de git para los cambios actuales. Usar cuando se pida hacer commit de cambios, crear un commit, generar un mensaje de commit, o hacer commit del árbol de trabajo actual con…
official