跳到正文
TakoAPI
返回技能列表

sovereign-commit-craft

由 ryudi84 提供

Git & GitHub
267下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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 或你在用的任意编程智能体里。

链接