speed-up-ci
Installation
SKILL.md
Skill: Speed up CI
CI speed is a measured number, not a feeling. Measure it the same way every time, find where the seconds actually go, change one thing, measure again, keep it only if the number moved and every check still guards what it did.
1. Measure time to green
node .github/scripts/ci-time-to-green.mjs --hours 24 # all PRs
node .github/scripts/ci-time-to-green.mjs --hours 6 --branch-prefix perf/ci-x --json
required: push → last merge-gating check green (openwork-tests-required).full: push → last GitHub Actions check green. "Evidence preview" is ignored (a link, not a test).- Failed or unfinished commits are excluded from the percentiles and counted separately.
Record the baseline (p50/p90/p99 and n) before changing anything. Compare
p50/p90 with at least ~20 commits; one PR's run is a data point, not a trend.