commit-helper by cockroachdb/cockroach
npx skills add https://github.com/cockroachdb/cockroach --skill commit-helper帮助用户创建符合 CockroachDB 规范的格式化提交信息和发布说明。
git diff --staged 或 git diff 以了解修改内容基本格式:
package: 祈使语气的标题,不加句号
详细解释变更内容、变更原因及其对用户的影响。
说明之前存在的问题以及此提交如何解决它。
包含关于考虑过的替代方案的上下文,以及任何副作用或后果。
Resolves: #123
Epic: CRDB-357
Release note (category): 面向用户的变更描述
使用过去或现在时态解释变更内容、用户如何看到变更以及其重要性。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
何时包含发布说明:
何时排除发布说明:
crdb_internal. 开头的内部设置有效类别:
backward-incompatible change - 稳定接口的破坏性变更enterprise change - 需要企业许可证的功能ops change - 面向操作员的命令/端点(日志记录、指标、CLI 标志)cli change - 面向开发者/贡献者的命令(SQL 外壳、调试工具)sql change - SQL 语句、函数、系统目录ui change - DB 控制台变更security update - 安全功能变更performance improvement - 性能增强cluster virtualization - 多租户基础设施bug fix - 问题修复general change - 不适用于其他类别的变更build change - 源代码构建要求描述指南:
示例:
良好的错误修复:
Release note (bug fix): 修复了 v19.2.3 中引入的一个错误,该错误导致在多个节点尝试填充结果时,CREATE TABLE ... AS 结果中出现重复行。
良好的功能:
Release note (enterprise change): 将 kv.closed_timestamp.target_duration 集群设置的默认间隔从 30 秒缩短至 3 秒。这使得追随者读取可以读取过去 4.8 秒的数据,比之前的 48 秒窗口短得多。
Resolves: #123 - 在 PR 合并时自动关闭问题See also: #456, #789 - 交叉引用问题Epic: CRDB-357 - 链接到史诗backward-incompatible change 类别每周安装次数
134
代码仓库
GitHub 星标数
32.0K
首次出现时间
2026 年 1 月 21 日
安全审计
已安装于
gemini-cli122
claude-code121
opencode120
codex118
cursor115
antigravity108
Help the user create properly formatted commit messages and release notes that follow CockroachDB conventions.
git diff --staged or git diff to understand what was modifiedBasic Format:
package: imperative title without period
Detailed explanation of what changed, why it changed, and
how it impacts users. Explain the problem that existed
before and how this commit solves it.
Include context about alternate approaches considered and
any side effects or consequences.
Resolves: #123
Epic: CRDB-357
Release note (category): Description of user-facing change
in past or present tense explaining what changed, how users
can see the change, and why it's important.
Key Requirements:
When to include release notes:
When to exclude release notes:
crdb_internal.Valid Categories:
backward-incompatible change - Breaking changes to stable interfacesenterprise change - Features requiring enterprise licenseops change - Commands/endpoints for operators (logging, metrics, CLI flags)cli change - Commands for developers/contributors (SQL shells, debug tools)sql change - SQL statements, functions, system catalogsui change - DB Console changessecurity update - Security feature changesperformance improvement - Performance enhancementscluster virtualization - Multi-tenancy infrastructureDescription guidelines:
Examples:
Good bug fix:
Release note (bug fix): Fixed a bug introduced in v19.2.3 that
caused duplicate rows in CREATE TABLE ... AS results when multiple
nodes attempt to populate the results.
Good feature:
Release note (enterprise change): Shortened the default interval
for the kv.closed_timestamp.target_duration cluster setting from
30s to 3s. This allows follower reads at 4.8 seconds in the past,
a much shorter window than the previous 48 seconds.
Resolves: #123 - Auto-closes issue on PR mergeSee also: #456, #789 - Cross-references issuesEpic: CRDB-357 - Links to epicbackward-incompatible change category for any breaking changesWeekly Installs
134
Repository
GitHub Stars
32.0K
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli122
claude-code121
opencode120
codex118
cursor115
antigravity108
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
46,600 周安装
bug fix - Problem fixesgeneral change - Changes that don't fit elsewherebuild change - Source build requirements