- Home
- Skills
- Code Quality & Review
- Git Commit Writer — Staged Changes to Conventional Commit
More screenshots
Works with the AI Agents you already use
Git Commit Writer — Staged Changes to Conventional Commit
Commit messages get written last, when you are tired of the change, and it shows: `update stuff`, `fix`, a `feat` that was really a bug fix.
$5
Git Commit Writer — Staged Changes to Conventional Commit
Example session with this skill installed
Write the commit message for the diff in examples/breaking.patch.
- Read your context and instructions
- Compiled the git commit writer
Summary
Git Commit Writer read the patch and wrote a refactor commit with a ! marker, because the diff removes a public function and a command-line option.
$ python3 scripts/commit_writer.py --diff-file examples/breaking.patch
refactor(textutil)!: remove legacy_trim and --verbose
- src/textutil/cli.py (modified): +0 -1
- src/textutil/words.py (modified): +0 -5
BREAKING CHANGE: removed option --verbose from src/textutil/cli.py
BREAKING CHANGE: removed legacy_trim from src/textutil/words.py
Next steps
- Confirm the type: the
reasonfield in the--jsonoutput says why it was chosen. - Pass
--committo commit with this message, or--install-hookto lint every message.
Connects securely to your tools. The creator never sees your data.
About this skill
You send it: the changes you have staged. It sends back: a commit message in Conventional Commits form, ready to paste or to commit.
Commit messages get written last, when you are tired of the change, and it shows: update stuff, fix, a feat that was really a bug fix. Tools that read Conventional Commits (changelog generators, release bots) cannot use that history, and on a team that stages into one working tree, files from someone else's task slip into your commit without a word.
Git Commit Writer reads the staged diff and writes the message from what actually changed.
What it does
- Chooses the type (
feat,fix,docs,test,ci,build,perf,refactor,style,chore) from the files and lines that changed, and the scope from the folder they share - Names the change in the imperative:
add slugify in words,fix first_word in words,rename a.py to b.py - Detects breaking changes (a removed public function or command-line option) and writes the
!and theBREAKING CHANGE:footer - Warns when one commit spans three or more top-level folders, mixes source, build and config changes, or contains files outside the paths you expect (
--only) - Lints any message with 8 error rules and 3 warnings, and installs a
commit-msghook with one command - Adds a task id to the header (
--suffix) or aRefs:footer (--ref), prints JSON for scripts (--json), and commits with--commit
Honest limits
The type is chosen by keywords and file categories, so confirm it (the reason field says why); the subject names files and functions, not the reason; breaking detection reads names, not behaviour.
What is inside
SKILL.md, README.md, LICENSE, scripts/commit_writer.py, tests/test_package.py (77 tests), and examples/*.patch (six real diffs).
Requirements and safety
Python 3.8+, git, macOS or Linux, standard library only. It reads your repository and changes nothing unless you pass --commit or --install-hook. No network, no credentials, no background services.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.
Requires Python 3. Does not automatically stage files. Type detection relies on keywords and file categories which may require manual overrides.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 11 days ago
- Software
Git