smithery.ai

commitmsg

Generate a concise commit message by analyzing git diff changes

First seen Apr 10, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,426 B
  • docs SUMMARY.md 80 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Commit Message Generator

This skill analyzes the changes in your git repository and generates a concise, single-line commit message that follows conventional commit standards.

How to use this skill

When you want to create a commit message for your changes:

  1. Run the commitmsg.sh script in this directory
  2. The script will analyze the git diff of staged changes
  3. It will output a single line commit message you can use

Example usage

# Stage your changes first
git add .

# Generate commit message
./commitmsg.sh

# Use the output as your commit message
git commit -m "feat: add user authentication system"

What the script does

The commitmsg.sh script:

  • Checks if you're in a git repository
  • Gets the diff of staged changes (or working directory if nothing staged)
  • Analyzes the changed files and their content
  • Generates a concise commit message following conventional commit format
  • Outputs a single line suitable for git commit -m

Conventional commit format

The generated messages follow the pattern:

  • feat: for new features
  • fix: for bug fixes
  • docs: for documentation
  • style: for formatting changes
  • refactor: for code restructuring
  • test: for test additions
  • chore: for maintenance tasks

Each message includes a brief description of what changed.