ci-review
Audit CI workflow design and effectiveness without modifying it. Use when triggers, jobs, commands, quality gates, caches, artifacts, matrices, permissions, release paths, or deployment automation may
SKILL.mdplugins/yarstack/skills/ci-review/SKILL.md
GitHubCI Review
Show which CI components protect a real contract, and which are stale, redundant, unsafe, or ineffective.
Workflow
- Confirm the repository, the comparison target if there is one, the supported platforms, and the checks required for merge.
- Map the triggers, jobs, called commands, environments, token permissions, secrets, caches, artifacts, release paths, deployment paths, and required checks. Note each trigger that runs code from forks or untrusted contributors, and the secrets and permissions that code receives.
- For each component, name its consumer and the contract it enforces. Read the repository, and, when the host allows it, bounded read-only run history such as
gh run list --workflow <file> --limit 20, to see whether a check actually runs, fails, or is skipped. - Look for duplicated logic, mismatched tool versions, path filters that skip required checks, unused matrix entries, ignored results such as
continue-on-erroror|| true, retries that hide flaky tests, dead paths, permissions broader than the job needs, third-party actions referenced by a mutable tag or branch, and caches or artifacts that nothing reads. - Classify each actionable item as
keep,simplify,merge,fix,remove, orowner decision. - Delegate tool provenance to
dependency-review, exploit paths tosecurity-review, infrastructure semantics toinfra-review, runtime readiness torollout-readiness-review, and test sufficiency totest-gap-review.
Do not edit workflows, rerun jobs, or change repository settings. Do not remove a safety gate on speculation, recommend scanners for appearance, or propose a broad rewrite.
Result
For each finding, report the location, the affected contract, the evidence, the consequence, the recommended disposition, the risk of making the change, and how to verify it. Order findings by consequence. State the scope, the evidence limits, and the smallest sequence of cleanup steps, or state that nothing is actionable. Recommendations do not authorize implementation.