npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@intentsolutionsio/ai-commit-gen

v1.0.0

Published

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

Readme

AI Commit Generator

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

🎯 Best Practices

The AI follows these commit message best practices:

  1. Imperative mood: "add feature" not "added feature"
  2. Lowercase subject: After the type
  3. No period: At end of subject line
  4. 50 char limit: For subject line
  5. 72 char wrap: For body text
  6. Explain why: Not just what changed
  7. Reference issues: Link to issue tracker

💭 Why This Plugin?

Problem: Writing good commit messages is tedious and inconsistent

  • Takes mental energy after coding
  • Easy to write lazy messages like "fix stuff"
  • Hard to remember conventional commit format
  • Boring to explain obvious changes

Solution: AI analyzes changes and generates professional messages

  • Instant generation (no thinking required)
  • Always follows best practices
  • Identifies scope and type automatically
  • Explains changes clearly

📊 Comparison

| Task | Manual | With AI Commit Gen | Time Saved | |------|--------|-------------------|------------| | Analyze changes | 2 min | 0 sec | 2 min | | Write message | 3 min | 5 sec | ~3 min | | Format correctly | 1 min | 0 sec | 1 min | | Total | 6 min | 5 sec | ~6 min |

Per day (10 commits): Save ~60 minutes Per month: Save ~20 hours Per year: Save ~240 hours


🚀 Get Started Now

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

# Use
git add .
/commit

# Done! ✨

🤝 Related Plugins

Works great with:

  • git-commit-smart - Advanced git workflows
  • devops-automation-pack - Complete DevOps suite
  • overnight-dev - Autonomous coding with auto-commits

Version: 1.0.0 License: MIT Author: Jeremy Longshore


Stop manually writing commit messages. Let AI handle it.