搜索

PythonReactSEOPDF
GitHub Skill

commit-drafter

Automatically draft commit messages by analyzing git status and staged changes

aiskillstore☆ 124 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!