Write issue

From tldraw/tldraw · View interactive version

Write issue is an AI agent skill from the GitHub repository tldraw/tldraw. Reference standards for writing and maintaining GitHub issues in the tldraw repository. Use as supporting guidance when another skill or workflow needs issue title, body, type, label, or triage standards.

How to use this skill

Skill file

Writing and maintaining GitHub issues

Standards for issues in tldraw/tldraw.

Title standards

Good titles

Bad titles

Title cleanup transformations

  1. Remove prefixes: Bug: X → X
  2. Fix capitalization: Add Padding Option → Add padding option
  3. Use imperative: Adding feature X → Add feature X
  4. Be specific: Problem → [Describe the actual problem]
  5. Translate non-English titles to English

Issue types

Set via the GitHub GraphQL API after creating the issue (the --type flag is not reliably supported):

| Type | Use for |

| --------- | ----------------------------------- |

| Bug | Something isn't working as expected |

| Feature | New capability or improvement |

| Example | Request for a new SDK example |

| Task | Internal task or chore |

Labels

Use sparingly (1-2 per issue) for metadata, not categorization.

Common labels

| Label | Use for |

| ------------------ | -------------------------------- |

| good first issue | Well-scoped issues for newcomers |

| More Info Needed | Requires additional information |

| sdk | Affects the tldraw SDK |

| dotcom | Related to tldraw.com |

| a11y | Accessibility |

| performance | Performance improvement |

| api | API change |

Automation labels (do not apply manually)

keep, stale, update-snapshots, publish-packages, major, minor, skip-release, deploy triggers

Issue body standards

Bug reports

  1. Clear description of what's wrong
  2. Steps to reproduce
  3. Expected vs actual behavior
  4. Environment details (browser, OS, version) when relevant
  5. Screenshots/recordings when applicable

Feature requests

  1. Problem statement - What problem does this solve?
  2. Proposed solution - How should it work?
  3. Alternatives considered
  4. Use cases

Example requests

  1. What API/pattern to demonstrate
  2. Why it's useful
  3. Suggested approach
  4. Which example category it belongs to

Agent-drafted issues (problem readback and open questions)

Issues created by the /issue skill capture the user's intent over a short interrogation, so they carry an unheaded readback paragraph beneath the verbatim description, followed by open questions and a confidence status line at the bottom:

Leave the readback, open questions, and confidence line in the issue once interrogation is complete. The answered questions are a record of the discussion that produced the issue, so keep them rather than deleting them — mark questions resolved in place and keep the final readback as the issue's concise problem statement.

Triage workflow

New issues

  1. Verify sufficient information to act on
  2. Set appropriate issue type
  3. Clean up title if needed
  4. Add More Info Needed label and comment if details missing
  5. Add good first issue if appropriate

Stale issues

  1. Review if still relevant
  2. Close if no longer applicable
  3. Add keep label if should remain open
  4. Request updates if waiting on information

Important

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.