Create a short, focused commit message and commit staged changes.
Steps
Review changes
Check the diff: git diff --cached (if changes are staged) or git diff (if unstaged)
Understand what changed and why
Ask for issue key (optional)
Check the branch name for an issue key (Linear, Jira, GitHub issue, etc.)
If an issue key (e.g., POW-123, PROJ-456, #123) is not already available in the chat or commit context, optionally ask the user if they want to include one
This is optional - commits can be made without an issue key
Stage changes (if not already staged)
git add -A
Create short commit message
Base the message on the actual changes in the diff
Example with issue key: git commit -m "PROJ-123: fix(auth): handle expired token refresh"
Template
git commit -m "<type>(<scope>): <short summary>"
With issue key: git commit -m "<issue-key>: <type>(<scope>): <short summary>"
Rules
Length: <= 72 characters
Imperative mood: Use "fix", "add", "update" (not "fixed", "added", "updated")
Capitalize: First letter of summary should be capitalized
No period: Don't end the subject line with a period
Describe why: Not just what - "fix stuff" is meaningless
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: gologo13-agent-skills-git-commit3description: Git Create Commit4---56# Git Create Commit78## Overview910Create a short, focused commit message and commit staged changes.1112## Steps13141. **Review changes**15 - Check the diff: `git diff --cached` (if changes are staged) or `git diff` (if unstaged)16 - Understand what changed and why172. **Ask for issue key (optional)**18 - Check the branch name for an issue key (Linear, Jira, GitHub issue, etc.)19 - If an issue key (e.g., POW-123, PROJ-456, #123) is not already available in the chat or commit context, optionally ask the user if they want to include one20 - This is optional - commits can be made without an issue key213. **Stage changes (if not already staged)**22 - `git add -A`234. **Create short commit message**24 - Base the message on the actual changes in the diff25 - Example: `git commit -m "fix(auth): handle expired token refresh"`26 - Example with issue key: `git commit -m "PROJ-123: fix(auth): handle expired token refresh"`2728## Template2930- `git commit -m "<type>(<scope>): <short summary>"`31- With issue key: `git commit -m "<issue-key>: <type>(<scope>): <short summary>"`3233## Rules3435- **Length:** <= 72 characters36- **Imperative mood:** Use "fix", "add", "update" (not "fixed", "added", "updated")37- **Capitalize:** First letter of summary should be capitalized38- **No period:** Don't end the subject line with a period39- **Describe why:** Not just what - "fix stuff" is meaningless4041---42> Converted and distributed by [TomeVault](https://tomevault.io/claim/gologo13) — claim your Tome and manage your conversions.43<!-- tomevault:4.0:skill_md:2026-04-14 -->
Run npx skillmds@latest add tomevault-io/gologo13-agent-skills-git-commit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Git Create Commit It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.