用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bradygaster/squad --skill rework-rate命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | rework-rate |
| description | Measure and interpret PR rework rate — the emerging 5th DORA metric |
| domain | metrics, code-review, quality |
| confidence | high |
| source | manual |
| tools | [{"name":"squad rework","description":"Analyze PR rework rate from merged PRs","when":"When measuring code quality, review efficiency, or team health metrics"}] |
Rework Rate measures the percentage of code changes that require revision after initial review submission. It is considered the emerging 5th DORA metric alongside Deployment Frequency, Lead Time for Changes, Mean Time to Recovery, and Change Failure Rate.
Use this skill when:
Rework Rate = (commits after first review) / (total commits) × 100
Sub-metrics:
Review Cycles = number of changes-requested → push → approval loops
Rejection Rate = PRs with ≥1 "changes requested" / total PRs × 100
Rework Time = last approval timestamp - first changes-requested timestamp
| Metric | 🟢 Healthy | 🟡 Moderate | 🔴 Needs Attention |
|---|---|---|---|
| Rework Rate | ≤15% | 15–30% | >30% |
| Review Cycles | ≤1.0 | 1.0–2.0 | >2.0 |
| Rejection Rate | ≤20% | 20–40% | >40% |
# Analyze last 30 days (default)
npx github:bradygaster/squad rework
# Custom period
npx github:bradygaster/squad rework --days 7 --limit 50
# Machine-readable output
npx github:bradygaster/squad rework --json
When rework rate is high:
// Ralph can use rework metrics in watch cycles:
// "📊 Weekly Rework Rate: 12% (healthy) — 3/25 PRs had changes requested"
// In squad ceremonies, rework trends inform retrospectives:
// "Rework rate dropped from 28% to 14% after adopting smaller PR sizes"
基于 SOC 职业分类