Command Palette

Search for a command to run...

Назад к скиллам
скилл № 77690

git-commit

Write conventional commit messages from staged diff context. Use when the user asks to commit or mentions git commit message.

БесплатноБез исполняемых скриптов
HenriGrimmот HenriGrimm★ 25 звёзд на GitHub

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

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

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

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

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

Git commit helper

When to use

  • User asks for a commit message, /git-commit, or "commit these changes"
  • Before committing, always inspect the actual staged diff

Steps

  1. Run git_status — confirm what is staged vs unstaged.
  2. Run git_diff with staged: true (or equivalent args) — read the real patch.
  3. If nothing is staged, tell the user to stage files with git_add first; do not invent a message for unstaged work.
  4. Draft a conventional commit subject (≤72 chars) and optional body:
    • Types: feat, fix, docs, style, refactor, test, chore, perf, build, ci
    • Subject: imperative mood, no trailing period
    • Scope: primary module or area (e.g. git, ui, api)
    • Body: explain why — motivation, user impact, trade-offs — not a file list
  5. If the user asked you to commit, run git_commit with the agreed message only after explicit approval unless they already said "commit it".

Gitmoji (when team uses them)

Prefix the subject with one emoji when the project convention calls for it. Use the Unicode character (✨), never a colon shortcode (:sparkles:):

Emoji Type
✨ feat
🐛 fix
📝 docs
💄 style
♻️ refactor
✅ test
🔧 chore
⚡ perf
👷 build
🎨 ui

Example: ✨ feat(git): add AI commit message generator

Quality checks

  • Message matches only the staged diff scope (ignore unstaged paths)
  • Body explains why, not what files changed
  • No secrets, .env, or credentials in committed files — warn if diff shows them
  • Breaking changes called out in body with BREAKING CHANGE: description
  • Use git_log for recent message style reference when unsure

Tools

git_status, git_diff, git_add, git_commit, git_log (for style reference)

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

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

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

FAQ

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

Write conventional commit messages from staged diff context. Use when the user asks to commit or mentions git commit message.

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

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

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

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

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

Сравнить git-commit с