/teams:coderabbit-inheritance-scanner-checkfrom teams
Checks a repository's .coderabbit.yaml (or .coderabbit.yml) for the inheritance: true setting to classify repos as compliant, false, missing, or error.
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 checks a single repository's .coderabbit.yaml (or .coderabbit.yml) to determine whether inheritance: true is set.
Use this skill as Step 2 of the /teams:coderabbit-inheritance-scanner command. Call it once per repo found by the search skill. Multiple repos can be checked in a single bash invocation using the batch procedure below.
For a batch of repos stored in a bash array, run the following to classify each one:
# Input: REPOS array of "org/repo" strings
# Output: prints classification and default branch for each repo
for REPO in "${REPOS[@]}"; do
CONTENT=""
CFGFILE=""
for FILENAME in .coderabbit.yaml .coderabbit.yml; do
CONTENT=$(gh api "repos/${REPO}/contents/${FILENAME}" --jq '.content' 2>/dev/null | base64 -d 2>/dev/null)
if [ -n "$CONTENT" ]; then
CFGFILE="$FILENAME"
break
fi
done
# Get default branch for link generation
DEFAULT_BRANCH=$(gh api "repos/${REPO}" --jq '.default_branch' 2>/dev/null)
if [ -z "$CONTENT" ]; then
echo "ERROR|${REPO}|${DEFAULT_BRANCH}|${CFGFILE}"
continue
fi
if echo "$CONTENT" | grep -qE '^\s*inheritance:\s*true'; then
echo "COMPLIANT|${REPO}|${DEFAULT_BRANCH}|${CFGFILE}"
elif echo "$CONTENT" | grep -qE '^\s*inheritance:\s*false'; then
echo "FALSE|${REPO}|${DEFAULT_BRANCH}|${CFGFILE}"
else
echo "MISSING|${REPO}|${DEFAULT_BRANCH}|${CFGFILE}"
fi
sleep 0.3
done
Pipe-separated fields per line:
STATUS|org/repo|default_branch|config_filename
Where STATUS is one of:
COMPLIANT - inheritance: true is setFALSE - inheritance: false is explicitly setMISSING - the inheritance key is absentERROR - could not fetch the fileWhat SKILL.md sets; muted values are Claude Code's defaults
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-adoptionReport on CodeRabbit adoption across OpenShift org PRs/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