cicd-review
Skill0 starsChanged 41 days agoMITView on GitHub
Use when reviewing a CI/CD pipeline definition such as GitHub Actions workflows or GitLab CI config for security and reliability. Mention "review this workflow", "ci review", "is this pipeline safe" as triggers.
- Pipes a download into a shell
In this repository45 other files it gives its agents.
- admission-policy-reviewSkill
- alert-rule-reviewSkill
- architecture-reviewSkill
- argocd-applicationsetSkill
- argocd-debugSkill
- argocdSkill
- cert-manager-debugSkill
- cilium-debugSkill
- ciliumSkill
- cluster-backupSkill
- dast-reviewSkill
- dockerfile-reviewSkill
- english-technical-messageSkill
- git-messageSkill
- gitops-reviewSkill
- go-bugfixSkill
- go-code-reviewSkill
- go-testing-reviewSkill
- grafana-dashboardsSkill
- helm-reviewSkill
- homelab-change-planSkill
- incident-analysisSkill
- ingressSkill
- interview-system-designSkill
- istio-debugSkill
- istioSkill
- kubernetes-autoscalingSkill
- kubernetes-debugSkill
- kubernetes-securitySkill
- kubernetes-yaml-reviewSkill
- migration-planSkill
- observability-reviewSkill
- observability-stackSkill
- production-readinessSkill
- pr-reviewSkill
- root-cause-analysisSkill
- runbook-writerSkill
- runtime-security-reviewSkill
- secrets-managementSkill
- storage-debugSkill
- supply-chain-securitySkill
- terraform-reviewSkill
- upgrade-readinessSkill
- vaultSkill
- vulnerability-triageSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Read the exact workflow file, trigger event, token permissions, and run steps.
- Distinctive: line 22
Do not execute a pipeline while reviewing its configuration.
- Distinctive: line 26
Follow the Workflow, Safety rules, and Quality checklist below.
- Distinctive: line 36
Use when reviewing pipeline definitions — GitHub Actions workflows, GitLab CI, or similar — for security holes, supply-chain risk, and …
- Distinctive: line 85
Never echo a secret value found in logs or config — describe the exposure without quoting it.
- Distinctive: line 86
Treat "untrusted input reaches a privileged context" findings as Critical even if exploitation looks unlikely today — the pipeline outlives …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI/CD Review
TL;DR checklist
- Check permissions and privileged triggers first.
- Trace untrusted inputs through shell, actions, and checked-out code.
- Check pinning, secrets handling, and deploy gates.
Key read-only checks
- Read the exact workflow file, trigger event, token permissions, and run steps.
Common pitfalls
- Do not execute a pipeline while reviewing its configuration.
Agent procedure
Follow the Workflow, Safety rules, and Quality checklist below.
Quick references
- references/terraform-pipelines.md
Last verified: unverified
When to use
Use when reviewing pipeline definitions — GitHub Actions workflows, GitLab CI, or similar — for security holes, supply-chain risk, and reliability problems. This reviews the pipeline itself, not the application code it builds.
Goal
Find the ways this pipeline can be abused (secret exfiltration, privilege escalation, supply chain) or can silently misbehave (flaky, unpinned, unbounded), ranked by severity.
Workflow
- Permissions — GitHub Actions: top-level
permissions:set to least privilege (ideallycontents: readdefault, job-level escalation only where needed); flag workflows running with the default broad token. - Untrusted input injection — any
${{ github.event.* }}(PR title, branch name, issue body, commit message) interpolated directly intorun:is command injection from anyone who can open a PR. Fix: pass throughenv:and quote, or avoid entirely. pull_request_target/ privileged triggers — flag any workflow combining a privileged trigger (secrets access, write token) with a checkout of untrusted PR code. This is the classic secret-exfiltration pattern.- Action/image pinning — third-party actions pinned to a full commit SHA (not a mutable
tag like
@v3for anything with secrets access); container images used in jobs pinned by digest or exact version. - Secrets handling — secrets not echoed into logs (watch
set -x, debug steps,envdumps); scoped to the jobs that need them (environments/protected branches); OIDC/workload identity preferred over long-lived cloud keys stored as secrets. - Deploy gates — anything that applies to production (
kubectl apply,terraform apply,helm upgrade, deploy steps) sits behind a review gate: protected environment, required approval, or at minimum a separate manually-triggered workflow — never on every push to a branch anyone can push to. - Reliability —
timeout-minuteson jobs (default is 6 hours of burned runners);concurrencygroups to cancel superseded runs on the same ref; caches keyed correctly (lockfile hash, not a static key that never invalidates). - Cache/artifact poisoning — caches writable from PR branches and readable by privileged workflows are an escalation path; artifacts passed between workflows validated before use.
- Reproducibility — build steps don't
curl | shunpinned installers; tool versions pinned (setup actions with explicit versions, or versions from the repo's own config files).
References
references/terraform-pipelines.md— Terraform/OpenTofu-specific pipeline review: reviewed plan→apply artifact gate, OIDC trust-policy pinning, drift-detection scheduling (and the scheduled-auto-apply anti-pattern), PR plan visibility, multi-env promotion, and concurrency/locking in CI.
Safety rules
- This is a review skill: do not edit workflows, trigger runs, re-run jobs, or modify repository/ CI settings.
- Never echo a secret value found in logs or config — describe the exposure without quoting it.
- Treat "untrusted input reaches a privileged context" findings as Critical even if exploitation looks unlikely today — the pipeline outlives the current threat model.
Output format
## Critical (exploitable: injection, secret exposure, privileged untrusted code)
<finding — attack path — fix>
## Major (supply chain / unsafe deploy path)
## Reliability
## Minor / styleQuality checklist
- Every
${{ }}interpolation into a shell step was checked for untrusted input pull_request_target(and equivalents) usage was checked against untrusted checkouts- Third-party actions were checked for SHA pinning where they see secrets
- Production deploy steps were checked for a review gate
- No workflow was modified or triggered
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

