Index of every page on this site: llms.txt
All skills
Run it yourself

Audits a repository's GitHub Actions workflows for CI optimization opportunities — missing caches, redundant setup, sleep-based readiness, long test jobs without sharding, full-history checkout, dead env vars, build-cache misconfig, and ~60 more patterns across caching, redundancy, parallelization, conditional execution, trigger scope, and hidden failures. Use when: (1) analyzing a repo's CI for optimization opportunities, (2) producing a prioritized report with measured wall-clock and runner-minute savings, (3) re-auditing after upstream CI changes. Do not trigger for: general CI setup help, writing new workflows from scratch, non-GitHub-Actions CI systems, or security/posture audits — use `ci-secure` for those.

Use this Skill: https://skilld.dev/gh/starslingdev/skills/ci-speedup

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencespatternsopt35-missing-fail-fast-on-non-diagnostic-matrix-dimensions.md

≈481 tokens on demand. Your agent reads this file only when SKILL.md points to it.

OPT35 — Missing fail-fast on Non-Diagnostic Matrix Dimensions

TL;DR: A sharded test matrix sets fail-fast: false, so when one shard fails the rest keep running and burning minutes on an already-failing run.

Anti-pattern: An explicit fail-fast: false on a shard-indexed (non-diagnostic) matrix. An ABSENT fail-fast is NOT a finding — GitHub Actions defaults to fail-fast: true, so only the explicit opt-out wastes compute.

Detection heuristic:

grep -rn 'fail-fast: false' .github/workflows/
# Flag only explicit fail-fast: false on shard-indexed (non-diagnostic) matrices;
# an absent fail-fast already fail-fasts (GHA default: true)

Fix: Remove the fail-fast: false (or set fail-fast: true) unless you need all matrix variants to complete for diagnostic purposes (e.g., cross-platform compatibility testing — per-OS/per-version matrices, where fail-fast: false is correct).

Tier-2 render note: When run history shows an explicit strategy.fail-fast: false shard/partition/chunk matrix where a failed or timed-out shard completed before sibling shards, OPT35 can promote as measured post-completion waste. The finding must credit only sibling runtime after the first failed shard, carry sizing_basis=measured, and stamp a post_completion_waste certificate whose evidence names the first failed shard, post-failure minutes, and the diagnostic matrix carve-out. Static OPT35 hits without failed-run post-failure evidence remain modeled residual findings in "Also noticed"; a matching static row on a measured workflow/job is superseded by the measured finding.


Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert2d3 checks · Risk SAFE
  • Gen Agent Trust Hub2d

    The skill is a robust CI optimization tool that audits GitHub Actions workflows. It identifies performance bottlenecks using deterministic logic and provides analysis of job logs. While it processes untrusted log data, it includes strong defensive instructions to mitigate indirect prompt injection. A minor best-practice issue regarding unsafe YAML loading was identified in a utility script.

  • Socket2d

    No alerts

  • Snyk2d

    Risk: CRITICAL · 2 issues

Signed by skilld at 9a84115. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 16 hours ago.

Activeupdated yesterday

README badge

README badge for starslingdev/skills/ci-speedup