regression-metrics
БесплатноБез исполняемых скриптовНе проверенTrack and analyze regression statistics, trends, hotspots, and health indicators across test suites
от jmagly★ 233 звезды на GitHubОб этом скилле
regression-metrics
Track and analyze regression statistics, trends, and health indicators.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "regression KPIs" → regression metric dashboard
- "flakiness score" → test stability metrics
Purpose
This skill provides regression analytics by:
- Tracking regression occurrence rates
- Measuring time-to-detection and time-to-fix
- Analyzing regression patterns and hotspots
- Identifying high-risk areas
- Trending regression metrics over time
- Generating regression health dashboards
Behavior
When triggered, this skill:
Collects regression data:
- Parse regression test results
- Load historical regression records
- Gather bisect findings
- Import baseline comparisons
- Aggregate issue tracker data
Calculates key metrics:
- Regression rate (per sprint/release)
- Mean time to detect (MTTD)
- Mean time to fix (MTTF)
- Regression recurrence rate
- Escape rate (production regressions)
Identifies patterns:
- Common root causes
- High-regression components
- Time-of-day/sprint patterns
- Correlation with code changes
Analyzes trends:
- Regression rate over time
- Detection speed improvements
- Fix time trends
- Quality trajectory
Generates visualizations:
- Regression heatmaps
- Trend charts
- Burn-down tracking
- Risk matrices
Produces actionable insights:
- Prioritize high-risk areas
- Recommend test improvements
- Suggest process changes
- Set quality goals
Key Metrics
Regression Rate
regression_rate:
description: Number of regressions per time period
formula: regressions_detected / time_period
units: regressions per sprint/week/release
targets:
excellent: "< 2 per sprint"
good: "2-5 per sprint"
acceptable: "5-10 per sprint"
poor: "> 10 per sprint"
calculation:
count: new regressions introduced
period: sprint, release, or month
exclude: known issues, flaky tests
Mean Time to Detect (MTTD)
mttd:
description: Average time from regression introduction to detection
formula: sum(detection_time) / regression_count
units: hours or days
targets:
excellent: "< 4 hours"
good: "< 24 hours"
acceptable: "< 7 days"
poor: "> 7 days"
calculation:
detection_time: commit_time_to_failure_report
includes: automated and manual detection
Mean Time to Fix (MTTF)
mttf:
description: Average time from detection to fix deployment
formula: sum(fix_time) / regression_count
units: hours or days
targets:
critical: "< 4 hours"
high: "< 24 hours"
medium: "< 7 days"
low: "< 30 days"
calculation:
fix_time: detection_to_fix_deployed
severity_weighted: true
Escape Rate
escape_rate:
description: Percentage of regressions reaching production
formula: (production_regressions / total_regressions) * 100
units: percentage
targets:
excellent: "< 5%"
good: "5-10%"
acceptable: "10-20%"
poor: "> 20%"
calculation:
production_regressions: found by users/monitoring
total_regressions: all detected including pre-release
Recurrence Rate
recurrence_rate:
description: Percentage of regressions that recur after fix
formula: (recurring_regressions / total_fixed) * 100
units: percentage
targets:
excellent: "< 5%"
good: "5-10%"
acceptable: "10-15%"
poor: "> 15%"
indicates:
- insufficient test coverage
- lack of regression tests
- poor fix quality
Metrics Dashboard
# Regression Metrics Dashboard
**Period**: Last 30 Days (2025-12-29 to 2026-01-28)
**Project**: User Service
## Executive Summary
| Metric | Current | Target | Status | Trend |
|--------|---------|--------|--------|-------|
| Regression Rate | 4.2/sprint | < 5 | ✅ Good | ↓ Improving |
| MTTD | 8.5 hours | < 24h | ✅ Good | ↓ Improving |
| MTTF | 18.7 hours | < 24h | ⚠️ Close | → Stable |
| Escape Rate | 12% | < 10% | ⚠️ Above Target | ↑ Worsening |
| Recurrence Rate | 7% | < 10% | ✅ Good | → Stable |
**Overall Health**: ⚠️ Good with Concerns
**Priority Focus**: Reduce production escapes
## Regression Trend (Last 6 Sprints)
Sprint 8: ██████████ 10 regressions Sprint 9: ████████ 8 regressions Sprint 10: ██████ 6 regressions Sprint 11: █████ 5 regressions Sprint 12: ████ 4 regressions Sprint 13: ████ 4 regressions ↓ -60% improvement since Sprint 8
**Analysis**: Significant improvement trend. Stabilizing around 4-5 per sprint.
## Detection Speed Trend
Week 1: 24h ████████████████████████ Week 2: 18h ██████████████████ Week 3: 12h ████████████ Week 4: 9h █████████ Week 5: 8h ████████ ↓ -67% improvement in 5 weeks
**Analysis**: Automation improvements paying off. Most regressions now caug
Установить regression-metrics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл regression-metrics?
Track and analyze regression statistics, trends, hotspots, and health indicators across test suites
Как установить скилл regression-metrics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл regression-metrics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic