git-commit-writer
Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit".
Skill by mergisi
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/mergisi-git-commit-writer
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.
About
Use cases: writing
Reviews
Write a reviewNo 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 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-writer
What's inside
- Skill name
git-commit-writer- Description
- Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit". Reads git diff --staged and produces an opinionated, convention-matching commit message.
- License
- MIT
- Instructions
- 44 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Git Commit Writer
Generate a disciplined commit message from the currently staged changes. Opinionated about style: imperative mood, concise title, body that explains **why** not **what**.
## When to use
- User says "write a commit message", "/commit", "commit this"
- User has staged changes and asks to review them before committing
- User asks "what should this commit be called"
Do NOT use this skill to actually run `git commit` unless the user explicitly asks — just draft the message and show it.
## Instructions
1. Run `git status --short` with the Bash tool. Confirm there are staged changes. If nothing is staged, stop and tell the user.
2. Run `git diff --staged` to read the full staged diff. If the diff is large (>500 lines), also run `git diff --staged --stat` to get a file-level overview first.
3. Run `git log --oneline -10` to learn the repo's commit convention. Look for:
- Conventional Commits prefixes (`feat:`, `fix:`, `chore:`) — if present, match the style.
- Title case vs sentence case.
- Whether bodies are used or not.
- Any ticket / issue prefix (e.g. `[PROJ-123]`).
4. Draft a message following these rules:
- **Title:** imperative mood ("Add X", not "Added X" or "Adds X"), max 70 characters, no trailing period.
- **Body (if needed):** blank line after title, then 1-3 short paragraphs or bullets explaining *why* the change is necessary, what problem it solves, what trade-offs were made.
- **Never** use the word "refactor" alone — always say what was refactored and why ("Extract retry loop into helper to share with job runner").
- **Never** write "Update file.js" — describe the behavior change, not the file touched.
- **Never** invent a ticket number. If the repo uses them but you can't infer one, leave it out.
5. Show the drafted message in a fenced code block. Ask the user if they want you to run `git commit` with it. Do not commit automatically.
## Anti-patterns to reject
- "Various fixes" / "Updates" / "WIP" — reject and ask for specifics from the diff.
- "Refactor code" — must name the unit being refactored.
- Title >70 chars — shorten or move detail to body.
- Past tense or "-ing" forms — rewrite to imperative.
## Example invocations
- `/git-commit-writer`
- "Write a commit message for what I have staged"
- "Review my staged diff and draft a commit"
- "/commit — but don't push"From mergisi/awesome-openclaw-agents, MIT.
More from mergisi/awesome-openclaw-agents
- 0.663score
openclaw-debugger
mergisi
Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
excalidraw-architecture
mergisi
Trigger when the user asks for an architecture diagram, says "draw the system", "update the architecture diagram", "give me an excalidraw of this codebase"…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
model-cost-compare
mergisi
Trigger when the user asks which model to use, wants to compare model costs, says "what's cheapest for this task", "should I use Opus or Sonnet", "can a…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
cost-optimizer
mergisi
Trigger when the user asks to audit Claude Code costs, reduce token spend, says "my Claude bill is too high", "optimize my CLAUDE.md", "why is this project…
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
growth-ideas
mergisi
Describe your product or project and get three actionable growth ideas tailored to your stage.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
haiku-card
mergisi
Write a haiku about a topic and render it as a shareable card.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
meeting-notes
mergisi
Paste raw meeting notes and get a clean summary with key decisions and action items.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
pricing-advisor
mergisi
Describe your product and target customer, get a pricing strategy with three tiers and rationale.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
regex-builder
mergisi
Describe a text pattern in plain English and get a working regular expression with an explanation.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
tone-shifter
mergisi
Rewrite any text in a different tone — formal, casual, friendly, bold, or concise.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
code-explainer
mergisi
Paste any code snippet and get a plain English explanation of what it does and how it works.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
commit-message
mergisi
Generate a clean, conventional commit message from a description of your changes.
SkillDFreshness: D★ 4KClaude Code +9
Signals
- Stars
- 4,024
- Forks
- 643
- Open issues
- 26
- Last commit (this folder)
- Apr 13, 2026 (6 months ago)
- Last release
- Apr 4, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- crewclaw.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.246score
git-commit-writer
heledmx-lab
Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit".
SkillDFreshness: DClaude Code +9 - 0.242score
git-commit-writer
TheophilusChinomona
Trigger when the user asks to write a commit message, generate a commit from staged changes, review a diff before committing, or says "/commit".
SkillDFreshness: DClaude Code +9
More from mergisi
- 0.663score
openclaw-debugger
mergisi
Trigger when an OpenClaw agent is broken, silent, crashing, stuck, not responding, returning empty output, or the user says "my agent is down", "agent not…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
cost-optimizer
mergisi
Trigger when the user asks to audit Claude Code costs, reduce token spend, says "my Claude bill is too high", "optimize my CLAUDE.md", "why is this project…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
excalidraw-architecture
mergisi
Trigger when the user asks for an architecture diagram, says "draw the system", "update the architecture diagram", "give me an excalidraw of this codebase"…
SkillDFreshness: D★ 4KClaude Code +9 - 0.663score
model-cost-compare
mergisi
Trigger when the user asks which model to use, wants to compare model costs, says "what's cheapest for this task", "should I use Opus or Sonnet", "can a…
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
standup-summary
mergisi
Tell Gemma what you did, what you're working on, and any blockers.
SkillDFreshness: D★ 4KClaude Code +9 - 0.576score
sql-explainer
mergisi
Paste a SQL query and get a plain English explanation of what it does.
SkillDFreshness: D★ 4KClaude Code +9
Cite this page
git-commit-writer skill. Agent Mart. https://agentmart.dev/skills/mergisi-git-commit-writer (last updated 2026-10-24)