git-commit

Inspect git status, diffs, and logs to write repository-compliant commit messages.

29|2|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/agentty-xyz/agentty --skill git-commit-agentty-xyz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/agentty-xyz/agentty/tree/main/skills/git-commit
Command: npx skills add https://github.com/agentty-xyz/agentty --skill git-commit-agentty-xyz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many commits lack necessary context, clear titles, or adherence to repository-specific conventions which makes review, history tracing, and collaboration harder; this skill helps gather context and craft commit messages that follow the project's rules.

Core Features & Use Cases

  • Context Gathering: Instructs to collect working tree status, diffs, and recent commit logs to inform message content.
  • Message Composition Guidance: Advises a concise present-tense title, optional explanatory body, and formatting best practices to explain why and how changes were made.
  • Repository Rules Enforcement: Reminds contributors not to bypass hooks with --no-verify, to avoid Conventional Commit prefixes, and to omit Co-Authored-By trailers and AI attribution.
  • Use Case: Preparing a commit after completing a focused change so the commit message is review-ready and conforms to the repository's tooling.

Quick Start

Run git status, git diff, and git log -n 3 to collect context, then write a concise present-tense title and an optional body that explains why and how the change was made while following repository rules.

Frequently Asked Questions about git-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write a git commit message that follows repository conventions?

A repository-compliant commit message requires a concise present-tense title and an optional body explaining why and how changes were made, formatted by inspecting git status, diffs, and recent logs to adhere to project rules.

What is the best way to gather context before creating a git commit?

Gather commit context by running git status, git diff, and git log -n 3 to collect working tree changes and recent repository history, ensuring the commit message accurately reflects the current modifications.

Should I use Conventional Commit prefixes for my git commit messages?

You should avoid Conventional Commit prefixes when repository conventions require omitting them, instead writing a concise present-tense title and optional body without specific prefix formatting to maintain compliance.

Can I bypass pre-commit hooks with --no-verify when committing changes?

Bypassing pre-commit hooks with --no-verify is prohibited by repository rules enforcement, which requires all tooling and validation checks to pass naturally before changes are committed to the repository.

Do I need to include Co-Authored-By trailers or AI attribution in commit messages?

You must omit Co-Authored-By trailers and AI attribution in commit messages, as repository conventions require excluding both to maintain a clean and standardized version control history.

Why does my git commit history lack clear context and formatting?

Git commit history lacks clear context when messages are created without inspecting git diffs and recent logs, resulting in titles and bodies that fail to explain why and how changes were made according to repository conventions.