A Claude Code skill that analyzes your project's PR history and commit messages to generate a .coderabbit.yaml tailored to the issues you actually see in practice.
Clone this repo into your Claude Code skills directory:
git clone https://github.com/alchemiststudiosDOTai/coderabbit-config-generator.git \
~/.claude/skills/coderabbit-config-generatorThe skill is now available in all your projects.
Ask Claude to run the skill on your current repository:
Run the CodeRabbit config generator skill for this repo using the last 90 days of PRs and commits.
Or invoke it directly:
/coderabbit-config-generator
The skill will:
- Pull recent PRs and commits via the GitHub CLI
- Scan for recurring patterns (common issues, edge cases, anti-patterns)
- Generate a
.coderabbit.yamlwith custom review checks matched to your project
- GitHub CLI (
gh) authenticated - Python 3
- A local git clone of the repository you want to analyze
~/.claude/skills/coderabbit-config-generator/scripts/run_analysis.sh \
--repo-path /path/to/repo --repo owner/nameRequires PyYAML (pip install pyyaml):
python3 ~/.claude/skills/coderabbit-config-generator/scripts/validate_coderabbit_yaml.py \
--config .coderabbit.yamlEdit scripts/patterns.json to add or refine keyword and regex matches used during analysis.
coderabbit-config-generator/
├── SKILL.md # Skill entrypoint (instructions for Claude)
├── README.md # This file
├── scripts/
│ ├── run_analysis.sh # Main analysis runner
│ ├── collect_prs.sh # PR data collection
│ ├── collect_commits.sh # Commit log collection
│ ├── analyze_patterns.py # Pattern detection
│ ├── validate_coderabbit_yaml.py # Config validator
│ └── patterns.json # Tunable pattern definitions
└── alchemiststudios-coderabbit-2.webp # Banner image
