/teams:coderabbit-inheritance-scanner-searchfrom teams
Searches the openshift GitHub org for repos containing .coderabbit.yaml/.coderabbit.yml files using the GitHub code search API.
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.
None: SKILL.md is the whole skill.
This skill searches the openshift GitHub organization for repositories containing .coderabbit.yaml or .coderabbit.yml files using the GitHub code search API.
Use this skill as Step 1 of the /teams:coderabbit-inheritance-scanner command.
Run the following bash script to search for repos. This uses GitHub code search to avoid iterating all ~800 repos individually.
ALL_REPOS=""
for FILENAME in .coderabbit.yaml .coderabbit.yml; do
PAGE=1
while true; do
API_ERR=""
RESULT=$(gh api -X GET "search/code" \
-f "q=filename:${FILENAME} org:openshift" \
-f "per_page=100" \
-f "page=${PAGE}" \
--jq '.items[] | .repository.full_name' 2> >(API_ERR=$(cat)))
API_EXIT=$?
if [ $API_EXIT -ne 0 ]; then
echo "ERROR: GitHub code search API failed (exit ${API_EXIT}): ${API_ERR}" >&2
echo "Check authentication with: gh auth status" >&2
exit 1
fi
if [ -z "$RESULT" ]; then
break
fi
ALL_REPOS="${ALL_REPOS}${RESULT}"$'\n'
COUNT=$(echo "$RESULT" | wc -l | xargs)
if [ "$COUNT" -lt 100 ]; then
break
fi
PAGE=$((PAGE + 1))
sleep 1
done
sleep 2
done
# Deduplicate, sort, exclude openshift/coderabbit
echo "$ALL_REPOS" | sort -u | grep -v '^$' | grep -v '^openshift/coderabbit$'
A newline-separated list of org/repo names (e.g., openshift/api), excluding openshift/coderabbit.
If the code search API is unavailable or returns an error (e.g., due to authentication scope), inform the user that the search failed and suggest checking gh auth status.
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/analyze-regressionsGrade component health based on regression triage metrics for OpenShift releases/coderabbit-adoptionReport on CodeRabbit adoption across OpenShift org PRs/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-rules-from-pr-reviewsFetch and filter human review comments from recent merged PRs in a GitHub repositorynpx claudepluginhub openshift-eng/ai-helpers --plugin teamsOther plugins' skills for the same job