agentsclimarketplace

Mav bp infrastructure as code

Skill thermiteau/maverick/skills/mav-bp-infrastructure-as-code

Infrastructure as Code conventions for all deployed projects. Covers IaC principles, environment parity, secrets management in IaC, version control, and runbook fallback for unsupported platforms. Applied when reviewing or configuring infrastructure.From its SKILL.md

Install
npx -y skills add thermiteau/maverick --skill mav-bp-infrastructure-as-code

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 11 stars11 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.8 KB, as published. Nobody here has run it

Infrastructure as Code Standards

All infrastructure must be defined, versioned, and reproducible from code; manual provisioning is a last resort and must be documented in a runbook.

Maverick's Rules

  • Never auto-apply destructive changes — resource deletion or replacement requires human review before apply. CI follows validate → plan → review → apply; post the plan output to the pull request.
  • One provisioning tool per resource layer — do not mix (e.g.) Terraform and CloudFormation for the same resources.
  • Secrets never in IaC files — no credentials in definitions or variable files (including .tfvars); reference a secret manager with dynamic injection at deploy time, and mark secret outputs as sensitive.
  • State handling — remote backend with locking, state isolated per environment, never committed to the repository, never hand-edited (use the tool's state commands). Treat state files as sensitive.
  • Environment parity — one set of templates parameterised per environment; no separate per-env template copies. Promote dev → staging → prod; run regular plan/diff for drift detection.
  • Traceability — tag every resource (service, environment, owner, commit SHA); the CI apply identity has limited, audited permissions.
  • Runbook fallback — any unavoidable manual step gets a runbook stored alongside IaC (e.g., docs/runbooks/), including prerequisites, verifiable numbered steps, verification, rollback, owner, and whether it is temporary or should be migrated to IaC. Review runbooks like code.
  • IaC is versioned with application code and follows the same review/merge process. Container orchestration definitions (Helm, Kustomize, manifests) are IaC too.

Project Implementation Lookup

Check for docs/maverick/skills/infrastructure-as-code/SKILL.md. If present, read it and follow it — it wins on specifics (library, config, conventions). If missing, proceed with these standards and note the gap in your summary.

Detecting IaC Issues in Code Review

PatternIssueFix
Hard-coded secret in IaC fileSecret exposureMove to secret manager, reference dynamically
Copy-pasted templates per environmentEnvironment drift riskParameterise a single template
State file committed to repositoryState corruption riskMove to remote backend with locking
No plan step in CI pipelineBlind applyAdd plan stage, require review before apply
Manual infrastructure change with no runbookUndocumented, unreproducibleWrite a runbook or convert to IaC
Resources with no tags or labelsUntrackable resourcesAdd standard tags (service, environment, owner, SHA)
Destructive changes auto-appliedAccidental data lossRequire human approval for destroy/replace actions
Mixed IaC tools for the same resource layerConflicting state managementStandardise on one tool per layer
<!-- maverick-plugin-version: 4.0.1 -->

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.