Actions CI Tuning

Use when auditing or improving GitHub Actions workflows for a project. Covers cache setup (npm/pnpm/yarn), job parallelism, shard-based test splitting, artifact handling pitfalls, and Playwright-specific patterns. Trigger on: slow CI, cache miss, flaky shard jobs, merge-reports failures, or an explicit 'tune CI' request.

423 stars 6 forksTesting & QA

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add mizchi/skills --skill actions-ci-tuning
Manual install
git clone --depth 1 https://github.com/mizchi/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/actions-ci-tuning ~/.claude/skills/actions-ci-tuning

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# GitHub Actions CI Tuning

Audit and improve GitHub Actions workflows. Focus on correctness first (jobs that error rather than fail), then speed (cache, parallelism), then reliability (flakiness, artifact guards).

---

## Workflow

1. **Inventory** — list all `.github/workflows/*.yml` files and their trigger events, jobs, and rough durations (`gh run list --workflow <file> --limit 5`).
2. **Audit against checklist** — run through each section below and flag every gap.
3. **Prioritise** — group findings by impact: correctness bugs > cache misses > parallelism gains > cosmetic.
4. **Propose changes** — draft minimal diffs; do not refactor unrelated parts.
5. **Verify** — after applying, confirm via `gh run list` that the next run is green and faster.

---

## Checklist

### Package Manager Cache

A cache miss means re-downloading hundreds of packages on every run. This is the single highest-ROI fix in most repos.

**pnpm**

```yaml
- uses: pnpm/action-setup@v6
  with:
    version: latest           # or pin to a specific version

- uses: actions/setup-node@v7
  with:
    node-version-file: .nvmrc  # Must select Node 24+; or use node-version: '24'
    cache: 'pnpm'              # ← must be present; omitting it silently skips caching
```

Common mistake: calling `corepack enable` instead of `pnpm/action-setup`. `corepack enable` does NOT set up the pnpm store cache — `actions/setup-node cache: 'pnpm'` requires `pnpm/action-setup` to have run first.

**npm**
Read the full skill on GitHub

Details

Skill name
actions-ci-tuning
Repository
mizchi/skills
Path
actions-ci-tuning/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Actions CI Tuning skill do?

Use when auditing or improving GitHub Actions workflows for a project. Covers cache setup (npm/pnpm/yarn), job parallelism, shard-based test splitting, artifact handling pitfalls, and Playwright-specific patterns. Trigger on: slow CI, cache miss, flaky shard jobs, merge-reports failures, or an explicit 'tune CI' request.

How do I install the Actions CI Tuning skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add mizchi/skills --skill actions-ci-tuning. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Actions CI Tuning popular?

It lives in mizchi/skills, which has 423 GitHub stars and 6 forks.

Related skills

AI Index

423

mizchi/skills

Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English. Two layers — a deterministic lint for removable surface tells (scripts/slopscore.py, no API) and a judgment layer of typed probabilistic questions (Jev noul/score) for the tells that survive editing. Includes measured human/AI baselines, a gap-first calibration procedure, and labeled fixtures. Use when building or calibrating an AI-likeness score, or when a draft needs a defensible number rather than a vibe. For writing guidance use natural-writing-ja / natural-writing-en instead.

AI, LLMs & Agents

Apm Usage

423

mizchi/skills

Reference for APM manifests, installation, targeted updates, deployment paths and lockfiles. Invoke when the user explicitly asks about APM or apm.yml, or an unfamiliar APM command/error needs exact CLI details. Do not automatically invoke for every project that happens to have installed skills.

DevOps & Cloud

Ast Grep Practice

423

mizchi/skills

Operate ast-grep as a project lint tool. Covers sgconfig.yml, fix/rewrite rules, constraints, transform, testing, and CI. Use when writing rules ast-grep can express but general-purpose linters cannot.

Testing & QA

Skill Forge Benchmark

189

AgriciDaniel/skill-forge

Benchmark Claude Code skill performance with variance analysis, tracking pass rate, execution time, and token usage across iterations. Runs multiple trials per eval for statistical reliability, aggregates results into benchmark.json, and generates comparison reports between skill versions. Use when user says "benchmark skill", "measure skill performance", "skill metrics", "compare skill versions", "skill performance", "track skill improvement", "skill regression test", or "skill A/B test".

Testing & QA44

Flaker Storage Cache on CI

423

mizchi/skills

Persist flaker's DuckDB storage across GitHub Actions runs and feed it from multiple sources (vitest reports, custom adapter reports, etc.). Use when wiring `@mizchi/flaker` into a new repo's CI, adding a new ingest source to an existing flaker setup, or debugging why `flaker apply` / `flaker run --gate ...` "lost its history" between runs. Encodes the cache key shape, fetch-depth requirements, `--changed` derivation, and the import-step placement that internal flaker users converged on.

Testing & QA

Reality Testing Decisions

190

apple-ouyang/book-to-skill

Use when tempted to predict, analyze, or debate whether something will work instead of testing it. When facing uncertainty about a decision, product, hire, or opportunity and relying on gut feeling or expert opinions.

Testing & QA25

Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.