원클릭으로
list-components
List all OCPBUGS components, optionally filtered by team
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
List all OCPBUGS components, optionally filtered by team
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | List Components |
| description | List all OCPBUGS components, optionally filtered by team |
This skill provides functionality to list all OCPBUGS component names from the team component mapping, with optional filtering by team.
Use this skill when you need to:
Python 3 Installation
which python3jq Installation
which jqbrew install jqsudo apt-get install jq or sudo yum install jqTeam Component Mapping File
team_component_map.json should be in the repositoryplugins/teams/team_component_map.jsonpython3 plugins/teams/generate_team_component_map.pyEnsure you are in the repository root directory:
# Verify you are in the repository root
pwd
# Expected output: /path/to/ai-helpers
List all OCPBUGS components:
python3 plugins/teams/skills/list-components/list_components.py
List OCPBUGS components for a specific team:
python3 plugins/teams/skills/list-components/list_components.py --team "API Server"
Note: Use the exact team name from the list-teams command output.
The script outputs JSON with the following structure:
All components:
{
"total_components": 87,
"components": [
"Auth",
"apiserver-auth",
"config-operator",
"..."
]
}
Components filtered by team:
{
"total_components": 8,
"components": [
"apiserver-auth",
"config-operator",
"kube-apiserver",
"kube-controller-manager",
"kube-storage-version-migrator",
"openshift-apiserver",
"openshift-controller-manager / controller-manager",
"service-ca"
],
"team": "API Server"
}
Field Descriptions:
total_components: Total number of OCPBUGS components foundcomponents: Alphabetically sorted list of OCPBUGS component namesteam: (Optional) The team name used for filteringThe script handles several error scenarios:
Mapping file missing:
Error: Team component mapping file not found at ...
This file should be in the repository. Please check your installation.
Solution: Verify repository checkout or regenerate with generate_team_component_map.py
Invalid JSON in mapping:
Error: Failed to parse mapping file. File may be corrupted.
Solution: Regenerate the mapping file
Team not found:
Error: Team 'Invalid Team' not found in mapping.
Use list-teams to see available teams.
Solution: Run list-teams to get correct team name, ensure exact match (case-sensitive)
No OCPBUGS components for team:
Warning: No OCPBUGS components found for team 'Team Name'.
The team may not have any OCPBUGS components assigned.
Note: This is a warning, not an error. Some teams may not have OCPBUGS components.
The script outputs JSON to stdout:
python3 plugins/teams/skills/list-components/list_components.py
Output:
{
"total_components": 87,
"components": [
"Auth",
"apiserver-auth",
"..."
]
}
python3 plugins/teams/skills/list-components/list_components.py --team "API Server"
Output:
{
"total_components": 8,
"components": [
"apiserver-auth",
"config-operator",
"kube-apiserver",
"..."
],
"team": "API Server"
}
python3 plugins/teams/skills/list-components/list_components.py | jq '.total_components'
Output:
87
python3 plugins/teams/skills/list-components/list_components.py | jq '.components[] | select(contains("apiserver"))'
Output:
"apiserver-auth"
"kube-apiserver"
"openshift-apiserver"
plugins/teams/team_component_map.jsonpython3 plugins/teams/generate_team_component_map.pyThe team and component mapping data originates from:
If data looks wrong or missing:
python3 plugins/teams/generate_team_component_map.py
team_component_map.json fileplugins/teams/skills/list-teams/SKILL.md/teams:list-componentsplugins/teams/team_component_map.jsonplugins/teams/generate_team_component_map.pyAdd 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