analyze-regressions
БесплатноЗапускает вложенные скриптыНе проверенGrade component health based on regression triage metrics for OpenShift releases
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Analyze Regressions
This skill provides functionality to analyze and grade component health for OpenShift releases based on regression management metrics. It evaluates how well components are managing their test regressions by analyzing triage coverage, triage timeliness, and resolution speed.
When to Use This Skill
Use this skill when you need to:
- Grade component health for a specific OpenShift release
- Identify components that need help with regression handling
- Track triage and resolution efficiency across releases
- Generate component quality scorecards
- Produce health reports (text or HTML) for stakeholders
Important Note: Grading is subjective and not meant to be a critique of team performance. This is intended to help identify where help is needed and track progress as we improve our regression response rates.
Prerequisites
Python 3 Installation
- Check if installed:
which python3 - Python 3.6 or later is required
- Comes pre-installed on most systems
- Check if installed:
Network Access
- The scripts require network access to reach the component health API and release dates API
- Ensure you can make HTTPS requests
Required Scripts
plugins/teams/skills/get-release-dates/get_release_dates.pyplugins/teams/skills/list-regressions/list_regressions.pyplugins/teams/skills/analyze-regressions/generate_html_report.py(for HTML reports)plugins/teams/skills/analyze-regressions/report_template.html(for HTML reports)
Implementation Steps
Step 1: Parse Arguments
Extract the view name and optional component filter from the command arguments:
- View format: "X.Y-suffix" (e.g., "4.22-main", "4.17-main")
- The release is derived from the view name (e.g., "4.22" from "4.22-main")
- Components (optional): List of component names to filter by
Example argument parsing:
/teams:analyze-regressions 4.17-main
/teams:analyze-regressions 4.21-main --components Monitoring etcd
Step 2: Fetch Release Dates
Derive the release from the view name (e.g., "4.17" from "4.17-main"), then run the get_release_dates.py script to determine the development window:
python3 plugins/teams/skills/get-release-dates/get_release_dates.py \
--release 4.17
Expected output (JSON on stdout):
{
"release": "4.17",
"development_start": "2024-05-17T00:00:00Z",
"feature_freeze": "2024-08-26T00:00:00Z",
"code_freeze": "2024-09-30T00:00:00Z",
"ga": "2024-10-29T00:00:00Z"
}
Processing steps:
- Parse the JSON output
- Extract
development_startdate - convert to YYYY-MM-DD format - Extract
gadate - convert to YYYY-MM-DD format (may be null for in-development releases) - Handle null dates as follows:
development_start: Usually always present; if null, omit--startparameterga: Will be null for in-development releases; if null, omit--endparameter
Date conversion example:
"2024-05-17T00:00:00Z" → "2024-05-17"
null → do not use this parameter
Step 3: Execute List Regressions Script
Run the list_regressions.py script with the appropriate arguments:
python3 plugins/teams/skills/list-regressions/list_regressions.py \
--view 4.17-main \
--start 2024-05-17 \
--end 2024-10-29 \
--short
Parameter rules:
--view: Always required (from Step 1). The release is derived from the view name internally.--components: Optional, only if specified by user (from Step 1)--start: Usedevelopment_startdate from Step 2 (if not null)- Always applied for both GA'd and in-development releases
- Excludes regressions closed before development started (not relevant to this release)
--end: Usegadate from Step 2 (only if not null)- Only applied for GA'd releases (when GA date is not null)
- Excludes regressions opened after GA (post-release regressions, often not monitored/triaged)
- Not applied for in-development releases (when GA date is null)
--short: Always include this flag- Excludes regression data arrays from response
- Only includes summary statistics
- Prevents truncation problems with large datasets
Example for GA'd release (4.17-main):
python3 plugins/teams/skills/list-regressions/list_regressions.py \
--view 4.17-main \
--start 2024-05-17 \
--end 2024-10-29 \
--short
Example for in-development release (4.22-main with null GA):
python3 plugins/teams/skills/list-regressions/list_regressions.py \
--view 4.22-main \
--start 2025-09-02 \
--short
Example with component filter:
python3 plugins/teams/skills/list-regressions/list_regressions.py \
--view 4.21-main \
--components Monitoring etcd \
--start 2025-09-02 \
--short
Step 4: Parse Output Structure
The script outputs JSON to stdout with the following structure:
{
"summary": {
"total": 62,
"triaged": 59,
"triage_percentage": 95.2,
Установить analyze-regressions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл analyze-regressions?
Grade component health based on regression triage metrics for OpenShift releases
Как установить скилл analyze-regressions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analyze-regressions запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic