pr

por tldraw

Crear o actualizar una solicitud de extracción para la rama actual en el repositorio de tldraw. Usar cuando el usuario invoque pr, solicite crear un PR, actualizar un PR existente, hacer push…

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.

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