commit · justxor — Claude Code skill for Conventional Commits
This skill reviews your working changes and creates a git commit in Conventional Commits format. Use it when you want an agent to make a commit that follows the repository’s message style.
MIT ★ 353 updated 2026-10-01
npx skills add justxor/claude-code-pro-course --skill commit -a claude-codeWhat commit does
The skill checks the working tree and diffs, including staged changes, then reads recent commit messages to follow the repository’s conventions. When changes belong to separate concerns, it suggests splitting them into multiple commits. It then stages the changes and writes a commit with a type such as feat, fix, or docs.
A commit message uses a type, an optional scope, and a brief imperative summary; it can include a reason when the change is not self-explanatory. The skill excludes .env, secrets, temporary files, and generated files. It needs git changes in the repository and is limited to git status, git diff, git add, git commit, and git log. It displays the latest commit when done.
What it helps with
- commit the current working changes
- write messages in Conventional Commits format
- match commit wording to repository history
- split unrelated changes into separate commits
- keep secrets and generated files out of a commit
Example prompts for the agent
- Commit my current changes using Conventional Commits.
- Review the diff and create a suitable git commit.
- Separate unrelated changes into commits, then commit them.
How to install commit
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill commit -a claude-code2Manually: put the files in place
~/.claude/skills/commit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/commit/
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill commit -a codex2Manually: put the files in place
.agents/skills/commit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill commit -a cursor2Manually: put the files in place
.cursor/skills/commit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install justxor/claude-code-pro-course starter-kit/.claude/skills/commit2Manually: put the files in place
.github/skills/commit/SKILL.md1Skills CLI (Vercel)
npx skills add justxor/claude-code-pro-course --skill commit -a gemini-cli2Platform CLI
gemini skills install https://github.com/justxor/claude-code-pro-course --path starter-kit/.claude/skills/commitManually: put the files in place
.devin/skills/commit/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about commit
How do I install commit in Claude Code?
Run npx skills add justxor/claude-code-pro-course --skill commit -a claude-code. The skill file is at ~/.claude/skills/commit/SKILL.md.
What does the commit skill do?
It reviews the working changes and recent commit history, then creates a commit in Conventional Commits format. It keeps .env, secrets, temporary files, and generated files out of the commit.
Which commit types does commit support?
It supports feat, fix, refactor, test, docs, chore, perf, and ci. If the changes cover separate concerns, it suggests making multiple commits.
Source text
SKILL.md · MIT
--- name: commit description: Создаёт git-коммит в формате Conventional Commits по текущим изменениям. Используй, когда просят закоммитить или сделать коммит. allowed-tools: Bash(git status), Bash(git diff:*), Bash(git add:*), Bash(git commit:*), Bash(git log:*) argument-hint: "[необязательное пояснение]" --- # Commit Контекст от пользователя: $ARGUMENTS 1. `git status` и `git diff` (+ `git diff --staged`) — пойми, что изменилось. 2. `git log --oneline -10` — посмотри стиль сообщений в репозитории. 3. Если изменения логически разные — предложи разбить на несколько коммитов. 4. Не добавляй в коммит `.env`, секреты, временные и сгенерированные файлы. 5. Сообщение: ``` <type>(<scope>): <кратко, повелительное наклонение, до 72 символов> <зачем сделано изменение, если неочевидно> ``` type: feat | fix | refactor | test | docs | chore | perf | ci 6. Сделай коммит и покажи `git log --oneline -1`.
© justxor · MIT · justxor/claude-code-pro-course
Similar skills
All skills for Git and GitHub →commit by other authors comes first.