Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sovereign-commit-craft

bởi ryudi84

Git & GitHub
267Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Git commit message expert.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Write a commit message for this diff that adds Redis caching to the user profile endpoint

AGENT
  1. 1

    Reads the diff and inventories added, modified, and removed files and functions

  2. 2

    Identifies the primary theme and selects the appropriate commit type and scope

  3. 3

    Checks for breaking changes and determines which parties are affected

  4. 4

    Drafts a subject line under 72 characters in imperative mood

  5. 5

    Writes a body explaining why caching was added and appends relevant footers

ĐẦU RA

A complete conventional commit message: perf(users): cache profile queries to reduce database load, with a body explaining the motivation and any issue references

Cài đặt

clawhub install ryudi84/sovereign-commit-craft

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết