Skip to content
Skill

Git commit

Writes Conventional Commits messages and atomic commit plans for Go projects

Git commit is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
90
Last commit
License
MIT
Listing updated

Similar skills

About Git commit

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

What it does

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

Git commit 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.

More from eduardo-sl/go-agent-skills

  1. Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown

    • Open source
    • 90 GitHub stars
    • Developer tools
  2. Reviews Go project structure, dependency direction and module boundaries

    • Open source
    • 90 GitHub stars
    • Developer tools
  3. Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes

    • Open source
    • 90 GitHub stars
    • Developer tools
  4. Guides Go code toward constructor injection, explicit wiring and no global state

    • Open source
    • 90 GitHub stars
    • Developer tools
  5. Guides Go code toward idiomatic design patterns like functional options and factories

    • Open source
    • 90 GitHub stars
    • Developer tools
  6. Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits

    • Open source
    • 90 GitHub stars
    • Developer tools