首页/ AI 技能 / @skilllib/skill-2117939930272416027
Skill站外收录 @skilllib/skill-2117939930272416027

generating-commit-messages

根据 Git 差异内容自动生成符合规范的提交信息,包含简洁明了的主题行与结构化描述,支持常规提交格式、动词开头、原因说明及上下文引用,适用于代码审查与版本管理场景。

0.0 (0) 16 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# Generating Commit Messages ## Instructions 1. Run `command git diff` to see changes that will be committed (or `command git diff --staged` if they have already been staged). 2. Suggest a commit message with: - A subject of 72 characters or less in Conventional Commits format (eg. "docs: add migration notes" or "fix: avoid double-render in list component"). - A detailed description, wrapped to 72 characters, using basic Markdown syntax. ## Best practices - Subjects should start with a type (eg. "docs", "fix", "feat", "chore" etc) following by a statement beginning with a verb (eg. "add", "remove", "rename" etc). - Explain what and why, not how. - Note alternatives which were considered but not implemented. - Include references to previous commits or other artifacts (documentation, PRs) that are relevant.

评论 0

还没有评论,来抢沙发。