Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

coderabbit-common-errorsCoderabbit 常见错误

Agent Skill

coderabbit-common-errors 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

612

周安装

26

GitHub Stars

2,126

下载量

214
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill coderabbit-common-errors

简介

coderabbit-common-errors 提供常见问题的快速排查指南,涵盖安装与配置故障。

  • 适用于解决 review 未触发、权限不足或 YAML 语法错误等典型场景。
  • 按症状分类跳转,提供分步诊断与修复操作说明。
  • 安装前应确认 .coderabbit.yaml 存在且格式正确,避免解析失败。
  • 建议定期检查 CodeRabbit 官方文档更新,获取最新 troubleshooting 方法。

SKILL.md

CodeRabbit Common Errors

Overview

Quick-reference troubleshooting guide for the most common CodeRabbit issues. CodeRabbit is a GitHub/GitLab App that reviews PRs automatically -- most problems are configuration issues, permission gaps, or YAML syntax errors rather than API failures.

Prerequisites

  • CodeRabbit GitHub App installed on repository
  • Access to GitHub repository settings
  • .coderabbit.yaml in repository root

Instructions

Step 1: Identify Your Issue Category

SymptomCategoryJump To
No review posted on PRInstallation/PermissionsError 1
Review on some PRs but not othersConfigurationError 2-4
Too many comments / noiseTuningError 5
Config changes not taking effectYAML IssuesError 6
Bot not responding to commandsInteractionError 7
Review takes too longPerformanceError 8

Error 1: No Review Posted on PR

Symptoms: PR is open, targeting main, but no CodeRabbit review appears after 15+ minutes.

Diagnosis:

set -euo pipefail
# Check if CodeRabbit App is installed on this repo
gh api repos/OWNER/REPO/installation --jq '.app_slug' 2>/dev/null || echo "NOT INSTALLED"

# Check if the PR author has a CodeRabbit seat
# Go to app.coderabbit.ai > Organization > Seats

Causes & Solutions:

  1. App not installed: Visit https://github.com/apps/coderabbitai and install on the repo
  2. Repo not selected: In GitHub > Installed Apps > CodeRabbit, add the specific repository
  3. No seat assigned: The PR author needs a CodeRabbit seat (app.coderabbit.ai > Subscription)
  4. Private repo without org plan: Free tier only works on public repos

Error 2: Reviews Only on Some Branches

Symptoms: Reviews appear on PRs to main but not develop or feature branches.

Cause: base_branches filter in configuration only includes specific branches.

Fix:

# .coderabbit.yaml
reviews:
  auto_review:
    enabled: true
    base_branches:
      - main
      - develop
      - "release/*"     # Glob patterns work
      - "hotfix/*"
      # Remove base_branches entirely to review PRs to ALL branches

Error 3: Reviews Skip Certain PRs

Symptoms: Some PRs get reviewed, others are silently skipped.

Diagnosis checklist:

# Check these .coderabbit.yaml settings:
reviews:
  auto_review:
    drafts: false           # Draft PRs are skipped (expected behavior)
    ignore_title_keywords:  # PRs with these keywords in title are skipped
      - "WIP"
      - "DO NOT MERGE"
      - "chore: bump"      # This skips dependency update PRs

# Also check: Is the PR author a bot?
# Bot PRs (dependabot, renovate) may not trigger reviews
# unless bot accounts have CodeRabbit seats

Error 4: Reviews Include Generated/Unwanted Files

Symptoms: CodeRabbit comments on lock files, generated code, or build output.

Fix:

# .coderabbit.yaml - Add path filters
reviews:
  path_filters:
    - "!**/*.lock"
    - "!**/package-lock.json"
    - "!**/pnpm-lock.yaml"
    - "!**/*.snap"
    - "!**/generated/**"
    - "!dist/**"
    - "!**/*.min.js"
    - "!vendor/**"
    - "!**/*.generated.*"

Error 5: Too Many Comments / Review Noise

Symptoms: CodeRabbit posts 10-20+ comments per PR, most are nitpicks.

Fix:

# .coderabbit.yaml - Reduce comment volume
reviews:
  profile: "chill"           # Fewer comments, only significant issues
  # Options: chill (fewest) → assertive (balanced) → nitpicky (most)

  # Give context to prevent misguided comments
  path_instructions:
    - path: "src/legacy/**"
      instructions: |
        This is legacy code. Only flag security issues and bugs.
        Do NOT suggest refactoring or style changes.
    - path: "scripts/**"
      instructions: |
        One-off scripts. Do not enforce production standards.
        Only flag: security issues, destructive ops without confirmation.

Error 6: Configuration Changes Not Taking Effect

Symptoms: You updated .coderabbit.yaml but reviews behave the same way.

Diagnosis:

# In a PR comment, run:
@coderabbitai configuration

# CodeRabbit will reply with the active configuration as YAML.
# Compare with your .coderabbit.yaml to find discrepancies.

# Common causes:
# 1. YAML syntax error - entire config is ignored silently
# 2. Config not on the base branch - CodeRabbit reads config from the PR's base branch
# 3. Organization-level config overriding repo config
# 4. Wrong field name (e.g., "review_instructions" instead of "path_instructions")

YAML validation:

set -euo pipefail
# Validate YAML syntax
python3 -c "import yaml; yaml.safe_load(open('.coderabbit.yaml'))" && echo "YAML OK" || echo "YAML INVALID"

# Or use an online validator: https://www.yamllint.com/

Error 7: Bot Not Responding to PR Comments

Symptoms: You post @coderabbitai full review but nothing happens.

Causes & Solutions:

  1. Typo in mention: Must be exactly @coderabbitai (one word, lowercase)
  2. Comment in wrong location: Commands work in PR comments, not commit comments
  3. Chat disabled: Ensure .coderabbit.yaml has chat: auto_reply: true
  4. Rate limited: Too many commands in quick succession; wait a few minutes
# .coderabbit.yaml - Ensure chat is enabled
chat:
  auto_reply: true    # Required for @coderabbitai commands to work

Error 8: Review Takes Too Long (15+ Minutes)

Symptoms: PR opened but CodeRabbit review not posted after 15 minutes.

Causes:

PR SizeExpected TimeAction
< 200 lines2-3 minNormal, wait
200-500 lines3-7 minNormal, wait
500-1000 lines7-12 minConsider splitting
1000+ lines12-15+ minSplit PR or be patient

If it is been 20+ minutes on a small PR:

1. Check CodeRabbit status: https://status.coderabbit.ai
2. Try: @coderabbitai full review (force re-review)
3. Check GitHub App installation hasn't been suspended
4. Contact support via CodeRabbit Discord or email

Step 2: Verify Fix

After applying a fix, create or update a PR and confirm CodeRabbit behaves as expected:

set -euo pipefail
# Force a re-review on an existing PR
gh pr comment PR_NUMBER --body "@coderabbitai full review"

# Or check the active config
gh pr comment PR_NUMBER --body "@coderabbitai configuration"

Output

  • Issue identified from symptom-based diagnosis
  • Configuration fix applied to .coderabbit.yaml
  • Fix verified via re-review or configuration check

Error Handling

IssueCauseSolution
All reviews stopped suddenlyGitHub App permissions revokedReinstall CodeRabbit GitHub App
"This repository is not configured"Repo removed from App accessRe-add repo in GitHub App settings
YAML parse error in logsInvalid .coderabbit.yamlValidate YAML syntax before committing
Stale reviews on old PRsPR was created before config changeRun @coderabbitai full review

Resources

Next Steps

For comprehensive debugging, see coderabbit-debug-bundle.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.14%
按下载量换算71

Claude

30.62%
按下载量换算66

Cursor

19.8%
按下载量换算42

Gemini CLI

10.31%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills