multiAI Summary Pending

commit-drafter

Automatically draft commit messages by analyzing git status and staged changes

231 stars

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/commit-drafter/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/abejitsu/commit-drafter/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/commit-drafter/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How commit-drafter Compares

Feature / Agentcommit-drafterStandard Approach
Platform SupportmultiLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automatically draft commit messages by analyzing git status and staged changes

Which AI agents support this skill?

This skill is compatible with multi.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Commit Message Drafter

Automatically generates commit messages by analyzing your staged changes.

## What It Does

- Analyzes git status and staged changes
- Extracts full diff content with statistics
- Provides structured context to Claude (the AI)
- Claude writes a meaningful commit message based on actual changes

## Usage

Just say:
- "draft a commit for me to review"
- "create a commit message"
- "suggest a commit message"

The skill will automatically:
1. Check git status
2. Extract file changes and statistics
3. Get the full diff content
4. Present context to Claude
5. Claude analyzes the changes and writes a clear, descriptive commit message
6. Return it for your review

## How It Works

Unlike template-based commit tools that just output placeholders, this skill provides **real git context** to Claude (the AI), who then writes a **meaningful commit message** based on understanding the actual code changes.

The script outputs:
- Files changed (added, modified, deleted, renamed)
- Change statistics (+insertions, -deletions)
- Full diff content showing exact changes
- Instructions for Claude to write the commit

Claude then reads this context and writes a commit message that actually describes what changed and why.

## Value

No more staring at `git diff` trying to write a commit message. No more useless templates with [TODO] placeholders. Claude reads your changes, understands them, and drafts a meaningful message automatically.