Skip to main content

one-minute-ci: speed up CI without fake cuts

Audits the last 150 pull-request CI runs and fixes the largest time bucket first, toward under 1 minute at p50 and under 2 at p95 without fake shortcuts.

Source facts

Repository
kleenpulse/one-minute-ci
Last source activity
November 21, 2026 at 14:58
Detected SKILL.md language
English
Stars
0
Forks
0

Examples

Author-stated worked example in the skill, not reproduced in this package: after a real audit of a TypeScript repository on Bun, 150 pull-request runs equaled 139 commits; PR wall-clock on 110 green commits was 2 minutes 28 seconds at p50 and 3 minutes 31 seconds at p95; 23 commits were dropped (22 cancelled, 1 unfinished), and 6 failed commits were timed apart. The largest bucket was the check job's running time at 1 minute 57 seconds p50, with lint, build, tests, and typecheck in sequence. The first proposed pull request was to run those as parallel jobs still behind a security scan, with after numbers left to be filled from real runs. A retry for a flaky e2e test was refused. The repository is not named.

Uses

Use it when GitHub Actions CI is slow, when you want to know where the time or cost goes, or when you want a merge queue, test shards, test selection, local hooks, or a move of lint, format, typecheck, or tests to Bun. Use it also when someone wants a flaky or slow check to pass by retrying it, skipping it, or raising a timeout: the skill is written to refuse that path and look for the cause. Do not use it to fix a single failing test, to work on deploy or release pipelines, to audit CI that is not GitHub Actions (the audit script reads the Actions API; the written rules can still apply), or to get to green by checking less.

Prerequisites

The audit script needs Bun and an authenticated GitHub CLI (gh). The skill is written for agents that read SKILL.md; the README names Claude Code, Codex, Cursor, and Copilot. Default tools are Bun (bun test, bun check, bun fmt, bun lint), Blacksmith runners, and hk hooks, each to be proven side by side with the current tool before a switch. Only a human can add a new account or GitHub app (for example Blacksmith), add a secret, approve a bigger bill, change repo settings such as the merge queue, rulesets, or required checks, delete tests, or change a needs: chain that is a security gate. Those items are collected into one list, each with what it unlocks and an expected monthly cost, or a statement that the cost is not calculated.

How to use

Start from a GitHub Actions repository, either the current repo or a named owner/repo. Author-stated starter requests include "Our CI is slow. Get it under a minute." and "Audit our GitHub Actions and tell me where the time goes." First run the bundled audit, which the skill describes as read-only: bun <skill folder>/references/audit.ts, or the same command with a repository name. It pulls the last 150 pull-request runs by default and prints PR wall-clock at p50 and p95, four time buckets per job, the step mapping, checks that cannot fail the job today, jobs that wait on another, and runner minutes. Then fix the largest bucket with one small pull request, prove tool switches side by side first, measure after with real runs, and repeat until the target is met or a rule requires stopping. Hand the human-only list over as soon as the first such item appears, and finish with before-and-after totals from real audit runs.

Limitations

The audit script talks to GitHub through an authenticated gh client: it lists recent Actions runs, fetches job records, and reads workflow files on the default branch. The skill states that this audit only reads. Later speed-up work, as written in the method, opens pull requests and may change workflows, hooks, and CI config in the target repository. This package did not run the skill, the audit, the shard proof, the tests, or any recipe. The source does not document a general untrusted-input or privacy guarantee, so those boundaries are unknown; the audit does pull Actions metadata and workflow text for the repository you name. The audit path is for GitHub Actions. The skill says not to use it to fix a single failing test, for deploy or release pipelines, or to get to green by checking less. It refuses retries, wider timeouts, skipped tests, || true, continue-on-error, paths-ignore, a shorter required-check list, and turning off lint rules. A needs: chain that places a security scan ahead of install or code execution is to stay; the skill asks you before removing one. If the under-1-minute median and under-2-minute p95 target cannot be met without breaking those rules, the skill says to report how fast it got and stop. As of the skill's 21 Nov 2026 check, bun lint is only in the Bun canary, and Blacksmith warm-machine and custom-image settings, hk pre-push syntax, and whether bun check matches TypeScript 7 were not checked there. The skill is not affiliated with or endorsed by Pontus Abrahamsson, Blacksmith, or hk. The root license is MIT, Copyright (c) 2026 Vxrcel. This package did not view the quoted-post photo, GitHub card preview images, or the author's X avatar or banner; the pinned tree has no image or audio files. No unconditional cleanliness claim is made for unviewed media.

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
nameone-minute-ci
descriptionMake a repo's CI fast without letting it lie. Audits the last 150 pull request runs, measures PR wall-clock at p50 and p95 against a target of under 1 minute and under 2, splits every job into blocked, waiting, setup and running time, and fixes the biggest bucket first, one small PR per change with before and after numbers from real runs. Holds a budget per stage (runner pickup, setup, lint, format, typecheck, tests per shard, local hooks) and fails a job that goes over. Refuses fake speed-ups - retries, wider timeouts, skipped tests, `|| true`, `paths-ignore`, a shorter required-check list - and keeps the full suite in a merge queue before main. Defaults to Bun (`bun test`, `bun check`, `bun fmt`, `bun lint`), Blacksmith runners and hk hooks, each proven side by side before the switch. Use when the user says "speed up CI", "CI is slow", "make CI faster", "get CI under a minute", "why does my PR take 10 minutes", "audit our GitHub Actions", "where does our CI time go", "report CI time and cost", "set up a mer