一键导入
coderabbit-inheritance-scanner-search
Search for repos with .coderabbit.yaml files in the openshift GitHub org
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search for repos with .coderabbit.yaml files in the openshift GitHub org
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add a Component Readiness triage record link to a JIRA issue description
Grade component health based on regression triage metrics for OpenShift releases
Use when checking a repository's .coderabbit.yaml (or .coderabbit.yml) to determine whether inheritance: true is set
Fork, sync, and open a fix PR to add inheritance: true to a repo's .coderabbit.yaml
Fetch and analyze component health regressions for OpenShift releases
Analyze and compare disruption across one or more Prow CI job runs by examining interval data, audit logs, pod logs, and CPU metrics
| name | CodeRabbit Inheritance Scanner - Search |
| description | Search for repos with .coderabbit.yaml files in the openshift GitHub org |
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.