Skip to content
Agentmart
Submit a tool

git-commit

Generate standardized git commit messages following conventional commits spec, and concise merge/pull request descriptions.

Skill by cormacc

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying git-commit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cormacc-git-commit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate standardized git commit messages following conventional commits spec, and concise merge/pull request descriptions. Use when user asks to write a commit message, draft a commit, prepare a commit, commit these changes, summarize staged changes, produce a conventional commit, or write/propose an MR or PR description. Analyzes staged diffs and change descriptions to produce type(scope): description format messages.

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-commit

What's inside

Skill name
git-commit
Description
Generate standardized git commit messages following conventional commits spec, and concise merge/pull request descriptions. Use when user asks to write a commit message, draft a commit, prepare a commit, commit these changes, summarize staged changes, produce a conventional commit, or write/propose an MR or PR description. Analyzes staged diffs and change descriptions to produce type(scope): description format messages.
License
MIT
Instructions
100 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Git Commit Message Writer

Format: `<type>[(scope)][!]: <description>` followed by an optional body and footers. Conventional Commits spec applies; assume the model knows it. The notes below are the project-specific bits worth restating.

## Workflow

1. Inspect the worktree:
   ```bash
   git status --short
   git diff --staged    # prefer staged when present
   git diff HEAD        # otherwise all tracked
   ```
   `git diff HEAD` does *not* include untracked files; check `git status` for them.

   If a requested standalone commit depends on other uncommitted work, surface the dependency and propose dependency-ordered commits instead; verify each intermediate tree (e.g. run the test suite) before committing it.

   Reconcile `git status` against the change's expected file set and stage those paths explicitly. A worktree shared with subagents, other agent sessions, or the user may hold unrelated edits; never `git add -A`/`.` there, and surface anything foreign you deliberately left unstaged. Omit a path already staged as a deletion: it no longer exists in the worktree, and `git add` validates every pathspec first, so one stale path stages nothing.

2. Pick the type:
   - `feat` -- new functionality
   - `fix` -- bug fix
   - `docs`, `style`, `refactor`, `test`, `chore`, `perf`, `ci`, `build`, `revert`
   - Breaking: append `!` before the colon or add a `BREAKING CHANGE:` footer.

3. Pick a scope (optional noun for the area touched), then write the subject:
   - Match the project's capitalisation after the colon. Aim for 50 characters or fewer.
   - Imperative mood ("add", not "added"), no trailing period, ≤72 chars.

4. **Body -- only what's needed.** What's changed and why. Prompt the user for the *why* if it's not evident from the diff. Refer to associated design change-records rather than restating their content.

   Always include a body for a breaking change, a security fix, a data migration, or a revert, even when the subject seems sufficient.

   Wrap the body at 72 characters. Use `-` for bullets. Put issue references (`Closes #42`, `Refs #17`) at the end.

   Do **not** include:
   - Test run details / output
   - Abandoned approaches or failed experiments
   - Co-author / generation attribution footers unless the user asks
   - Narration of the diff: "This commit does X", "I", "we", "now", "currently", or a file name that the scope already gives. The diff shows *what* changed; the body says *why*.

5. Show the proposed message to the user and wait for explicit approval before running `git commit`. In a delegated session, do not ask: commit when the assignment grants approval; otherwise leave the change staged and put the draft message in the result.

## Merge request descriptions

The same body rules apply to an MR (or PR) description. Reviewers read the individual commits for detail; the description gives only the shape of the change.

- Title: the change in plain words, not a conventional-commit subject.
- Open with one short paragraph: what changed and why. Link the change-record.
- Name each renamed or removed identifier that callers will meet.
- Then, only if needed, a short list of changes that the commit subjects do not make obvious: changed IDs or API shapes, cross-cutting clean-ups, a regression fixed on the way. One line each, with the reason.
- State a known gap in one sentence and point to its follow-up.
- Do not include test results (the merge gate enforces a passing suite), file or per-function inventories, added/removed ledgers, or detail that one commit already carries.

Show the full draft for approval, as for a commit. The user may post it manually.

## Examples

```
feat(auth): add OAuth2 login with Google

Implements Google OAuth2 flow using the existing session management
system.

Closes #142
```

```
fix(api): handle null response from payment provider
```

```
feat(api)!: change response envelope

BREAKING CHANGE: API responses now wrap payloads in a `data` object.
```

MR description:

```
Dispatch async effect continuations from one interceptor

Async effects used to dispatch their own :then, and some also handled their
own :on-error. Both continuations now live in one nexus interceptor: an effect
returns its promise, and the interceptor does the rest. Design and decisions:
design/log/2026-10-06-async-effect-interceptor.org.

`error-dispatch-interceptor` is renamed `async-effect-interceptor`.

Additional changes
- A datahike connect failure is notified as :datahike.fx/connect, not
  :datahike/connect.
- The webserial and webbluetooth wrappers return promises instead of taking
  :on-success/:on-error callbacks, for consistency.
```

## Provenance

The capitalisation, 50-character, mandatory-body, wrapping, issue-reference, and diff-narration rules adapt `caveman-commit` from https://github.com/JuliusBrussee/caveman/blob/v4.0.1/skills/caveman-commit/SKILL.md (Apache License 2.0).

From cormacc/dotagents, MIT.

More from cormacc/dotagents

Signals

Stars
1
Forks
1
Open issues
0
Last commit (this folder)
Oct 22, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from cormacc

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get git-commit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying git-commit?

CallGet help
Cite this page

git-commit skill. Agent Mart. https://agentmart.dev/skills/cormacc-git-commit (last updated 2026-10-24)