| name | devopsReview |
| description | Use when: reviewing DevOps changes for pipeline safety, secret hygiene, permissions, rollback, and deployment risk. |
| type | reference |
| version | 1.0 |
| license | MIT |
devopsReview
Skill metadata: version "1.0"; tags [devops, review, deployment, safety]; recommended tools [].
Use this skill when reviewing CI/CD pipelines, Dockerfiles, IaC definitions, deployment scripts, or infrastructure PRs.
When to use
- Reviewing CI/CD pipelines, Dockerfiles, IaC definitions, deployment scripts, or infrastructure PRs
When NOT to use
- When reviewing source code for logic or application-layer security — prefer
secureReview
- When reviewing documentation only — prefer
docsReview
Tier 1 — Safety blockers (block merge)
Tier 2 — Operational risk (block merge for production-facing changes)
Tier 3 — Hygiene (suggest)
Secret detection patterns
Flag any value that matches these patterns — even in comments:
| Pattern | Example |
|---|
| AWS access key | AKIA[0-9A-Z]{16} |
| Private key header | -----BEGIN RSA PRIVATE KEY----- |
| Generic API key assignment | api_key = "sk-...", token = "ghp_..." |
| Base64-encoded long string in config | May indicate encoded credential |
Rollback checklist
A deployment is reviewable only if it has a rollback path:
- Stateless services: re-deploy the previous image tag.
- Database migrations: migration must be backward-compatible with the previous app version, or the rollback plan must include a down-migration.
- Infrastructure changes:
terraform plan of the previous state must be available and tested.
- Feature flags: confirm the flag can be disabled without a deploy.
Review comment format
| Prefix | Meaning |
|---|
secret: | Credential or token exposure — must fix |
privilege: | Overly broad permission — must fix |
rollback: | No recovery path — must fix for production |
risk: | Operational risk requiring documented mitigation |
hygiene: | Non-blocking improvement |
nit: | Minor style preference |
Verify