commit-changes

por 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…

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

Commit changes

Create a focused git commit for the current changes.

Workflow

  1. Gather context:
    • User notes, if provided.
    • Current branch: git branch --show-current.
    • Working tree: git status --short.
    • Staged changes: git diff --cached --stat.
    • Unstaged changes: git diff --stat.
    • Recent commits for style reference: git log -5 --oneline.
  2. Review the changed files.
  3. If there are no changes to commit, tell the user and stop.
  4. If there are unstaged changes, stage the relevant files with git add.
  5. Do not stage files that look like secrets, credentials, API keys, or private environment files.
  6. Write a conventional commit message:
type(scope): brief description

Optional longer explanation if the changes are complex.

Allowed types: feat, fix, refactor, test, docs, chore, perf, style, build, ci.

Message guidelines

  • Keep the first line under 72 characters.
  • Use imperative mood, for example add feature, not added feature.
  • Be specific about what changed and why.
  • Incorporate user-provided context when it clarifies intent.

Commit rules

  • Use git commit -m "message".
  • Do not push.
  • Do not amend unless explicitly requested.
  • Do not use --no-verify.
  • Do not include AI attribution.

If the commit fails because of hooks, fix mechanical formatting, lint, or import issues and retry. If the hook failure reveals a meaningful product or implementation issue, stop and ask the user how to proceed.

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
issue
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,…
official