- GitHub Actions
- Optimizations
The GitHub Actions optimization catalog
Every CI rule StarSling checks, as a page you can read and a catalog your coding agent can fetch. Each rule names how it is detected, the fix, and how to verify it.
34 rules in 4 categories
For coding agents
One compact JSON manifest sets out both ways to use these rules: run the skills, or apply the rules straight from these pages with nothing installed. It asks your agent which one you want before it installs anything. Then it names the three skills and lists every rule with its stable id, category, detection mode, and page URLs: /github-actions/catalog.json. This page mirrors to plain markdown at /github-actions/optimizations.md, and every rule page mirrors to its own .md.
Performance
Caching, sharding, scoping, and scheduling: the rules that decide how fast a run finishes.
Dependency caching
staticci.cache.dependency-cache
Shallow checkout
staticci.checkout.shallow-clone
Test sharding
staticci.parallel.test-sharding
Change-scoped builds
runtimeci.build.change-scoped
Path filters
staticci.trigger.path-filter
Superseded runs cancelled
hybridci.trigger.cancel-superseded
Concurrency groups
runtimeci.trigger.concurrency-groups
Right-sized runners
runtimeci.runner.right-sizing
Polling waits, not fixed sleeps
staticci.hygiene.polling-waits
Turborepo cache health
staticci.cache.turborepo
npm install caching
staticci.cache.npm-install
pnpm store caching
staticci.cache.pnpm-store
Duplicate dependency installs
staticci.cache.duplicate-installs
Duplicated job setup
staticci.hygiene.duplicated-setup
Incremental build state kept
staticci.build.incremental
Duplicate compilation
staticci.build.duplicate-compilation
Docker build hygiene
staticci.build.docker-builds
Playwright artifact capture
staticci.hygiene.playwright-artifacts
Independent jobs parallelized
staticci.parallel.independent-jobs
Unnecessary needs: edges
staticci.parallel.job-dependencies
Workflow critical path
runtimeci.parallel.critical-path
Long-running jobs split
runtimeci.parallel.long-running-jobs
Fork PR cold start from a trusted producer
runtimeci.cache.fork-pr-cold-start
Docker layer caching
staticci.cache.docker-layers
Reliability
Timeouts and service readiness: the rules that keep runs from hanging or flaking.
Cost
The rules that stop CI from spending minutes and reviewer time it does not need.
Security
Permissions, pinning, secrets, and fork safety: the rules that close attack paths through CI.
Scoped OIDC id-token
staticci.security.scoped-id-token
Pinned action SHAs
staticci.security.pinned-action-shas
Scoped workflow permissions
staticci.security.workflow-permissions
Secret handling
staticci.security.secret-handling
pull_request_target safety
staticci.security.pull-request-target
Cache poisoning prevention
staticci.security.cache-isolation
Audit your repository
Run the detectors rather than reimplementing them. These rules come from StarSling's open-source agent skills, which carry the detection logic rather than describing it: ci-speedup for speed and cost, ci-secure for the security rules, and ci-score to grade a configuration against them. Install from the skills page.
To work from the pages instead, hand this prompt to your coding agent to run the whole catalog against your repository.
Fetch https://starsling.dev/github-actions/catalog.json and read it. For each rule whose detectionMode is "static", fetch the markdown URL and run the page's detection steps against this repository. List every rule that applies, ordered by likely impact, with the file and line behind each finding. For "runtime" rules, list what run history you would need from the GitHub Actions API. A "hybrid" rule is both: run its detection steps against the repository AND name the run history that would confirm it. Then propose fixes for the top findings and open them as a reviewable PR; do not apply changes blindly.Last updated 2026-08-31