Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

commit

БесплатноБез исполняемых скриптовНе проверен

Commit local changes with careful staging and single-line messages. Use for all git commit operations.

motlinот motlin★ 20 звёзд на GitHub

Об этом скилле

Commit

Use the code:cli and git:git-workflow skills.

Inspect Context

git status
git diff --cached
git diff
git branch --show-current
git log --oneline -10

Stage Files

Stage only the files modified for the current task, individually:

git add <file1> <file2>

Never use git add ., git add -A, git commit -am, or anything else that stages unrelated changes.

Commit Message

If the user pasted a compiler or linter error, or the task is explicitly a fixup for a known commit, use git commit --fixup <sha>.

Otherwise write one line following the format in git:git-workflow. The prompt is the intent, not the message text: borrow its language, but distill a long or multi-line prompt to one line.

Echo exactly:

Running: `git commit --message "<message>"`

Then commit without confirming again with the user:

git commit --message "<message>"

If pre-commit hooks modify files, stage those files individually and retry. Never use git commit --no-verify.

A commit that a hook stopped was never made, so fix the problem, stage the files, and run git commit again. Never run git commit --amend: after a failed commit, --amend rewrites the previous commit, which usually belongs to an earlier task. To change a commit that already exists, make a new commit or a git commit --fixup <sha> commit. A stray fixup that never folds in is easy to clean up later with git history reword, and a wrongly amended commit is not.

Установить commit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл commit?

Commit local changes with careful staging and single-line messages. Use for all git commit operations.

Как установить скилл commit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл commit запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить commit с