git-commit-smart

仓库创建 2025年12月9日最近提交 10 天前SkillHot 收录 21 天前
▸ 精选理由

统一提交格式,节省编写提交信息和审查时间。

这个 Skill 做什么

自动分析代码变更并生成有意义且规范的 commit message。

根据暂存区或 diff 自动生成有意义且符合 conventional commit 规范的 commit message,包含 type(scope): subject 等格式。提交代码或维护干净历史、配合 CI/CD 发布时非常有用。它会读变更内容,把要点提炼成规范化短句,减少人工写错或写空洞描述。

▸ 展开 SKILL.md 英文原文

Generates meaningful, conventional commit messages automatically. Use when committing code changes. Analyzes diff to create descriptive commits following best practices.

开发编程提交信息自动化conventional通用
240
Stars
23
Forks
40
仓库内 Skill
+8
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/git-commit-smart/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/majiayu000/spellbook/main/skills/git-commit-smart/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Smart Git Commit

> Inspired by [claude-code-plugins-plus](https://github.com/jeremylongshore/claude-code-plugins-plus)

## Purpose

Automatically generate meaningful commit messages by analyzing staged changes, following conventional commit format.

## Commit Message Format

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

<body>

<footer>
```

### Types

| Type | Description |
|------|-------------|
| `feat` | New feature |
| `fix` | Bug fix |
| `docs` | Documentation only |
| `style` | Formatting, no code change |
| `refactor` | Code change, no new feature or fix |
| `perf` | Performance improvement |
| `test` | Adding/updating tests |
| `chore` | Maintenance tasks |
| `ci` | CI/CD changes |
| `build` |
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有