sovereign-commit-craft
由 ryudi84 提供
Git & GitHub简介
Git commit message expert.
描述
该技能的功能
Analyzes git diffs and staged changes to generate conventional commit messages, changelogs, release notes, and pull request descriptions. Enforces the Conventional Commits specification and provides SemVer guidance based on commit types.
Covers the full git documentation workflow in one place, from individual commit messages to changelogs and PR descriptions, with built-in Conventional Commits enforcement and version bump reasoning.
何时使用
- Generating a commit message from a staged diff
- Writing a PR description before opening a code review
- Drafting release notes when cutting a new version
- Building a changelog from a range of commits
- Reviewing existing commit messages for spec compliance
示例工作流
User asks: Write a commit message for this diff that adds Redis caching to the user profile endpoint
- 1
Reads the diff and inventories added, modified, and removed files and functions
- 2
Identifies the primary theme and selects the appropriate commit type and scope
- 3
Checks for breaking changes and determines which parties are affected
- 4
Drafts a subject line under 72 characters in imperative mood
- 5
Writes a body explaining why caching was added and appends relevant footers
A complete conventional commit message: perf(users): cache profile queries to reduce database load, with a body explaining the motivation and any issue references
安装
clawhub install ryudi84/sovereign-commit-craft运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。