Skip to content

Add CodeRabbit review skill#310

Open
juanpflores wants to merge 3 commits intoopenai:mainfrom
juanpflores:adds-coderabbit-skill
Open

Add CodeRabbit review skill#310
juanpflores wants to merge 3 commits intoopenai:mainfrom
juanpflores:adds-coderabbit-skill

Conversation

@juanpflores
Copy link

@juanpflores juanpflores commented Mar 25, 2026

Summary

Adds the CodeRabbit AI code review skill for use with Codex and Claude Code agents.

What's included

  • SKILL.md — Full skill definition with:
    • Prerequisite checks (auto-install via curl if CLI missing, auto-auth via coderabbit auth login)
    • Direct bash commands for all review targets (-t committed, -t uncommitted, --base, --base-commit)
    • 900-second (15 min) timeout guidance to prevent agents from cancelling long-running reviews
    • Quiet mode — agents only message the user on errors, required input, or completed reviews
    • No-fallback rule — agents must not perform manual reviews if CodeRabbit fails
    • Autonomous fix loop workflow (review, fix, re-review)
    • Safety checklist (untrusted output, no secrets, minimal auth)
  • agents/openai.yaml — Codex agent interface config with icon references
  • assets/ — PNG icons (small + large)

Key design decisions

  • No Python wrappers — all review commands are plain bash, agents use their shell tool's built-in timeout
  • CLI flags match coderabbit review --help (-t/--type, --base, --base-commit)
  • Silent prerequisites — no user-facing messages when CLI is already installed and authenticated
  • Agents auto-install and auto-authenticate instead of asking the user to do it

🤖 Generated with Claude Code

@juanpflores juanpflores requested a review from a team March 25, 2026 01:09
@juanpflores juanpflores changed the title Replace CodeRabbit SVG icon with PNG and update configuration Add CodeRabbit review skill Mar 25, 2026
… guardrails

- Remove dead references/cli-review.md links
- Fix invalid python3 wrapper — use plain bash commands instead
- Use correct CLI flags (-t, --base, --base-commit) matching coderabbit review --help
- Ban all command wrappers (Python, Perl, timeout, alarm, PATH exports)
- Auto-install CLI via curl if missing, auto-run auth login if unauthenticated
- Increase timeout to 900s (15 min), enforce via shell tool parameter only
- Add quiet mode — no narration, only message user on errors/input/completion
- Add no-fallback rule — never do manual reviews if CodeRabbit fails
- Fix stray 'code' token in workflow list
@juanpflores juanpflores force-pushed the adds-coderabbit-skill branch from ae15397 to 7eaa385 Compare March 25, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant