Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Authors and refactors GitHub Actions workflows and composite actions for this monorepo using required conventions, minimal permissions, pinned SHAs, and observability steps. Use when creating or restructuring CI workflows.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 108% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 71% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 147% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -36% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -32% | 0% |
Check docs/monorepo-docs/ci.md first.
description, test location, type, owner).permissions: {} and add only required scopes.timeout-minutes per job.observe-build-status step.on: push to main/stable branchesUse push only for workflows on main/stable/*, where every commit needs a full build for confidence. Use pull_request everywhere else, so a branch doesn't get two trigger sources to deduplicate.
Add a concurrency: group to cancel superseded runs, reduce race conditions, and avoid wasted runner cost. Copy the pattern from ci.yml rather than inventing a new one:
yamlconcurrency: cancel-in-progress: true group: ${{ format('{0}-{1}-{2}', github.workflow, github.event_name, (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/stable/')) && github.sha || github.ref) }}
github.event_name keeps different trigger sources on the same ref from colliding, especially scheduled cache-refresh runs and push builds on main/stable/*. The github.sha fallback for main/stable/* is intentional: those branches need complete builds for every pushed commit, and a cancelled push run can mean a missed alert or skipped artifact push.
.github/actions/setup-maven-cachecamunda/infra-global-github-actions/setup-yarn-cachemain and stable*references/workflow-template.mdreferences/composite-action-template.mdOther measured skills in the registry, with their headline benchmark lift.