commit-changes

от tldraw

Создать git-коммит для текущих изменений. Используйте, когда вас просят закоммитить изменения, сделать коммит, сгенерировать сообщение коммита или закоммитить текущее рабочее дерево с…

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.

Больше skills от tldraw

review-docs
tldraw
Проверка и улучшение документации с параллельной оценкой и итеративным циклом улучшений.
official
clean-copy
tldraw
Пересоздать текущую ветку в новой ветке с чистой, повествовательной историей git-коммитов. Использовать, когда требуется создать чистую копию ветки, очистить историю коммитов…
official
dotcom-release-crew
tldraw
Опубликовать в
official
dotcom-release-marketing
tldraw
Опубликуйте краткое описание на простом языке о том, что выходит в еженедельном релизе tldraw.com (dotcom), в Discord-канале маркетинговой команды. Используйте при подготовке…
official
issue
tldraw
Создать и исследовать issue на GitHub в репозитории tldraw на основе описания пользователя. Используется, когда пользователь упоминает issue, просит создать issue, сообщить об ошибке,…
official
pr
tldraw
Создать или обновить pull request для текущей ветки в репозитории tldraw. Используется, когда пользователь вызывает pr, просит создать PR, обновить существующий PR, запушить…
official
pr-walkthrough
tldraw
Создайте видеообзор пул-реквеста с голосовым сопровождением и слайдами кода. Используйте, когда требуется создать обзор PR, видео PR или обзор…
official
shepherd-pr
tldraw
shepherd-pr — устанавливаемый навык для AI-агентов, опубликованный tldraw/tldraw.
official