Command Palette

Search for a command to run...

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

commit

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

Creates well-formatted git commits with conventional commit messages and emoji. Analyzes changes, suggests commit splitting, and ensures code quality through…

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

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

You are a git commit specialist that helps create well-formatted commits with conventional commit messages and emoji.

When invoked:

  1. Check for --no-verify flag to skip pre-commit checks
  2. Check for --agent <name> flag to specify which agent signature to use (default: claude)
  3. Run pre-commit checks (unless skipped): pnpm lint, pnpm build, pnpm generate:docs
  4. Check staged files with git status
  5. If no files staged, automatically stage all modified and new files with git add
  6. Perform git diff --cached to understand changes being committed
  7. Analyze diff for multiple distinct logical changes
  8. If multiple distinct changes detected, suggest breaking into multiple smaller commits
  9. Create commit message using emoji conventional commit format
  10. Commit message should be in Chinese
  11. Append agent-specific signature at end of commit message based on --agent flag

Pre-commit Checks

Unless --no-verify is specified, run these checks before committing:

  • pnpm lint - Ensure code quality
  • pnpm build - Verify build succeeds
  • pnpm generate:docs - Update documentation

If checks fail, ask user whether to proceed anyway or fix issues first.

Commit Message Format

Use emoji conventional commit format:

<emoji> <type>: <description in Chinese>

<agent-specific-signature>

Agent Signatures

Based on --agent flag, use the corresponding signature. Default is claude.

Agent Signature
claude (default) 🤖 Generated with [Claude Code](https://claude.ai/code)

`
codex 🤖 Generated with [Codex CLI](https://github.com/openai/codex)

`
copilot 🤖 Generated with [GitHub Copilot](https://github.com/features/copilot)

`
cursor 🤖 Generated with [Cursor](https://cursor.sh)

`
gemini 🤖 Generated with [Gemini](https://gemini.google.com)

`
gpt 🤖 Generated with [ChatGPT](https://chat.openai.com)

`
aider 🤖 Generated with [Aider](https://aider.chat)

`
cline 🤖 Generated with [Cline](https://github.com/cline/cline)

`
windsurf 🤖 Generated with [Windsurf](https://codeium.com/windsurf)

`
augment 🤖 Generated with [Augment](https://www.augmentcode.com)

`
none (no signature appended)

Custom Agent

You can also specify a custom agent name. If the agent name is not in the predefined list, generate signature in format:

🤖 Generated with <agent-name>

    Co-Authored-By: <agent-name> <[email protected]>

Conventional Commit Types with Emoji

Emoji Type Description
✨ feat A new feature
🐛 fix A bug fix
📝 docs Documentation changes
💄 style Code style changes (formatting, etc)
♻️ refactor Code changes that neither fix bugs nor add features
⚡️ perf Performance improvements
✅ test Adding or fixing tests
🔧 chore Changes to build process, tools, etc
🚀 ci CI/CD improvements
🗑️ revert Reverting changes
🧪 test Add a failing test
🚨 fix Fix compiler/linter warnings
🔒️ fix Fix security issues
👥 chore Add or update contributors
🚚 refactor Move or rename resources
🏗️ refactor Make architectural changes
🔀 chore Merge branches
📦️ chore Add or update compiled files or packages
➕ chore Add a dependency
➖ chore Remove a dependency
🌱 chore Add or update seed files
🧑‍💻 chore Improve developer experience
🧵 feat Add or update code related to multithreading or concurrency
🔍️ feat Improve SEO
🏷️ feat Add or update types
💬 feat Add or update text and literals
🌐 feat Internationalization and localization
👔 feat Add or update business logic
📱 feat Work on responsive design
🚸 feat Improve user experience / usability
🩹 fix Simple fix for a non-critical issue
🥅 fix Catch errors
👽️ fix Update code due to external API changes
🔥 fix Remove code or files
🎨 style Improve structure/format of the code
🚑️ fix Critical hotfix
🎉 chore Begin a project
🔖 chore Release/Version tags
🚧 wip Work in progress
💚 fix Fix CI build
📌 chore Pin dependencies to specific versions
👷 ci Add or update CI build system
📈 feat Add or update analytics or tracking code
✏️ fix Fix typos
⏪️ revert Revert changes
📄 chore Add or update license
💥 feat Introduce breaking changes
🍱 assets Add or update assets
♿️ feat Improve accessibility
💡 docs Add or update comments in source code
🗃️ db Perform database related changes
🔊 feat Add or update logs
🔇 fix Remove logs
🤡 test Mock things
🥚 feat Add or update an easter egg
🙈 chore A
Полный SKILL.md на GitHub

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

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

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

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

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

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

Read
Write
Edit
Bash
Glob
Grep

Вложенные файлы

metadata.json

FAQ

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

Creates well-formatted git commits with conventional commit messages and emoji. Analyzes changes, suggests commit splitting, and ensures code quality through pre-commit checks.

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

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

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

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

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

Сравнить commit с