/teams:coderabbit-adoptionfrom teams
Reports CodeRabbit adoption rates across OpenShift GitHub org PRs using the GitHub search API. Useful for measuring code review tool adoption and generating stakeholder reports.
Ships in teams. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill queries the GitHub search API to measure what percentage of merged PRs in the openshift GitHub organization received comments from the coderabbitai[bot] app.
Use this skill when you need to:
GitHub CLI (gh): Must be installed and authenticated with access to the openshift org.
gh auth status
Python 3: Python 3.6 or later is required.
gh auth status
python3 --version
The script is located at:
plugins/teams/skills/coderabbit-adoption/coderabbit_adoption.py
Execute with appropriate arguments:
# Default: last 30 days, org-wide summary only (2 API calls)
python3 plugins/teams/skills/coderabbit-adoption/coderabbit_adoption.py
# Specific date range
python3 plugins/teams/skills/coderabbit-adoption/coderabbit_adoption.py \
--start-date 2026-02-01 --end-date 2026-02-28
# Detailed mode: per-repo breakdowns (~50 API calls, prone to rate limiting)
# ONLY use when user explicitly requests --detailed
python3 plugins/teams/skills/coderabbit-adoption/coderabbit_adoption.py --detailed
The script outputs JSON to stdout with the following structure:
Default mode (2 API calls, no per-repo data):
{
"start_date": "2026-02-04",
"end_date": "2026-03-06",
"total_merged_prs": 7950,
"prs_with_coderabbit": 1445,
"adoption_pct": 18.2,
"detailed": false,
"repo_breakdown": [],
"no_coderabbit_activity": []
}
Detailed mode (~50 API calls, with per-repo data):
{
"start_date": "2026-02-04",
"end_date": "2026-03-06",
"total_merged_prs": 7950,
"prs_with_coderabbit": 1445,
"adoption_pct": 18.2,
"detailed": true,
"per_repo_approximate": true,
"repo_breakdown": [
{
"repo": "openshift/cincinnati-graph-data",
"cr_count": 150,
"total": 196,
"adoption_pct": 76.5
}
],
"no_coderabbit_activity": [
{
"repo": "openshift/release",
"total": 1072
}
]
}
Field Descriptions:
start_date, end_date: The date range queriedtotal_merged_prs: Total merged PRs in the openshift orgprs_with_coderabbit: PRs where coderabbitai[bot] commentedadoption_pct: Overall adoption percentagedetailed: Whether detailed mode was usedper_repo_approximate: (detailed only) True if per-repo breakdown is approximate (>1000 CodeRabbit PRs)repo_breakdown: (detailed only) Array of top repos sorted by CR count descendingno_coderabbit_activity: (detailed only) High-volume repos with zero CodeRabbit commentsAfter presenting the data, provide:
repo_breakdown are enabled; missing reviews = engineers without licenses--detailed is available but warn it is prone to GitHub API rate limits--detailed makes ~50 calls with 2-second sleeps between each to respect GitHub's search API rate limit (30 requests/minute). Even with throttling, --detailed may hit rate limits and takes several minutes.gh CLI with -X GET for all GitHub API calls (required for the search endpoint)--detailed unless the user explicitly asks for itWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub openshift-eng/ai-helpers --plugin teams13 skills in this plugin
/analyze-regressionsGrade component health based on regression triage metrics for OpenShift releases/coderabbit-inheritance-scanner-checkUse when checking a repository's .coderabbit.yaml (or .coderabbit.yml) to determine whether inheritance: true is set/coderabbit-inheritance-scanner-existing-prSearch for an existing fix PR on a repo before opening a new one/coderabbit-inheritance-scanner-open-prFork, sync, and open a fix PR to add inheritance: true to a repo's .coderabbit.yaml/coderabbit-inheritance-scanner-searchSearch for repos with .coderabbit.yaml files in the openshift GitHub org/coderabbit-rules-from-pr-reviewsFetch and filter human review comments from recent merged PRs in a GitHub repositoryOther plugins' skills for the same job