金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

generating-commit-messages

generating-commit-messages 是面向开发运维的 Agent Skill,来自 ahmedelgabri/dotfiles。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Generates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.

SKILL.md

下载 MD ↓
namegenerating-commit-messages
descriptionGenerates clear commit messages from Git diffs. Use when writing commit messages or reviewing staged changes.

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.

来源:ahmedelgabri/dotfiles · Unlicense 许可 · 许可原文 · MD 为来源页保存的历史版本