name: commit
description: Generate a commit message and commit staged changes
disable-model-invocation: true
allowed-tools: Bash, Read
Commit Changes
Run git diff --cached to see what's staged
If nothing is staged, run git status and tell the user
Generate a commit message using conventional commits format:
<type>(<scope>): <subject>
Types: feat, fix, docs, refactor, test, chore
Lowercase, imperative mood, no period
Run git commit -m "<message>"
If the user provided arguments ($ARGUMENTS), use them as guidance for the message.
1---2name: commit3description: "---"4---5---6 name: commit7 description: Generate a commit message and commit staged changes8 disable-model-invocation: true9 allowed-tools: Bash, Read10 ---1112 # Commit Changes1314 1. Run `git diff --cached` to see what's staged15 2. If nothing is staged, run `git status` and tell the user16 3. Generate a commit message using conventional commits format:17 - `<type>(<scope>): <subject>`18 - Types: feat, fix, docs, refactor, test, chore19 - Lowercase, imperative mood, no period20 4. Run `git commit -m "<message>"`2122 If the user provided arguments ($ARGUMENTS), use them as guidance for the message.
Run npx skillmds@latest add maggit/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.
--- It is listed under Coding & Dev Tools 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.
maggit (@maggit) published this skill. Their other Agent Skills are listed on their SkillMD profile.