> coderabbit
Automate code reviews with CodeRabbit, the AI-powered review tool. Use when a user asks to set up automated PR reviews, configure review rules, integrate with GitHub or GitLab, customize review instructions, or manage CodeRabbit settings.
curl "https://skillshub.wtf/TerminalSkills/skills/coderabbit?format=md"CodeRabbit — AI-Powered Code Review
Overview
You are an expert in CodeRabbit, the AI code review tool that automatically reviews pull requests on GitHub and GitLab. You help teams configure CodeRabbit to catch bugs, security issues, performance problems, and style violations before human review — reducing review bottleneck and improving code quality with path-specific review instructions.
Instructions
Configuration
# .coderabbit.yaml — Project-level configuration
language: en-US
tone_instructions: >
Be direct. Show the exact code fix, not just the problem.
Prioritize: security > bugs > performance > style.
Don't nitpick formatting — the linter handles that.
early_access: true # Enable experimental features
reviews:
request_changes_workflow: true # PR status: changes requested
high_level_summary: true # Summary comment at top
review_status: true # Show review progress
auto_review:
enabled: true
drafts: false # Skip draft PRs
base_branches:
- main
- develop
# Path-specific instructions — different rules for different code
path_instructions:
- path: "src/server/**/*.ts"
instructions: |
Backend review checklist:
- Input validation with Zod on all endpoints
- SQL injection prevention (parameterized queries only)
- Authentication check on protected routes
- Rate limiting on public endpoints
- Error responses don't leak internal details
- Database transactions for multi-step operations
- path: "src/app/**/*.tsx"
instructions: |
Frontend review checklist:
- Server components preferred (no unnecessary "use client")
- Loading states and error boundaries
- Accessibility: labels, alt text, ARIA attributes
- No inline styles (use Tailwind classes)
- Memoization only when profiler shows need (no premature useMemo)
- path: "**/*.test.ts"
instructions: |
Test review checklist:
- Tests describe user behavior, not implementation
- No snapshot tests for component logic
- Edge cases covered: empty state, error state, boundary values
- Mocks are minimal and well-documented
- path: "drizzle/migrations/**"
instructions: |
Migration safety:
- Reversible migrations (down migration included)
- No DROP COLUMN without data backup plan
- Indexes on foreign keys
- Default values for new NOT NULL columns
path_filters:
- "!**/*.lock" # Skip lock files
- "!**/generated/**" # Skip generated code
- "!**/*.min.js" # Skip minified files
chat:
auto_reply: true # Reply to developer questions
Interaction in PRs
## Talking to CodeRabbit in PR comments
# Ask for explanations
@coderabbit explain this function
# Ask for alternative implementations
@coderabbit suggest a more efficient approach
# Dismiss a review comment (with reason)
@coderabbit resolve — this is intentional for backwards compatibility
# Re-review after changes
@coderabbit review
# Generate summary
@coderabbit summary
# Ask about the full PR
@coderabbit what are the main risks in this PR?
What CodeRabbit Reviews
## Review categories (auto-detected)
1. **Security** — SQL injection, XSS, hardcoded secrets, auth bypass
2. **Bugs** — Null pointer, race conditions, off-by-one, type errors
3. **Performance** — N+1 queries, unnecessary re-renders, memory leaks
4. **Error handling** — Uncaught exceptions, missing try/catch, silent failures
5. **Best practices** — Anti-patterns, deprecated APIs, code smells
6. **Accessibility** — Missing labels, keyboard navigation, screen reader support
7. **Testing** — Missing tests for new code, test quality issues
8. **Documentation** — Missing JSDoc, outdated comments, API docs
Installation
## Setup (2 minutes)
1. Go to https://coderabbit.ai
2. Install the GitHub App on your organization
3. Add .coderabbit.yaml to your repo
4. CodeRabbit reviews every new PR automatically
## Pricing
- Open source: Free
- Pro: $12/seat/month
- Enterprise: Custom
Examples
Example 1: User asks to set up coderabbit
User: "Help me set up coderabbit for my project"
The agent should:
- Check system requirements and prerequisites
- Install or configure coderabbit
- Set up initial project structure
- Verify the setup works correctly
Example 2: User asks to build a feature with coderabbit
User: "Create a dashboard using coderabbit"
The agent should:
- Scaffold the component or configuration
- Connect to the appropriate data source
- Implement the requested feature
- Test and validate the output
Guidelines
- Path-specific instructions — Different code needs different review rules; backend security checks don't apply to CSS files
- Exclude generated code — Use
path_filtersto skip lock files, generated types, and minified code; reduces noise - Request changes workflow — Enable
request_changes_workflowso CodeRabbit blocks merge until issues are addressed - Custom tone — Set
tone_instructionsto match your team culture; "direct and specific" saves developer time - Complement, don't replace — CodeRabbit handles mechanical review (security, patterns, style); humans review architecture and business logic
- Interactive review — Developers can ask CodeRabbit questions in PR comments; use
@coderabbit explainfor complex code - Base branch filtering — Only review PRs targeting main/develop; skip feature-to-feature branch PRs
- Iterate on instructions — Start with minimal path_instructions; add rules when you see repeated issues CodeRabbit misses
> related_skills --same-repo
> zustand
You are an expert in Zustand, the small, fast, and scalable state management library for React. You help developers manage global state without boilerplate using Zustand's hook-based stores, selectors for performance, middleware (persist, devtools, immer), computed values, and async actions — replacing Redux complexity with a simple, un-opinionated API in under 1KB.
> zoho
Integrate and automate Zoho products. Use when a user asks to work with Zoho CRM, Zoho Books, Zoho Desk, Zoho Projects, Zoho Mail, or Zoho Creator, build custom integrations via Zoho APIs, automate workflows with Deluge scripting, sync data between Zoho apps and external systems, manage leads and deals, automate invoicing, build custom Zoho Creator apps, set up webhooks, or manage Zoho organization settings. Covers Zoho CRM, Books, Desk, Projects, Creator, and cross-product integrations.
> zod
You are an expert in Zod, the TypeScript-first schema declaration and validation library. You help developers define schemas that validate data at runtime AND infer TypeScript types at compile time — eliminating the need to write types and validators separately. Used for API input validation, form validation, environment variables, config files, and any data boundary.
> zipkin
Deploy and configure Zipkin for distributed tracing and request flow visualization. Use when a user needs to set up trace collection, instrument Java/Spring or other services with Zipkin, analyze service dependencies, or configure storage backends for trace data.