# Git commit

> Git commit is an open-source agent skill for developer tools. Writes Conventional Commits messages and atomic commit plans for Go projects. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/eduardo-sl/go-agent-skills/tree/main/skills/(workflow)/git-commit
- **Repository:** https://github.com/eduardo-sl/go-agent-skills
- **GitHub stars:** 90
- **License:** MIT
- **Skill name:** git-commit
- **Collection:** https://github.com/eduardo-sl/go-agent-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through producing git commits for Go codebases using the Conventional Commits format. It covers choosing a type and scope, writing an imperative subject line under 72 characters, adding a body that explains why a change was made, and footers for issue references and breaking changes.

It also sets out a workflow: stage specific files rather than everything, review the staged diff, and confirm each commit builds and passes tests. The skill suggests running formatting, linting, build, race-enabled tests and module tidying before committing, and lists files that should stay out of commits such as generated code, IDE settings, secrets and vendored dependencies.

For history cleanup, it shows how an agent can create fixup commits and autosquash them non-interactively, while leaving interactive rebases to the developer. The skill expects git and a Go toolchain with goimports, golangci-lint and go modules available in the shell.

## When your agent uses it

> Structured git commit messages following Conventional Commits format for Go projects. Generates well-scoped, atomic commits with clear descriptions. Use when committing changes, writing commit messages, preparing PRs, or reviewing commit history quality. Trigger examples: "commit these changes", "create commit", "commit message", "prepare PR", "squash commits". Not for: code review (go-code-review), changelog generation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/eduardo-sl/go-agent-skills/tree/HEAD/skills/(workflow)/git-commit)
- [Asks for: Read, Glob, Grep, Bash(git:*)](https://github.com/eduardo-sl/go-agent-skills/blob/HEAD/skills/(workflow)/git-commit/SKILL.md)
- [License: MIT](https://github.com/eduardo-sl/go-agent-skills/tree/HEAD/skills/(workflow)/git-commit)

## Features

- **Conventional Commit format:** Sets out the type, scope, subject and footer structure for commit messages.
- **Subject and body rules:** Defines imperative mood, length limits, wrapping and what the body should explain.
- **Atomic commit splitting:** Shows how to break a large change into reviewable, independently revertable commits.
- **Pre-commit verification:** Lists format, lint, build, race test and module tidy steps to run before committing.
- **Non-interactive fixup squash:** Explains creating fixup commits and autosquashing them without opening an editor.
- **Files to exclude:** Lists generated files, IDE folders, secrets, binaries and vendor directories to keep out of commits.

## Good for

- Write a commit message for my staged Go changes
- Split a large feature into atomic commits
- Prepare my branch for a pull request by squashing fixups
- Check that my commit builds and passes tests before committing
- Document a breaking API change in a commit footer

## Install

### Any agent

Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.

## FAQ

### What does the skill need to run?

It requires git. The allowed tools are Read, Glob, Grep and git commands, and it is written for Go projects.

### Can the agent perform an interactive rebase?

No. The skill says interactive rebase needs an editor, so the agent prepares fixups non-interactively and asks the developer to run the reorder or reword step.

### Does Git commit include scripts?

No. The skill is a single SKILL.md file with no bundled scripts.

### Does Git commit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Git commit?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Git commit?

The closest alternatives to Git commit are Conventional commit, Conventional commit, Conventional commits, Git commit and Autocommit.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Conventional commit](https://ai-powered.com/skills/conventional-commit-k1-c): Conventional commit is an open-source agent skill for developer tools.
- [Conventional commit](https://ai-powered.com/skills/conventional-commit): Conventional commit is an open-source agent skill for developer tools.
- [Conventional commits](https://ai-powered.com/skills/conventional-commits): Conventional commits is an open-source agent skill for developer tools.
- [Git commit](https://ai-powered.com/skills/git-commit): Git commit is an open-source agent skill for developer tools.
- [Autocommit](https://ai-powered.com/skills/autocommit): Autocommit is an open-source agent skill for developer tools.
- [Commit](https://ai-powered.com/skills/commit): Commit is an open-source agent skill for developer tools.
- [Conventional commit review](https://ai-powered.com/skills/conventional-commit-review): Conventional commit review is an open-source agent skill for developer tools.
- [Commit message storyteller](https://ai-powered.com/skills/commit-message-storyteller): Commit message storyteller is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/git-commit-eduardo-sl
