commit

仓库创建 2026年7月28日最近提交 7 小时前SkillHot 收录 1 小时前
▸ 精选理由

生成规范提交消息并能重构混乱提交记录,便于维护历史。

这个 Skill 做什么

根据暂存差异生成 Conventional Commits 或整理成逻辑提交。

根据已暂存的 diff 自动写出符合 Conventional Commits 的提交信息,或把混乱的工作树拆成有逻辑的多次提交。适合准备推送之前、需要把改动语义化或整理历史记录时使用,能把零散修改分组、补充 scope 和描述,让代码审查更清晰、更易回滚。只要你说“写提交信息”或“整理提交”,它就会按照约定格式输出建议。

▸ 展开 SKILL.md 英文原文

Write a Conventional Commits message from the staged diff, or split a messy working tree into logical commits. Use when the user asks to commit, write a commit message, or clean up the working tree before committing.

开发编程提交信息git代码规范通用
0
Stars
0
Forks
20
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sriptcollector/toolbay-skills/main/skills/commit/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sriptcollector/toolbay-skills/main/skills/commit/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Commit

## Install

Save this file as `.claude/skills/commit/SKILL.md` in your repo (or in
`~/.claude/skills/commit/` to make it global). Claude Code auto-discovers it.
Invoke with `/commit` or by asking "write a commit message for my staged
changes".

## Overview

A drop-in Claude Code skill that writes clean, conventional commit messages from
your staged diff and, optionally, splits a messy working tree into logical
commits. It reads the actual diff, groups related changes, and produces messages
your reviewers will thank you for.

## What it does

- Reads `git diff --staged` (or the full working tree when nothing is staged).
- Infers the change type (feat, fix, refactor, docs, test, chor
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有