其他

commit-helper

cockroachdb/cockroach

Help create git commits and PRs with properly formatted messages and release notes following CockroachDB conventions. Use when committing changes or creating pull requests.

  • 642 次安装
  • 3.3万 星标
  • 收录于

安装命令

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

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
  4. Write the subject line: Imperative mood, no period, under 72 characters
  5. Write the body: Explain the before/after, why the change was needed
  6. Add issue references: Include Resolves/Epic as appropriate
  7. Write the release note: Clear, user-focused description of the change
  8. Create the commit using the properly formatted message

Commit Message Structure