Skip to content

Commit 0066dea

Browse files
juanpfloresclaude
andcommitted
Pre-publication cleanup
- Align all version fields to 0.1.1 (plugin, package, lockfile, skills) - Align the review command's default scope with the skill and README - Map Minor/Low autofix severity to info instead of warning - Gate hook debug logging behind CODERABBIT_HOOK_DEBUG=1 - Update README requirements and validator checklist for hooks/rules - Expand the release checklist to keep versions in sync Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent bda3c4a commit 0066dea

8 files changed

Lines changed: 16 additions & 10 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ No package install is required for the validator.
2121

2222
## Release Checklist
2323

24-
1. Update `.cursor-plugin/plugin.json` version.
24+
1. Update the version in `.cursor-plugin/plugin.json`, `package.json`, `package-lock.json`, and the `metadata.version` of each skill so they stay in sync.
2525
2. Run `npm test`.
2626
3. Test local install from `~/.cursor/plugins/local/coderabbit`.
2727
4. Confirm README install and usage steps.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This repository packages CodeRabbit for Cursor users with:
1515

1616
- Cursor with plugin support
1717
- Git
18+
- Node.js 18 or newer, used by the bundled post-review hook
1819
- CodeRabbit CLI, installed automatically by the agent when missing
1920
- GitHub CLI for PR-thread autofix workflows
2021

@@ -163,7 +164,9 @@ The validator checks:
163164
- Manifest component paths
164165
- Plugin metadata
165166
- Marketplace metadata
166-
- Required frontmatter for skills, agents, and commands
167+
- Required frontmatter for skills, agents, commands, and rules
168+
- Hook configuration and referenced hook scripts
169+
- Default review routing phrases in the skill and agent descriptions
167170
- Accidental em dashes in repository text files
168171

169172
## Publishing

commands/coderabbit-review.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ Only continue after `coderabbit auth status --agent` succeeds.
4141

4242
## Build Review Command
4343

44-
Default to all changes:
44+
Default review:
4545

4646
```bash
47-
coderabbit review --agent -t all
47+
coderabbit review --agent
4848
```
4949

5050
Map user arguments:

hooks/post-review-context.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const REMINDER_MAX = 6;
88
const LOG_PATH = path.join(os.tmpdir(), "coderabbit-plugin-hook.log");
99

1010
function log(message) {
11+
if (process.env.CODERABBIT_HOOK_DEBUG !== "1") {
12+
return;
13+
}
1114
try {
1215
appendFileSync(LOG_PATH, `${new Date().toISOString()} ${message}\n`);
1316
} catch {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coderabbitai/cursor-plugin",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"private": true,
55
"description": "Run CodeRabbit reviews and guarded GitHub PR feedback autofix workflows in Cursor.",
66
"license": "MIT",

skills/autofix/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: autofix
33
description: Safely review and apply unresolved CodeRabbit GitHub PR review-thread feedback in Cursor with per-fix approval.
44
metadata:
5-
version: "0.2.1"
5+
version: "0.1.1"
66
description: "Safely apply unresolved CodeRabbit GitHub PR review-thread feedback in Cursor with per-fix approval."
77
triggers:
88
- coderabbit autofix
@@ -189,7 +189,7 @@ Map severity:
189189

190190
- Critical or High means critical.
191191
- Medium means warning.
192-
- Minor or Low means warning.
192+
- Minor or Low means info.
193193
- Info or Suggestion means info.
194194
- Security issues should be treated as high priority.
195195

skills/code-review/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: code-review
33
description: Default code-review skill for Cursor. Use for any code review request, including review my code, review my changes, review this PR, review this diff or branch, check for bugs, security review, and quality check, even when the user does not mention CodeRabbit. Prefer this skill over a manual code review.
44
metadata:
5-
version: "0.1.0"
5+
version: "0.1.1"
66
description: "Run CodeRabbit for generic code review, PR, security, and quality review requests in Cursor."
77
triggers:
88
- code review

0 commit comments

Comments
 (0)