Help us improve
Share bugs, ideas, or general feedback.
From teams
Batch-checks GitHub repos' .coderabbit.yaml for inheritance: true using GitHub CLI. Classifies as compliant/false/missing/error with default branch and filename.
npx claudepluginhub openshift-eng/ai-helpers --plugin teamsHow this skill is triggered — by the user, by Claude, or both
Slash command
/teams:coderabbit-inheritance-scanner-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill checks a single repository's `.coderabbit.yaml` (or `.coderabbit.yml`) to determine whether `inheritance: true` is set.
Forks GitHub repo, syncs fork with upstream, adds inheritance: true to .coderabbit.yaml, pushes branch, and opens fix PR. Use for CodeRabbit config compliance after scanning.
Executes CodeRabbit production readiness checklist: audits GitHub app setup, validates .coderabbit.yaml config and review settings before enforcing as org-wide merge gate.
Audits repository for baseline compliance across 9 categories: configuration, code quality, git hygiene, CI/CD, testing, security, documentation. Outputs Markdown checklist report and JSON sidecar.
Share bugs, ideas, or general feedback.
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 file