ci-slim
/ci-slim
Cuts CI time and runner minutes by deleting low-value tests and duplicate jobs, then simplifying workflows. Use when CI is slow, Actions minutes run out, self-hosted runners are overloaded, or AI-written defensive tests pile up.
- Author
- thedavidweng ↗
- Repository
- skills ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 6
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/ci_timing.sh, scripts/find_meta_tests.sh
What it does and when to use it
Cuts CI time and runner minutes by deleting low-value tests and duplicate jobs, then simplifying workflows. Use when CI is slow, Actions minutes run out, self-hosted runners are overloaded, or AI-written defensive tests pile up.
Original author description
Cuts CI time and runner minutes by deleting low-value tests and duplicate jobs, then simplifying workflows. Use when CI is slow, Actions minutes run out, self-hosted runners are overloaded, or AI-written defensive tests pile up.
How it works
SKILL.md has no level-two headings · 17 lines, 384 words
SKILL.md preview
--- name: ci-slim description: 'Cuts CI time and runner minutes by deleting low-value tests and duplicate jobs, then simplifying workflows. Use when CI is slow, Actions minutes run out, self-hosted runners are overloaded, or AI-written defensive tests pile up.' --- Measure first, then delete, then restructure YAML. Most waste is duplicated work and tests that check the repo instead of the product, not missing caches. **1. Measure.** Run `bash scripts/ci_timing.sh <repo>`: job durations of the last green runs per event, step timings of the slowest job, the required checks, and the runner labels. Find where wall-clock goes before changing anything. Typical finds: the same suite runs in two jobs (test + coverage), E2E repeats on push to main after it passed on the PR, jobs on one self-hosted runner queue serially, `needs:` chains force serial order, setup downloads a huge cache in every job, the E2E server rebuilds the app. **2. Time the tests.** Run the suite with the runner's per-file JSON or durations report (for example `vitest run --reporter=json --outputFile=<file>`) and rank files by time. A few files usually own most of it. **3. Classify every suspect test** with `references/test-triage.md`: delete, move down a layer, park, or keep. Run `bash scripts/find_meta_tests.sh <repo>` to list tests that read docs, manifests, lockfiles, workflows or source text. Those are the usual AI-written defensive tests. Before you delete a test that guards a real rule, find the lower-level test that covers the rule, or write one first and see it fail. **4. Restructure CI** with `references/ci-rules.md`: one test run with coverage, browser tests on PRs only and in parallel, coarse path skip instead of per-area selection, no override labels, one aggregate required check. **5. Keep the docs true.** Update the project's testing doc, ADRs that require the deleted test (amend with a dated note; do not silently contradict them), and README. Park, do not delete, adapters a future phase needs: comment out the test project with the condition to re-enable it. **6. Verify.** Format, lint, typecheck, full unit suite, the edited E2E specs, and the workflow linter (`actionlint`) all pass. Check that the required-check names in branch protection still exist. Report before/after wall-clock per event (PR, push to main) and the deleted test list with one reason each. Do not delete security boundaries (authz, tenant isolation, CSRF, sessions), money or ledger arithmetic, data migrations, or the one happy-path journey per critical flow. Move them down a layer if they are slow; do not drop them. Ask before deleting remote labels, changing branch protection, or touching shared runners.
Files in this package (6)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- references/ci-rules.md 3 KB
- references/test-triage.md 3 KB
- scripts/ci_timing.sh 3 KB
- scripts/find_meta_tests.sh 1 KB
Versions
The database has no other skills named ci-slim.
Database snapshot: 13.11.2026 · package version 751074509423 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100github-actions-silent-failures
Diagnose GitHub Actions workflows that fail silently — a reusable-workflow run with zero jobs/logs, a gh-aw import mis-resolving vs a repo named .github, self-hosted-runner traps. Use when a required check never reds or a run has no jobs. - 100sc-git
GitHub repo CRUD + Actions cost reduction. Audit workflow burn rate, disable noisy YAML (workflow_dispatch-only with backup), run CI locally instead of cloud minutes, install pre-push hook, install self-hosted runner at VPS, POST commit statuses, register VPS crontab. Replaces… - 100adopt-ec2-runners
Moves a repository's GitHub Actions jobs onto ec2-runners by choosing ec2 or microvm labels and sizes for each job. Use when migrating workflows from GitHub-hosted or other self-hosted runners to ec2-runners, or sizing a job's runs-on labels. - 100glab-runner
Manage GitLab CI/CD runners — list, assign, unassign, inspect recent jobs and managers, pause/unpause via update, and delete runners at project, group, or instance level. Use when viewing runner status, assigning runners to projects, checking what jobs a runner handled, seeing… - 100ci-pipelines
Design continuous integration for an open-source repository. Use when setting up GitHub Actions from scratch, when CI is slow or flaky, when adding a build matrix across OS and language versions, when configuring caching, or when handling PRs from forks that need secrets. Covers… - 100ci-slim-pass
Run a repeatable CI and test-suite slim pass for Pharos — measure lane baselines, fan out read-only test-value finders, verify findings adversarially, apply the verified backlog in area lanes, review independently, then land one wave and observe it. Use for the monthly pass or…