Command Palette

Search for a command to run...

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

commit

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

Use when commiting changes

l-linот l-lin★ 17 звёзд на GitHub

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

Create a git commit for the current changes using a concise Conventional Commits-style subject.

Task

  • Analyze staged git changes to determine what was changed and why
  • Extract scope from the current branch name (e.g. ticket ID or component)
  • Select the correct conventional commit type (feat, fix, docs, etc.)
  • Write a commit message in the format: <type>(<scope>): <description>
  • Keep the description concise (≤50 chars), imperative, and lowercase
  • Add an optional body explaining what and why (if needed)
  • Add an optional footer for breaking changes or references
  • Ask for confirmation before executing the commit

Input Handling

Input: staged git changes, current branch name

  • If no changes are staged: prompt the user to stage changes first
  • If branch name lacks a clear scope: ask the user for clarification or use the main changed component
  • If changes span multiple types: pick the most significant or suggest splitting the commit

Instructions

  1. Run git status and git diff --staged to see staged changes
  2. Run git branch --show-current to get the branch name
  3. Analyze changes and branch to determine type and scope
  4. Generate a commit message following the conventional commit format
  5. Present the message and ask for confirmation
  6. If confirmed, run git commit -m "<message>"

Output Format

Structure your response as follows:

<type>(<scope>): <description>

[optional body]

[optional footer]
  • Description: ≤50 chars, imperative, no period
  • Body: what and why (if needed)
  • Footer: breaking changes or references

Conventional Commit Types

  • feat: new features
  • fix: bug fixes
  • docs: documentation
  • style: formatting, whitespace, etc.
  • refactor: code changes without behavior change
  • test: tests
  • chore: maintenance, dependencies
  • perf: performance
  • ci: CI/CD

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

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

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

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

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

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

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

FAQ

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

Use when commiting changes

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

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

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

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

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

Сравнить commit с