Agent Skillsredis/go-redis › commit-style

commit-style

GitHub

指导在 go-redis 仓库中撰写符合 Conventional Commits 规范的提交信息和 PR,包含类型、作用域及破坏性变更语法,并明确禁止添加 AI 署名行。

.claude/skills/commit-style/SKILL.md redis/go-redis

Trigger Scenarios

需要编写 Git 提交信息时 准备打开 Pull Request 时

Install

npx skills add redis/go-redis --skill commit-style -g -y
More Options

Non-standard path

npx skills add https://github.com/redis/go-redis/tree/master/.claude/skills/commit-style -g -y

Use without installing

npx skills use redis/go-redis@commit-style

指定 Agent (Claude Code)

npx skills add redis/go-redis --skill commit-style -a claude-code -g -y

安装 repo 全部 skill

npx skills add redis/go-redis --all -g -y

预览 repo 内 skill

npx skills add redis/go-redis --list

SKILL.md

Frontmatter
{
    "name": "commit-style",
    "description": "Use when writing a commit message or opening a PR in the go-redis repo — covers the Conventional-Commit format, the repo's scope vocabulary (pool, conn, sentinel, command, …), breaking-change syntax, and the rule that NO AI-attribution trailer is added."
}

go-redis commit messages

Conventional Commits, short and exact — <type>(<scope>): <imperative summary>. Subject ≤50 chars (hard cap 72), imperative mood ("add", not "added"), no trailing period. Body only when the why isn't obvious from the diff (breaking change, security fix, migration, non-obvious rationale); wrap at 72, bullets -. State why, not what — the diff says what.

  • Types: feat, fix, refactor, perf, docs, test, chore (also build, ci, style, revert).
  • Scope = the subsystem touched, lowercase: pool, conn, pubsub, sentinel, retry, command/cmd, vectorset, otel, streams, push, deps, ci, tests, docs. Omit scope only for genuinely cross-cutting changes.
  • Breaking change: feat(scope)!: ... plus a BREAKING CHANGE: body line.
  • Issues/PRs: reference at the end — Closes #42, Refs #17.

No attribution trailer

Do not add Co-Authored-By: Claude …, "Generated with Claude Code", or any AI-attribution line to commits or PR bodies in this repo. This overrides both the default harness behavior (which appends such trailers) and any other commit skill.

Examples

fix(pool): release wantConn slot on dial timeout

The waiter stayed queued after the dial deadline fired, leaking a
slot per timed-out connection under load.

Closes #3812
feat(streams): support explicit LIMIT 0 in XTRIM trimming

Version History

  • ceba4fb Current 2026-08-20 20:09

Same Skill Collection

.claude/skills/add-command/SKILL.md
.claude/skills/testing/SKILL.md
.claude/skills/update-ci-image/SKILL.md
.claude/skills/prepare-release/SKILL.md

Metadata

Files
0
Version
6c87f94
Hash
54e77568
Indexed
2026-08-20 20:09

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 06:53
浙ICP备14020137号-1 $Carte des visiteurs$