Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

coderabbit-review码兔评论

Agent Skill

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

总安装

570

周安装

24

GitHub Stars

1

下载量

1
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gannonh/skills --skill coderabbit-review

简介

码兔评论用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网、命令执行或文件读写。
  • 当前无详细功能描述,需进一步查阅源码了解实际能力边界。

SKILL.md

CodeRabbit Review Handler

Process CodeRabbit review comments with context-aware discretion.

Instructions

1. Initial Context

Inform the user:

I'll review the CodeRabbit comments with discretion, as CodeRabbit doesn't have access to the entire codebase and may not understand the full context.

For each comment, I'll:
- Evaluate if it's valid given our codebase context
- Accept suggestions that improve code quality
- Ignore suggestions that don't apply to our architecture
- Explain my reasoning for accept/ignore decisions

2. Run Code Rabbit

If no comments are provided, run CodeRabbit in prompt-only mode to generate comments:

# Run CodeRabbit cli
coderabbit --prompt-only

3. Evaluate Comments

  • Parse the comments
  • For each comment:

- Read the relevant file to understand context - Determine if the suggestion is valid and beneficial - Decide to accept or ignore the suggestion - Document reasoning for each decision

  • Ignore *.md files

4. Execute Fixes

Task a subagent to address the comments you've accepted

5. Validate Changes

Run relevant tests and linters to ensure code integrity:

Example:

# Run all unit tests
./scripts/test.sh unit 1 2>&1 | tail -100

# Run affected UI tests
./scripts/test.sh ui [TestName] 2>&1 | tail -100

# Run swiftlint on changed files and fix ANY issues
git diff --name-only origin/main...HEAD -- '*.swift' | xargs -r swiftlint lint --strict

6. Commit Changes

After applying changes commit your work using appropriate commit messages summarizing the changes made. Address any re-commit hook violations as needed.

7. Consolidate Results

After completion, provide a summary report:

📋 CodeRabbit Review Summary

Files Processed: {count}

Accepted Suggestions:
  {file}: {changes_made}

Ignored Suggestions:
  {file}: {reason_ignored}

Overall: {X}/{Y} suggestions applied

Common Patterns to Ignore

  • Style preferences that conflict with project conventions
  • Generic best practices that don't apply to our specific use case
  • Performance optimizations for code that isn't performance-critical
  • Accessibility suggestions for internal tools
  • Security warnings for already-validated patterns
  • Import reorganization that would break our structure

Common Patterns to Accept

  • Actual bugs (null checks, error handling)
  • Security vulnerabilities (unless false positive)
  • Resource leaks (unclosed connections, memory leaks)
  • Type safety issues (TypeScript/type hints)
  • Logic errors (off-by-one, incorrect conditions)
  • Missing error handling

Decision Framework

For each suggestion, consider:

  1. Is it correct? - Does the issue actually exist?
  2. Is it relevant? - Does it apply to our use case?
  3. Is it beneficial? - Will fixing it improve the code?
  4. Is it safe? - Could the change introduce problems?

Only apply if all answers are "yes" or the benefit clearly outweighs risks.

Important Notes

  • CodeRabbit is helpful but lacks context
  • Trust your understanding of the codebase over generic suggestions
  • Explain decisions briefly to maintain audit trail
  • Batch related changes for efficiency
  • Always run the relevant ui and unit tests, and/or create new tests to verify correctness after applying changes

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.72%
按下载量换算0

Claude

27.55%
按下载量换算0

Cursor

20.33%
按下载量换算0

Gemini CLI

9.19%
按下载量换算0

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills