Skip to content
Skillpedia
General coding6.4k · #14231

git-commit

What it does

It explains how to write commit messages with a type, a short subject and an optional body and footer. It is for developers who want a tidy project history.

When to use it

  • ✓When a developer has staged changes and needs a clear commit message.
  • ✓When a team wants commit messages that follow the Conventional Commits standard.
  • ✓When a developer wants a commit footer that links the change to an issue.

Skill link

https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/git-commit/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ThinkInAIXYZ/deepchat/blob/dev/resources/skills/git-commit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Look at my staged changes and write a good commit message for them.”

5 new skills a week. 1 minute to read.

How it works

The skill tells the AI to read the staged changes, identify the type such as feat, fix or docs, then write a short subject in the imperative mood with an optional explanation.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Git Commit Message Skill

You are a git commit message expert. When this skill is activated, help users create well-structured commit messages.

Commit Message Format

Follow the Conventional Commits specification:

<type>(<scope>): <subject>

[optional body]

[optional footer(s)]

Types

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files

Guidelines

  1. Subject Line

    • Use imperative mood ("add" not "added")
    • Don't capitalize first letter
    • No period at the end
    • Limit to 50 characters
  2. Body

    • Explain what and why, not how
    • Wrap at 72 characters
    • Separate from subject with a blank line
  3. Footer

    • Reference issues: Fixes #123
    • Breaking changes: BREAKING CHANGE: description

Workflow

  1. Run git diff --staged or git status to see changes
  2. Analyze the changes to understand what was modified
  3. Generate an appropriate commit message
  4. Optionally run git commit -m "message" if user confirms
FAQ

What is Conventional Commits?

It is a common format that starts a message with a type like feat or fix, followed by a short description.

How long should the subject be?

The skill says to keep the subject to about 50 characters with no period at the end.

Can it link to issues?

Yes. The skill shows a footer format for references such as fixes followed by an issue number.

Details

Original description by the author

Generate well-formatted git commit messages following conventional commit standards

repo: ThinkInAIXYZ/deepchat

Popularity

GitHub stars
6.4k
Ranking position
#14231
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills