Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
softaworks avatar

Commit Work

  • 3.9k installs
  • 2.2k repo stars
  • Updated March 5, 2026
  • softaworks/agent-toolkit

A repeatable, checklist-driven workflow for staging changes, splitting them into logical commits, and writing clear Conventional Commits messages with what/why rationale.

About

Commit-work guides developers through the full commit workflow: inspecting changes, deciding logical boundaries, staging only intended code using patch mode for mixed hunks, and writing Conventional Commits messages. The skill enforces clean commits by requiring developers to describe each change in one sentence before authoring, verify staged content via git diff --cached, and run minimal checks (lint/tests) before moving on. This prevents mixed commits, accidental secrets, debug logging, and formatting churn. The workflow is checklist-driven, favoring small scoped commits over monolithic ones, with explicit rules for splitting by feature/refactor, backend/frontend, logic/tests, and dependency bumps. Developers use it whenever crafting commits, staging changes, or reviewing work before push. Enforces Conventional Commits format (type, scope, subject, body) with required fields Patch staging workflow (git add -p, git restore --staged -p) for splitting

  • Enforces Conventional Commits format (type, scope, subject, body) with required fields
  • Patch staging workflow (git add -p, git restore --staged -p) for splitting mixed changes in single files
  • Pre-commit sanity checks: inspect git status/diff, verify no secrets/debug logs, catch unrelated formatting
  • Forces one-sentence rationale per commit (what + why) before writing message to catch oversized/mixed commits
  • Runs fastest repo-level verification (unit tests, lint, or build) before advancing to next commit

Commit Work by the numbers

  • 3,921 all-time installs (skills.sh)
  • +23 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #18 of 739 Git & Pull Requests skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

commit-work capabilities & compatibility

Capabilities
inspect unstaged changes (git status, git diff, · stage changes selectively using patch mode (git · unstage hunks or files (git restore staged p) · review staged content (git diff cached) · write conventional commits messages · split changes into logical commits · verify with repo checks (lint, tests, build)
Use cases
code review · debugging · ci cd
Platforms
macOS · Windows · Linux · WSL
Runs
Runs locally
npx skills add https://github.com/softaworks/agent-toolkit --skill commit-work

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.9k
repo stars2.2k
Security audit3 / 3 scanners passed
Last updatedMarch 5, 2026
Repositorysoftaworks/agent-toolkit

What it does

Stage and commit code changes with clear Conventional Commits messages, splitting unrelated work into logical, reviewable commits.

Who is it for?

Developers committing code as part of feature work, refactoring, or bug fixes; teams enforcing Conventional Commits; code review workflows requiring clean commit history.

Skip if: Automated CI commits, squash-merge workflows, or teams not using git.

When should I use this skill?

User asks to commit, craft a commit message, stage changes, split work into multiple commits, or review staged changes before push.

What you get

Clean, reviewable commits with Conventional Commits format, logical scope, and clear intent; reduced review friction and safer deploys.

  • final commit message(s)
  • short summary per commit (what/why)
  • git commands used (git diff --cached, test runs)

By the numbers

  • 8-step checklist (inspect, decide boundaries, stage, review, describe, write, verify, repeat)
  • split strategies: 6 categories (feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod, dependency

Files

SKILL.mdMarkdownGitHub ↗

Commit work

Goal

Make commits that are easy to review and safe to ship:

  • only intended changes are included
  • commits are logically scoped (split when needed)
  • commit messages describe what changed and why

Inputs to ask for (if missing)

  • Single commit or multiple commits? (If unsure: default to multiple small commits when there are unrelated changes.)
  • Commit style: Conventional Commits are required.
  • Any rules: max subject length, required scopes.

Workflow (checklist)

1) Inspect the working tree before staging

  • git status
  • git diff (unstaged)
  • If many changes: git diff --stat

2) Decide commit boundaries (split if needed)

  • Split by: feature vs refactor, backend vs frontend, formatting vs logic, tests vs prod code, dependency bumps vs behavior changes.
  • If changes are mixed in one file, plan to use patch staging.

3) Stage only what belongs in the next commit

  • Prefer patch staging for mixed changes: git add -p
  • To unstage a hunk/file: git restore --staged -p or git restore --staged <path>

4) Review what will actually be committed

  • git diff --cached
  • Sanity checks:
  • no secrets or tokens
  • no accidental debug logging
  • no unrelated formatting churn

5) Describe the staged change in 1-2 sentences (before writing the message)

  • "What changed?" + "Why?"
  • If you cannot describe it cleanly, the commit is probably too big or mixed; go back to step 2.

6) Write the commit message

  • Use Conventional Commits (required):
  • type(scope): short summary
  • blank line
  • body (what/why, not implementation diary)
  • footer (BREAKING CHANGE) if needed
  • Prefer an editor for multi-line messages: git commit -v
  • Use references/commit-message-template.md if helpful.

7) Run the smallest relevant verification

  • Run the repo's fastest meaningful check (unit tests, lint, or build) before moving on.

8) Repeat for the next commit until the working tree is clean

Deliverable

Provide:

  • the final commit message(s)
  • a short summary per commit (what/why)
  • the commands used to stage/review (at minimum: git diff --cached, plus any tests run)

Related skills

How it compares

Pick commit-work over generic git skills when the goal is review-ready Conventional Commits with intentional staging and logical commit splitting.

FAQ

When should I make multiple commits vs. one big commit?

Default to multiple small commits when changes are unrelated (feature vs refactor, backend vs frontend, tests vs prod code, dependency bumps vs behavior). Split by logical boundary, not file count.

How do I commit only part of a file?

Use patch staging: git add -p to stage hunks interactively, or git restore --staged -p to unstage hunks. This lets you split mixed changes in one file.

What is Conventional Commits format?

type(scope): short summary, blank line, body (what/why), footer (BREAKING CHANGE). Example: feat(auth): add password reset endpoint.

Is Commit Work safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.