跳到正文
TakoAPI
返回技能列表

conventional-commits

由 bastos 提供

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

简介

Format commit messages using the Conventional.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

feat(auth): add OAuth2 login support

安装

clawhub install bastos/conventional-commits

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接