pr

von tldraw

Erstelle oder aktualisiere einen Pull-Request für den aktuellen Branch im tldraw-Repository. Verwende, wenn der Benutzer pr aufruft, darum bittet, einen PR zu erstellen, einen bestehenden PR zu aktualisieren, zu pushen…

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

PR

Create or update a pull request for the current branch.

Use ../write-pr/SKILL.md as the standards reference for PR titles, descriptions, release notes, API changes, code changes tables, and human-note preservation.

Workflow

  1. Gather context:
    • Current branch: git branch --show-current
    • Working tree: git status --short
    • Existing PR: gh pr view --json number,title,url 2>/dev/null
    • Recent branch commits: git log main..HEAD --oneline 2>/dev/null || git log -3 --oneline
  2. Prepare the branch:
    • If on main, create a new branch with a descriptive name.
    • Commit relevant changes, excluding secrets and explicitly private content.
    • Push the branch to the remote. Never force push.
  3. If no PR exists, create one with gh pr create.
  4. If a PR exists, read it with gh pr view --json title,body,labels,number and inspect the changed-file summary with gh pr diff --stat.
  5. Update the title or body with gh pr edit if the existing PR does not match the current diff or the write-pr standards.
  6. Search for related issues and link them in the PR description with Closes #123 or Relates to #123 where appropriate.
  7. Share the PR URL with the user.

Handling problems

Committing automatically runs hooks. Fix formatting, lint, type, or import issues when the fix is mechanical.

If a hook failure requires meaningful product or implementation decisions, stop and ask the user how to proceed.

Never force commit or force push.

Rules

  • Follow ../write-pr/SKILL.md for all PR content standards.
  • Do not include AI attribution in commit messages, PR titles, or PR descriptions.
  • Do not add yourself or an AI tool as a co-author.

Mehr Skills von tldraw

write-example
tldraw
Schreibt Beispiele für die tldraw SDK-Beispiele-App. Verwenden Sie dies beim Erstellen neuer Beispiele, Hinzufügen von SDK-Demonstrationen oder Schreiben von Beispielcode in apps/examples.
official
write-issue
tldraw
Referenzstandards zum Schreiben und Pflegen von GitHub Issues im tldraw-Repository. Als unterstützende Anleitung verwenden, wenn eine andere Fähigkeit oder ein Workflow ein Issue benötigt…
official
write-pr
tldraw
Referenzstandards für das Verfassen von Pull-Request-Titeln und -Beschreibungen im tldraw-Repository. Verwenden Sie dies als unterstützende Anleitung, wenn eine andere Fähigkeit oder ein anderer Workflow dies benötigt…
official
write-release-notes
tldraw
Schreiben von Release-Notes-Artikeln für tldraw SDK-Veröffentlichungen. Verwenden beim Erstellen neuer Release-Dokumentation, beim Verfassen von Release-Notes von Grund auf oder beim Überprüfen von Release…
official
write-tbp
tldraw
Schreiben technischer Blogbeiträge über tldraw-Funktionen und Implementierungsdetails. Verwenden Sie dies, wenn Sie Blog-Inhalte darüber erstellen, wie tldraw interessante Probleme löst.
official
write-unit-tests
tldraw
Schreibt Unit- und Integrationstests für das tldraw SDK. Verwenden Sie dies beim Erstellen neuer Tests, Hinzufügen von Testabdeckung oder Beheben fehlgeschlagener Tests in packages/editor oder…
official
clean-copy
tldraw
Erstelle den aktuellen Branch auf einem neuen Branch mit einer sauberen, erzählerisch hochwertigen Git-Commit-Historie neu. Verwende, wenn du aufgefordert wirst, einen sauberen Kopie-Branch zu erstellen, Commits zu bereinigen …
official
commit-changes
tldraw
Erstelle einen Git-Commit für die aktuellen Änderungen. Verwende, wenn aufgefordert, Änderungen zu committen, einen Commit zu erstellen, eine Commit-Nachricht zu generieren oder den aktuellen Arbeitsbaum mit… zu committen.
official