Skip to content
AI & Agents
Skill

/git-commit

Create well-structured git commits with conventional commit messages. Use when asked to commit changes, prepare a commit, or stage and push code.

BOOST
From plugin
atlas-agents
58713 skills
Install
$ npx -y skills add agulli/atlas-agents --skill git-commit --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/git-commit

Context preview

The summary Claude sees to decide when to auto-load this skill.

Create well-structured git commits with conventional commit messages. Use when asked to commit changes, prepare a commit, or stage and push code.

SKILL.md

git-commit.SKILL.md
name: git-commit
description: Create well-structured git commits with conventional commit messages. Use when asked to commit changes, prepare a commit, or stage and push code.
license: MIT
compatibility: Requires git
allowed-tools: Bash(git:*)

Process

1. **Run `git status`** to see all changed files. Read the output carefully. 2. **Run `git diff --stat`** to understand the scope of the change. 3. **Group related changes.** If the diff contains unrelated changes (e.g., a bug fix AND a new feature), create separate commits. Do not bundle unrelated work. 4. **Stage files intentionally.** Use `git add <specific-files>`, never `git add .` unless every changed file belongs in the same logical commit. 5. **Write the commit message** using Conventional Commits format:

   <type>(<scope>): <description>

   <body — explain WHY, not WHAT>

   <footer — references, breaking changes>

Types: `feat`, `fix`, `refactor`, `docs`, `test`, `chore`, `perf`, `ci` 6. **Verify before committing.** Run `git diff --cached` to review exactly what will be committed. Read the staged diff. 7. **Commit.** Run `git commit -m "..."` with the message.

Rationalizations

| Excuse | Rebuttal | |--------|----------| | "I'll just use `git add .` to save time" | Staging everything blindly leads to committing debug files, env vars, and unrelated changes. Stage intentionally. | | "The message 'fix stuff' is fine for now" | Every commit message is permanent history. Write it properly the first time. | | "I'll squash these later" | You won't. Write clean commits now. |

Verification

  • [ ] `git diff --cached` output was reviewed before committing
  • [ ] Commit message follows Conventional Commits format
  • [ ] No unrelated changes were bundled into a single commit
  • [ ] No `.env`, `__pycache__`, or build artifacts were staged
Read more
Ships withatlas-agents

This repository contains the source code, examples, and project implementations for the book "Hands-on AI Agents" — a practical, code-first guide to building AI agents and, more importantly, putting them into production.

Get the whole plugin

Other skills on atlas-agents.