Agent skill · GitHub (community contributions)
Git Commit skill for Claude Code, Codex and Cursor
Communityname: git-commit★ 40k (repo)pushed 2026-10-23MITSKILL.md on GitHubchecked 2026-11-07
What it does, in the publisher's words
Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit. Do not use it when the user wants only a commit message and no commit.
The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.
Install Git Commit
The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs
npx skills add github/awesome-copilot --skill git-commit
Copy the skill folder into ~/.claude/skills (all projects) or .claude/skills (this repo). Claude Code picks it up without a restart. docs
npx skills add github/awesome-copilot --skill git-commit -a claude-code # or by hand: git clone --depth 1 https://github.com/github/awesome-copilot.git /tmp/git-commit-src cp -r /tmp/git-commit-src/skills/git-commit ~/.claude/skills/git-commit
Download the skill folder, zip it, then Customize > Skills > + > Create skill > Upload a skill. Code execution must be on (Settings > Capabilities). docs
git clone --depth 1 https://github.com/github/awesome-copilot.git /tmp/git-commit-src cp -r /tmp/git-commit-src/skills/git-commit ./git-commit zip -r git-commit.zip git-commit
Codex reads skills from .agents/skills in the repo or ~/.agents/skills. Type $ in Codex to use one. docs
npx skills add github/awesome-copilot --skill git-commit -a codex
gh skill (GitHub CLI 2.90+, preview) installs it for Copilot in VS Code, the CLI and the cloud agent. Copilot also reads .github/skills and ~/.copilot/skills. docs
gh skill install github/awesome-copilot git-commit
Cursor reads .cursor/skills, .agents/skills and ~/.cursor/skills (and .claude/skills). It does not install loose skills from a GitHub URL, so copy it in. docs
npx skills add github/awesome-copilot --skill git-commit -a cursor
Installs from the GitHub repo; --path picks this skill out of the repo. Default scope is user (all projects). docs
gemini skills install https://github.com/github/awesome-copilot.git --path skills/git-commit
OpenCode reads .opencode/skills, ~/.config/opencode/skills and the Claude and .agents folders. docs
npx skills add github/awesome-copilot --skill git-commit -a opencode
Windsurf (now Devin Desktop) reads .devin/skills, .windsurf/skills and ~/.codeium/windsurf/skills. docs
npx skills add github/awesome-copilot --skill git-commit -a windsurf
Works with
Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.
- The SKILL.md says: "Requires Git. The `--resolved` option of `git add` requires Git 2.56 or later. Older versions use the fallback in step 3."
- Pre-approves these tools (allowed-tools, experimental in the spec): shell(git:*).
What's in the SKILL.md
- Message Format
- Types
- Breaking Changes
- Workflow
- 1. Read the repository rules
- 2. Examine the changes
- 3. Stage the files
- 4. Write the message
- 5. Commit
- 6. Make sure that the commit is correct
- Safety Rules
Facts
- Skill name
- git-commit
- Publisher
- GitHub (community contributions) (community)
- Repo
- github/awesome-copilot
- License
- MIT
- SKILL.md size
- 1,140 words, 156 lines
- Repo stars
- 40k (as of 2026-10-24)
- SKILL.md checked
- 2026-11-07
More skills from github/awesome-copilot
- GitHub Actions Hardening: Reviews workflow files for script injection, risky triggers and over-broad permissions.
Related workflow & planning skills
- Skill Creator · Anthropic
- GitHub: Address PR Comments · OpenAI
- Skill Installer (Codex) · OpenAI
- Modern Python Tooling · Trail of Bits
- Commit (Sentry style) · Sentry
- Notion Spec to Implementation · Notion
- Brainstorming · Jesse Vincent (obra)
- Requesting Code Review · Jesse Vincent (obra)
FAQ
What does the git-commit skill do?+
Reads the diff, stages related files and writes conventional commits, splitting when needed. In its own SKILL.md, GitHub (community contributions) describes it as: "Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit."
How do I install the git-commit skill?+
Run npx skills add github/awesome-copilot --skill git-commit and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/git-commit/SKILL.md; in Codex and Cursor in .agents/skills/git-commit/.
Does Git Commit work in Codex, Cursor and Copilot, or only Claude?+
It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more. The SKILL.md notes: Requires Git. The `--resolved` option of `git add` requires Git 2.56 or later. Older versions use the fallback in step 3.
Who maintains Git Commit?+
GitHub (community contributions) (a community project), in the github/awesome-copilot repo on GitHub, last pushed 2026-10-23. License: MIT.
Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers