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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.