Skip to content
Agentmart
Submit a tool

commit

Guides how to commit

Skill by mrclrchtr

IndexedMIT★ 103
Write a review

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

Guides how to 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
Guides how to commit
License
MIT
Instructions
46 lines in SKILL.md · view on GitHub

Files (2)

  • LICENSE.mrclrchtr
  • SKILL.md

SKILL.md (first lines)

# Commit candidate

A **commit candidate** is the exact patch that will enter the commit. A **coherent change** has one task or issue as its reason for existing.

# Guardrails

- Inspect candidate changes for credentials, private keys, tokens, and local secret files. **STOP and ask** what to do without repeating the secret value.
- Preserve changes outside the current task. Ask before changing an existing staged change that is outside the task boundary.
- Keep normal Git hooks enabled.
- Do not use sub-agents.

# Process

1. **Establish the Git state.** Inspect the branch, active Git operation, staged and unstaged changes, untracked files, and the task or issue boundary. Ask when required facts are unclear.

   **Done when:** the request mode, task boundary, and Git state are understood.

2. **Build the commit candidate.** Stage only changes that directly belong to the task or issue. Preserve unrelated staged changes. If the task forms one coherent change, prepare one candidate. Ask when grouping is unclear. If there is no suitable candidate, report it and stop.

   **Done when:** the staged patch contains the complete intended change and no unrelated change.

3. **Audit the candidate.** Inspect the full staged diff, check for possible secrets, and run `git diff --cached --check`. Let normal Git hooks run when creating the commit. Fix and retry only an obvious mechanical failure inside the task; otherwise stop and report the failure.

   **Done when:** the diff audit passes and all hook results are known.

4. **Write the message.** Match recent commit history first. Honor explicit message requirements. Use a concise subject with the repository's normal type, scope, mood, length, and punctuation. Add a body only when it explains why, a trade-off, a constraint, a side effect, or a required follow-up. Add references to tickets if they exist; don't invent them.

5. **Create the requested commit.** For a normal commit, pass the complete message through a quoted heredoc:

   ```bash
   git commit -F - <<'COMMIT_MSG'
   type(scope): concise summary

   optional body explaining why, trade-offs, constraints, side effects, or follow-ups

   #related-issue
   COMMIT_MSG
   ```

   For an active Git operation, use its appropriate continuation path. When known Git facts show a clearly local follow-up to `HEAD`, the agent may amend. Ask when those facts are unclear; otherwise create a new commit.

6. **Verify the result.** Inspect the new commit's hash, subject, stat, and `git status`. Report the commit and the checks that ran. Confirm that remaining changes are intentional. If the commit fails, leave the state available for inspection and report the failure without retrying blindly.

   **Done when:** `HEAD` contains the intended patch, the message follows repository style, check results are reported, and remaining changes are understood.

From mrclrchtr/supi, MIT.

More from mrclrchtr/supi

Signals

Stars
103
Forks
7
Open issues
14
Last commit (this folder)
Oct 22, 2026 (5 days ago)
Last release
Oct 22, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from mrclrchtr

Cite this page

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