- Home
- Skills
- DevOps & Cloud
- Git Automation — Commit Messages, PRs & Changelogs
Git Automation — Commit Messages, PRs & Changelogs
by Pavithran
The base agent can draft them — badly: vague subjects, past tense, invented reasons, 'tests pass' with no test ever run.
$8
Git Automation — Commit Messages, PRs & Changelogs
Example session with this skill installed
I've staged changes in src/auth and added a new test. What should my commit message be?
- Read your context and instructions
- Compiled the git automation
I have analyzed the staged diff for your changes. The diff shows 3 additions and 2 deletions in src/auth/service.py and a new test file in tests/auth_test.py.
Commit Message Suggestion
feat(auth): add exponential backoff to login retry logic
What:
- `src/auth/service.py` (+3/-2): implements sleep delay in retry loop
- `tests/auth_test.py` (+15/-0): adds unit test for backoff timing
Why: [FILL IN — Why is this backoff necessary now?]
Refs: #104
Next steps
- Replace the
Why:placeholder with the specific reason for this change (e.g., to reduce load on the auth server during outages). - Run
python3 scripts/commit_message.py --validate message.txtto confirm the format. - Execute
git commit -m "$(cat message.txt)"once you are satisfied.
Connects securely to your tools. The creator never sees your data.
About this skill
Every developer writes the same three texts over and over: the commit message, the PR description, the changelog entry. The base agent can draft them — badly: vague subjects, past tense, invented reasons, 'tests pass' with no test ever run. This skill does it properly, from your real git history: 1) Commit-message writer. Reads git diff --cached and writes a conventional-commit message — correct type and scope from the diff, imperative subject under 72 characters, a BREAKING CHANGE: footer when a public function is removed or a signature changes. It refuses to guess on empty or 20-file messy diffs, and it never invents the why: the reason is flagged for you to fill in, because a diff cannot know why a change exists. 2) PR description generator. Reads the branch log and diff stat and fills a complete PR template: summary, why, every commit listed, files grouped by area, breaking changes, and a testing checklist derived from what actually changed (docs-only PRs don't get test claims they can't keep). 3) Changelog tool. Turns a release's commits into a Keep-a-Changelog version section and merges it into your CHANGELOG.md — new version between Unreleased and the last release, released sections never rewritten, breaking entries first. What's inside: SKILL.md (step-by-step process, decision tables, good/bad examples, pass/fail criteria), four Python scripts (standard library only — no network, no credentials, no writes except the changelog file you name), three reference guides, and seven real before/after examples. Tested, honestly: 12 varied cases run against real git repositories — bugfix, feature, rename refactor, breaking change, docs-only, multi-file, empty diff, messy 21-file diff, 6-commit PR, single-commit PR, changelog from history, changelog update. 12/12 pass the skill's own criteria, and the full outputs are in TEST-REPORT.md. The limits are stated there too: test diffs were Python/Markdown, and the skill text itself hasn't been run inside every agent yet. Works in Claude, ChatGPT, Cursor, Codex and Gemini CLI — any agent that reads SKILL.md. Python 3.8+ only; no installs, no accounts.
Requires local Python 3. Does not perform Git operations (commit/push) automatically. Cannot analyze unstaged work or empty diffs.
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 8 days ago
- Software
Git
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.