List all teams from the team component mapping
This skill provides functionality to list all teams from the team component mapping, including rich metadata about each team (components, description, repos, team size, slack channels).
Use this skill when you need to:
Python 3 Installation
which python3Team Component Mapping File
plugins/teams/team_component_map.jsonpython3 plugins/teams/skills/list-teams/list_teams.py
The script outputs JSON in one of two formats:
New Format (after regeneration with updated script):
{
"total_teams": 29,
"teams": {
"API Server": {
"components": ["kube-apiserver", "openshift-apiserver", "..."],
"description": "Team responsible for API server components",
"team_size": 15,
"repos": ["openshift/origin", "openshift/kubernetes"],
"slack_channels": ["forum-apiserver"]
},
"Authentication": {
"components": ["oauth-apiserver", "..."],
"description": "...",
"team_size": 10,
"repos": ["..."],
"slack_channels": ["..."]
}
}
}
Old Format (before regeneration):
{
"total_teams": 29,
"teams": [
"API Server",
"Authentication",
"..."
]
}
Important: When displaying results to the user via the /teams:list-teams command:
For AI Agent Use:
python3 plugins/teams/skills/list-teams/list_teams.py
python3 plugins/teams/skills/list-teams/list_teams.py | jq '.total_teams'
The 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-components/SKILL.md/teams:list-teamsplugins/teams/team_component_map.jsonplugins/teams/generate_team_component_map.py