Skip to content
Agentmart
Submit a tool

commit

Create a well-formed git commit from current changes using session history for rationale and summary; use only when the user explicitly asks to create or…

Skill by corymhall

IndexedMIT
Write a review

Chalk Labs

Need help deploying 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/corymhall-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

Create a well-formed git commit from current changes using session history for rationale and summary; use only when the user explicitly asks to create or finalize a commit.

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/commit

What's inside

Skill name
commit
Description
Create a well-formed git commit from current changes using session history for rationale and summary; use only when the user explicitly asks to create or finalize a commit.
License
MIT
Instructions
74 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Commit

## Goals

- Produce a commit that reflects the actual code changes and the session
  context.
- Follow the repository's commit conventions and common Git formatting.
- Preserve motivation and consequences that the diff does not explain.

## Inputs

- session history for intent and rationale.
- `git status`, `git diff`, and `git diff --staged` for actual changes.
- Repo-specific commit conventions if documented.

## Steps

1. Read session history to identify scope, intent, and rationale.
2. Inspect the working tree and staged changes (`git status`, `git diff`,
   `git diff --staged`).
3. Stage intended changes, including new files (`git add -A`) after confirming
   scope.
4. Sanity-check newly added files; if anything looks random or likely ignored
   (build artifacts, logs, temp files), flag it to the user before committing.
5. If staging is incomplete or includes unrelated files, fix the index or ask
   for confirmation.
6. Inspect recent repository history and documented conventions. Use a type
   and optional scope only when the repository uses that style (for example,
   `feat(scope): ...`, `fix(scope): ...`, or `refactor(scope): ...`).
7. Write an imperative subject with no trailing period. Aim for 50 characters
   and do not exceed 72. Capitalize a plain subject; follow repository casing
   when a prefix or other convention applies.
8. Add a body only when it preserves useful context that the subject and diff
   do not make clear. Separate it from the subject with a blank line.
9. In the body, explain the problem, the material change, and why this approach
   was selected. Include important trade-offs, side effects, or validation when
   useful. Do not narrate implementation details that are clear from the diff.
10. Use natural paragraphs by default. Add headings or bullets only when they
    make a complex message easier to scan. Do not require `Summary`,
    `Rationale`, or `Tests` sections.
11. Wrap body lines at 72 characters.
12. Create the commit message with a here-doc or temp file and use
    `git commit -F <file>` so newlines are literal (avoid `-m` with `\n`).
13. Commit only when the message matches the staged changes: if the staged diff
    includes unrelated files or the message describes work that is not staged,
    fix the index or revise the message before committing.

## Output

- A single commit created with `git commit` whose message reflects the session.

## Message Shapes

Use a subject alone when it records all useful context:

```
Fix typo in installation guide
```

For a change that needs context, use a short subject and natural paragraphs:

```
<type>(<scope>): <imperative summary>

<Explain the prior problem and the material change. Explain why this approach
was selected when that reason is not clear from the diff.>

<Include an important trade-off, consequence, issue reference, or validation
result when useful.>
```

Type and scope are examples only. Follow the repository's established style.

From corymhall/toolkit, MIT.

More from corymhall/toolkit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 1, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from corymhall

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 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 commit?

CallGet help
Cite this page

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