Help us improve
Share bugs, ideas, or general feedback.
From teams
Scans GitHub repos via gh CLI for open PRs containing 'CodeRabbit inheritance' in title. Prevents duplicates when batch-processing non-compliant repos.
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-existing-prThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill checks whether a repository already has an open pull request whose title contains `"CodeRabbit inheritance"` (case-insensitive substring match). Teams sometimes modify PR titles to satisfy merge requirements, so a substring match avoids missing renamed PRs. This prevents duplicate PRs from being opened.
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.
Analyzes open GitHub pull requests for CI failures, code review feedback, and quality issues, then fixes them in batch via git workflow. Use for triaging CI/test/lint failures, addressing reviewer comments, and PR health checks.
Fetches and lists GitHub PRs awaiting your review or assignment using gh CLI, sorted by age with author/status/URL; offers checkout prompts.
Share bugs, ideas, or general feedback.
This skill checks whether a repository already has an open pull request whose title contains "CodeRabbit inheritance" (case-insensitive substring match). Teams sometimes modify PR titles to satisfy merge requirements, so a substring match avoids missing renamed PRs. This prevents duplicate PRs from being opened.
Use this skill as Step 3 of the /teams:coderabbit-inheritance-scanner command, after identifying non-compliant repos. Call it for each non-compliant repo.
For a batch of non-compliant repos, check for existing PRs:
# Input: NON_COMPLIANT_REPOS array of "org/repo" strings
# Output: prints PR status for each repo
for REPO in "${NON_COMPLIANT_REPOS[@]}"; do
# Search for open PRs whose title contains "CodeRabbit inheritance" (case-insensitive)
PR_DATA=$(gh api "repos/${REPO}/pulls" \
-f "state=open" \
-f "per_page=100" \
--jq '[.[] | select(.title | ascii_downcase | contains("coderabbit inheritance"))] | first? | {number: .number, html_url: .html_url, created_at: .created_at} // empty' 2>/dev/null)
if [ -n "$PR_DATA" ]; then
PR_NUMBER=$(echo "$PR_DATA" | jq -r '.number')
PR_URL=$(echo "$PR_DATA" | jq -r '.html_url')
CREATED_AT=$(echo "$PR_DATA" | jq -r '.created_at')
# Calculate days open
CREATED_EPOCH=$(date -j -f "%Y-%m-%dT%H:%M:%SZ" "$CREATED_AT" "+%s" 2>/dev/null || date -d "$CREATED_AT" "+%s" 2>/dev/null)
NOW_EPOCH=$(date "+%s")
DAYS_OPEN=$(( (NOW_EPOCH - CREATED_EPOCH) / 86400 ))
echo "HAS_PR|${REPO}|${PR_URL}|${DAYS_OPEN}"
else
echo "NO_PR|${REPO}||"
fi
sleep 0.3
done
Pipe-separated fields per line:
STATUS|org/repo|pr_url|days_open
Where STATUS is one of:
HAS_PR - An open PR with the expected title was foundNO_PR - No matching open PR existsCOMPLIANT).days_open field helps prioritize follow-up on stale PRs.