Sponsor Suno AI Music arrow_forward
Plugin

Ai Commit Gen

AI-powered commit message generator - analyzes your git diff and creates conventional commit messages instantly

Type
Plugin
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Version
1.10.0
Author
Jeremy Longshore

What Ai Commit Gen is

Ai Commit Gen is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.

Installing Ai Commit Gen adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.

How to install Ai Commit Gen

Claude Code

  1. Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
  2. Install the plugin: claude plugin install ai-commit-gen@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
  3. Restart the session if the new skills or commands don't appear straight away.

Claude Cowork

  1. Open Customize → Plugins and choose Add marketplace.
  2. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
  3. Find Ai Commit Gen in the list, click Install, then connect any connectors it needs from its Connectors tab.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/productivity/ai-commit-gen/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.

Never write commit messages manually again. Let AI analyze your git diff and generate perfect conventional commit messages instantly.

🎯 What This Plugin Does

Analyzes your code changes and generates professional commit messages following conventional commit standards. No more staring at git commit -m "..." wondering what to write.

Before (manual):

git add .
git status  # what did I change again?
git diff    # scroll through changes
git commit -m "updated stuff"  # 😞

After (with AI):

git add .
/commit
# ✨ Get 3 AI-generated options instantly
# ✅ Commit with one click

🚀 Quick Start

Installation

/plugin install ai-commit-gen@claude-code-plugins-plus

Usage

# Make your changes
git add .

# Generate commit message
/commit

# That's it! AI analyzes and commits for you.

💡 Features

Instant Analysis

  • Analyzes git diff automatically
  • Identifies type of changes (feat/fix/docs/etc)
  • Determines scope and impact
  • Suggests breaking change warnings

3 Generated Options

  1. Concise: Subject line only (for quick commits)
  2. Detailed: Subject + body explaining changes
  3. Comprehensive: Subject + body + footer (with issue refs)

Conventional Commits

All messages follow Conventional Commits standard:

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

<body>

<footer>

Types Supported

  • feat: New features
  • fix: Bug fixes
  • docs: Documentation changes
  • style: Code formatting
  • refactor: Code restructuring
  • perf: Performance improvements
  • test: Test updates
  • build: Build system changes
  • ci: CI/CD changes
  • chore: Maintenance tasks

📚 Examples

Example 1: New Feature

Your changes: Added user authentication

AI generates:

Option 1: feat(auth): add user authentication

Option 2: feat(auth): add user authentication

Implement JWT-based authentication with email/password login.
Includes password hashing with bcrypt and token refresh logic.

Option 3: feat(auth): add user authentication

Implement JWT-based authentication with email/password login.
Includes password hashing with bcrypt and token refresh logic.

Closes #42

Example 2: Bug Fix

Your changes: Fixed null pointer error

AI generates:

Option 1: fix(auth): handle null user in validation

Option 2: fix(auth): handle null user in validation

Previously crashed when user was null. Now returns proper
error message and 401 status code.

Option 3: fix(auth): handle null user in validation

Previously crashed when user was null. Now returns proper
error message and 401 status code.

Fixes #89

Example 3: Documentation

Your changes: Updated README

AI generates:

Option 1: docs(readme): add installation instructions

Option 2: docs(readme): add installation instructions

Include step-by-step setup guide with prerequisites
and troubleshooting section.

🎓 How It Works

  1. Analyzes git diff - Reads all staged and unstaged changes
  2. Identifies patterns - Determines type, scope, and impact
  3. Generates messages - Creates 3 commit message options
  4. You choose - Pick option 1, 2, 3, or customize
  5. Commits automatically - Runs git commit with your choice

⚡ Quick Mode

Already know what you want? Pass a custom message:

/commit "fix: resolve login timeout bug"

Commits immediately with your message (no analysis).

🔧 Advanced Usage

Amend Last Commit

/commit --amend

Regenerates message for the last commit.

Breaking Changes

AI automatically detects breaking changes and adds:

BREAKING CHANGE: API response format changed.
All clients must update to use response.data field.

Issue References

AI includes issue references when mentioned in code:

Closes #42
Fixes #89

Multiple Files

If changes span multiple areas, AI suggests splitting into separate commits:

⚠️  Changes affect multiple areas:
  - Authentication (src/auth/)
  - Database (src/db/)

Suggestion: Commit separately for cleaner history

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Ai Commit Gen?

Ai Commit Gen is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. AI-powered commit message generator - analyzes your git diff and creates conventional commit messages instantly

How do I install Ai Commit Gen in Claude Code?

Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install ai-commit-gen@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.

Can I use Ai Commit Gen in Claude Cowork?

Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Ai Commit Gen in the list, click Install, then connect any connectors it needs from its Connectors tab.

Is Ai Commit Gen safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.