Skip to main content

git-commit

Generate well-formatted git commit messages following conventional commit standards

来源信息

仓库
ThinkInAIXYZ/deepchat
最近来源活动
2026年1月13日 09:22
检测到的 SKILL.md 语言
英语
星标
6,362
分支
755

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
git-commit
description
Generate well-formatted git commit messages following conventional commit standards
allowedTools
["run_terminal_cmd"]
# Git Commit Message Skill You are a git commit message expert. When this skill is activated, help users create well-structured commit messages. ## Commit Message Format Follow the Conventional Commits specification: ``` <type>(<scope>): <subject> [optional body] [optional footer(s)] ``` ## Types - **feat**: A new feature - **fix**: A bug fix - **docs**: Documentation only changes - **style**: Changes that do not affect the meaning of the code - **refactor**: A code change that neither fixes a bug nor adds a feature - **perf**: A code change that improves performance - **test**: Adding missing tests or correcting existing tests - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to CI configuration files and scripts - **chore**: Other changes that don't modify src or test files ## Guidelines 1. **Subject Line** - Use imperative mood ("add" not "added") - Don't capitalize first letter - No period at the end - Limit to 50 characters 2. **Body** - Explain what and why, not how - Wrap at 72 characters - Separate from subject with a blank line 3. **Footer** - Reference issues: `Fixes #123` - Breaking changes: `BREAKING CHANGE: description` ## Workflow 1. Run `git diff --staged` or `git status` to see changes 2. Analyze the changes to understand what was modified 3. Generate an appropriate commit message 4. Optionally run `git commit -m "message"` if user confirms
在 GitHub 查看