coderabbit-prompts is a small collection of Codex/OpenAI skills for collecting and processing CodeRabbit findings from GitHub pull requests.
The repository currently contains two skills:
coderabbit-collectcollects CodeRabbitPotential issuefeedback from a pull request and writes a normalizedcoderabbit-findings-<branch-slug>.mdfile into the target repository root.coderabbit-doreads the branch-specific findings file and returns the nextOPENfinding to validate and resolve.
- Bun 1.x or newer
- GitHub CLI (
gh) installed and authenticated - Git
- A local checkout of the repository you want to inspect
- Clone this repository:
git clone https://github.com/greenhost87/coderabbit-prompts.git
cd coderabbit-prompts- Create your Codex skills directory:
mkdir -p "$HOME/.codex/skills"- Symlink the skills into that directory:
ln -s "$(pwd)/coderabbit-collect" "$HOME/.codex/skills/coderabbit-collect"
ln -s "$(pwd)/coderabbit-do" "$HOME/.codex/skills/coderabbit-do"- Verify the required tools:
bun --version
gh auth statusAfter installation, the skills can be invoked in Codex as $coderabbit-collect and $coderabbit-do.
Run the collector from the root of the repository you want to analyze:
/absolute/path/to/coderabbit-prompts/coderabbit-collect/scripts/run-collect "https://github.com/owner/repo/pull/123"If gh pr view can resolve the current branch to a pull request, you can omit the URL:
/absolute/path/to/coderabbit-prompts/coderabbit-collect/scripts/run-collectThe script writes a coderabbit-findings-<branch-slug>.md file into the current repository root.
Run the helper from the root of the target repository:
/absolute/path/to/coderabbit-prompts/coderabbit-do/scripts/run-doThe helper prints the first OPEN finding from the branch-specific findings file so it can be reviewed or fixed in the current run.
Run the focused test suites from each skill directory:
cd coderabbit-collect && bun test
cd coderabbit-do && bun testThis project is licensed under the MIT License. See LICENSE.