Skip to content
Agentmart
Submit a tool

commit

Convention-aware commits that scope session changes, preserve unrelated dirty state, and split logical change sets.

Skill by reemus-dev

IndexedMIT★ 2
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/reemus-dev-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

Convention-aware commits that scope session changes, preserve unrelated dirty state, and split logical change sets.

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 and code. Checked Nov 1, 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
Convention-aware commits that scope session changes, preserve unrelated dirty state, and split logical change sets.
License
MIT
Instructions
79 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Commit

Create safe, convention-matching git commits. Preserve unrelated dirty state.
Split only logically independent changes.

## Flow

1. **Scope before git state**
   - `-a` / `--all`: all pending changes.
   - `-c` / `--convo`: conversation-relevant changes only.
   - Free text can imply scope: "everything", "only docs", "fetch change".
   - If unresolved, inspect first. Ask only if unrelated changes exist.

2. **Assess**
   - Run `git status`, `git diff`, `git log -15`, etc.
   - Infer repo's message convention from **full** commit messages (subject +
     body), not just subjects. Use `git log -N` (never `--oneline`) so the body
     format, bullet style, and scope patterns are visible. Default: conventional
     commits with a body when the change is multi-faceted.
   - Classify changed files as in-scope, out-of-scope, or ambiguous. Changes you
     made or discussed are session-relevant. Compare other changes to the
     conversation goal and touched systems.
   - Stop if nothing needs committing.

3. **Plan and confirm**
   - If the scope unresolved ask user session-only vs all.
   - Propose grouped summary, commit grouping, and draft message(s).
   - Use one commit for cohesive work. Split only independent changes.
   - Ask before committing: proceed, adjust grouping, or edit messages.

4. **Execution strategy**
   - Whole cohesive scope: use plain git.

     ```bash
     git add <files>   # avoid `git add .` / `-A` unless scope is truly all
     git commit -m "message"
     ```

   - File or line subset while preserving other dirty state byte-for-byte: use
     the helper. Never hand-roll index manipulation.

     ```bash
     subcommit <path|path:ranges>... -m <msg> --yes [-n|--no-verify]
     ```

     A plain path selects the complete file. Ranges are `N` or `N-M`, separated
     by commas or supplied through repeated ranged targets. Use repeatable
     `--complete <path>` for a literal filename ending in valid range syntax.
     Complete files and changed regions may share one commit. A unique exact
     move automatically includes both endpoints. Name both paths for an edited
     move. The helper selects from the last commit to the current worktree,
     preserves untouched dirty paths, previews effective ranged patches, runs
     hooks in an isolated index, and refuses if any target misses or scope
     expands.

   - For split commits, process groups sequentially and verify each.

## Message Quality

- Match the detected repo convention.
- Subject under 72 chars, specific, action-oriented.
- Name the behavior/change, not the file.
- Add a body only when the subject cannot capture scope.
- Avoid vague subjects: `Update file.ts`, `fix things`, `chore: updates`.

## Safety

- Warn before staging sensitive files: `.env`, credentials, tokens, keys.
- Large diffs: summarize and confirm.
- Preserve pre-staged paths outside the selected scope exactly. On a changed
  selected target, current worktree selection supersedes prior staging. An
  unchanged target with staged-only changes refuses instead of discarding them.
- For scoped file or range commits, use `subcommit`.
- A missed target refuses the whole operation. Correct or remove it rather than
  accepting a partial commit.
- Helper refusal means possible scope expansion. Include or fix that scope, or
  use another approach only with explicit justification.

From reemus-dev/subcommit, MIT.

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Sep 2, 2026 (2 months ago)
Last release
Oct 24, 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 reemus-dev

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/reemus-dev-commit (last updated 2026-10-24)