Token导航 LogoToken导航TokenDH.com
运维和基础设施只读github未标认证来源可访问clear审计通过

commit-helper提交助手

Agent Skill

commit-helper 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,149

周安装

393

GitHub Stars

32,071

下载量

3,207
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:commit-helper(提交助手)
来源仓库:https://github.com/cockroachdb/cockroach
仓库路径:skills/commit-helper
安装命令:
npx skills add https://github.com/cockroachdb/cockroach --skill commit-helper
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/cockroachdb/cockroach --skill commit-helper

简介

commit-helper 用于辅助生成符合 CockroachDB 规范的提交信息和发布说明,提升代码合并且便于追踪变更。

  • 它适用于需要标准化提交格式、关联 Issue 或准备发布文档的开发流程。
  • 通过分析已暂存的 git diff 自动识别修改内容,并引导用户补充必要元数据。
  • 使用时需确保本地有有效的 git 工作区,且能访问当前分支的变更记录。
  • 生成的提交信息仅供审阅参考,最终仍需人工复核是否符合团队约定。

SKILL.md

CockroachDB Commit Helper

Help the user create properly formatted commit messages and release notes that follow CockroachDB conventions.

Workflow

  1. Analyze the changes: Run git diff --staged or git diff to understand what was modified
  2. Determine the package prefix: Identify the primary package affected
  3. Ask the user for:

- Issue/epic number if not already known - Whether release notes are needed and what category fits best

  1. Write the subject line: Imperative mood, no period, under 72 characters
  2. Write the body: Explain the before/after, why the change was needed
  3. Add issue references: Include Resolves/Epic as appropriate
  4. Write the release note: Clear, user-focused description of the change
  5. Create the commit using the properly formatted message

Commit Message Structure

Basic 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:

  • Must include release note annotation (even if "Release note: None")
  • Must include issue or epic reference
  • Must separate subject from body with blank line
  • Recommended prefix subject with affected package/area
  • Recommended use imperative mood in subject (e.g. "fix bug" not "fixes bug")
  • Recommended wrap body at 72-100 characters

Release Note Categories

When to include release notes:

  • Changes to user interaction or experience
  • Changes to product behavior (performance, command responses, architecture)
  • Bug fixes affecting external users

When to exclude release notes:

  • Internal refactors, testing, infrastructure work
  • Code that's too immature for docs (private preview features)
  • Internal settings beginning with crdb_internal.
  • Functionality not accessible to external users

Valid Categories:

  • backward-incompatible change - Breaking changes to stable interfaces
  • enterprise change - Features requiring enterprise license
  • ops 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 catalogs
  • ui change - DB Console changes
  • security update - Security feature changes
  • performance improvement - Performance enhancements
  • cluster virtualization - Multi-tenancy infrastructure
  • bug fix - Problem fixes
  • general change - Changes that don't fit elsewhere
  • build change - Source build requirements

Release Note Best Practices

Description guidelines:

  • Default to more information rather than less
  • Explain what changed, how it changed, and why it's relevant
  • Use past tense ("Added", "Fixed") or present tense ("CockroachDB now supports")
  • For bug fixes: describe cause, symptoms, and affected versions
  • Note if change is part of broader roadmap feature

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.

Issue References

  • Resolves: #123 - Auto-closes issue on PR merge
  • See also: #456, #789 - Cross-references issues
  • Epic: CRDB-357 - Links to epic

How to Avoid Common Pitfalls

  • Always include a release note annotation (even "Release note: None")
  • Use only valid category names from the list above
  • Keep release notes focused on user-facing information
  • Write specific descriptions that explain the impact to users
  • Use backward-incompatible change category for any breaking changes
  • End subject lines without punctuation
  • Explain the "why" behind changes, not just the "what"

Pull Request Guidelines

  • Create PRs from your personal fork, not directly on cockroachdb/cockroach
  • Single-commit PRs: PR title should match commit title, PR body should match commit body
  • Multi-commit PRs: The body should summarize the end goal that the set of commits achieves and give the reader the context necessary to review the PR commit by commit (for example, the first commits might get refactors out of the way so that the last commit can hook everything up). When there isn't an overarching connection between the commits (maybe the PR groups a few mechanical changes that are not related) it is fine to say that the individual commits speak for themselves.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.54%
按下载量换算915

Gemini CLI

22.47%
按下载量换算721

Cursor

18.46%
按下载量换算592

Antigravity

12.27%
按下载量换算393

Codex

7.53%
按下载量换算241

OpenCode

3.01%
按下载量换算97

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills