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

conventional-commits

bởi bastos

Git & GitHub
7.1kLượt tải do clawskills.sh công bố
4Sao
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

Format commit messages using the Conventional.

Mô tả

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

Formats commit messages according to the Conventional Commits specification, which maps commit types like feat and fix to semantic version increments. Structured messages enable automated changelog generation and release tooling.

Structured commit types let release tools like semantic-release determine version bumps automatically without manual tagging or release notes.

Khi nào nên dùng

  • Writing a commit message for a new feature
  • Marking a breaking API change with the correct notation
  • Scoping a bug fix to a specific module
  • Preparing commits that feed into automated changelog tools
  • Standardizing commit history across a team

Quy trình ví dụ

ĐẦU VÀO

User asks: write a commit message for adding OAuth2 login support

AGENT
  1. 1

    Identifies the change as a new feature

  2. 2

    Selects the feat type with an appropriate scope (auth)

  3. 3

    Writes the description in imperative mood, lowercase, no trailing period

  4. 4

    Checks whether any breaking changes require the ! flag or BREAKING CHANGE footer

ĐẦU RA

feat(auth): add OAuth2 login support

Cài đặt

clawhub install bastos/conventional-commits

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