Tooluck logoTooluck
SKILL.md

commit-work

Agent skill fromsoftaworks/agent-toolkit

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

How to install commit-work

install commit-work
# install the agent-toolkit pack with the skills CLI
npx skills add softaworks/agent-toolkit

# or add only this skill to Claude Code: copy the folder

skills/commit-work/

# into

~/.claude/skills/commit-work/ (all projects)

.claude/skills/commit-work/ (one project)

skills/commit-work/SKILL.md

MITFull file
1# Commit work
2
3## Goal
4Make commits that are easy to review and safe to ship:
5- only intended changes are included
6- commits are logically scoped (split when needed)
7- commit messages describe what changed and why
8
9## Inputs to ask for (if missing)
10- Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.)
11- Commit style: Conventional Commits are required.
12- Any rules: max subject length, required scopes.
13
14## Workflow (checklist)
151) Inspect the working tree before staging
16 - `git status`
17 - `git diff` (unstaged)
18 - If many changes: `git diff --stat`
192) Decide commit boundaries (split if needed)
20 - Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes.
21 - If changes are mixed in one file, plan to use patch staging.
223) Stage only what belongs in the next commit
23 - Prefer patch staging for mixed changes: `git add -p`
24 - To unstage a hunk/file: `git restore --staged -p` or `git restore --staged <path>`
254) Review what will actually be committed
26 - `git diff --cached`
27 - Sanity checks:
28 - no secrets or tokens
29 - no accidental debug logging
30 - no unrelated formatting churn
315) Describe the staged change in 1-2 sentences (before writing the message)
32 - "What changed?" + "Why?"
33 - If you cannot describe it cleanly, the commit is probably too big or mixed; go back to step 2.
346) Write the commit message
35…

Excerpt shown under the repository's MIT license.

More skills in agent-toolkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates