Problem
/pre-commit has no automated code review step. Separately, /pre-release Phase 3 currently gates on CodeRabbit as a manual confirmation item — now that the review moves to the commit flow, that reference is redundant.
Proposed Solution
-
Rename .claude/commands/precommit.md to .claude/commands/pre-commit.md and .claude/commands/prerelease.md to .claude/commands/pre-release.md.
-
Add a CodeRabbit review step to .claude/commands/pre-commit.md after all checks pass: run coderabbit review --type uncommitted --prompt-only.
- If actionable/serious findings are reported, stop and address them before proposing the commit.
- If only nitpick-level findings, report them and continue to the commit proposal.
- Skip gracefully with a note if the CodeRabbit CLI is not installed.
-
Update the internal /pre-commit reference inside .claude/commands/pre-release.md (Phase 2).
-
Remove the CodeRabbit confirmation item from Phase 3 of .claude/commands/pre-release.md. By the time a release is being tagged, all commits have already passed the /pre-commit review gate.
Acceptance Criteria
- Both command files renamed to use hyphenated convention
/pre-commit runs coderabbit review --type uncommitted --prompt-only after checks pass; blocks on serious findings, continues on nitpicks
/pre-release Phase 3 no longer references CodeRabbit as a manual gate
/pre-release Phase 2 references /pre-commit by its new name
Problem
/pre-commithas no automated code review step. Separately,/pre-releasePhase 3 currently gates on CodeRabbit as a manual confirmation item — now that the review moves to the commit flow, that reference is redundant.Proposed Solution
Rename
.claude/commands/precommit.mdto.claude/commands/pre-commit.mdand.claude/commands/prerelease.mdto.claude/commands/pre-release.md.Add a CodeRabbit review step to
.claude/commands/pre-commit.mdafter all checks pass: runcoderabbit review --type uncommitted --prompt-only.Update the internal
/pre-commitreference inside.claude/commands/pre-release.md(Phase 2).Remove the CodeRabbit confirmation item from Phase 3 of
.claude/commands/pre-release.md. By the time a release is being tagged, all commits have already passed the/pre-commitreview gate.Acceptance Criteria
/pre-commitrunscoderabbit review --type uncommitted --prompt-onlyafter checks pass; blocks on serious findings, continues on nitpicks/pre-releasePhase 3 no longer references CodeRabbit as a manual gate/pre-releasePhase 2 references/pre-commitby its new name