Mav bp infrastructure as code

From thermiteau/maverick · View interactive version

Mav bp infrastructure as code is an AI agent skill from the GitHub repository thermiteau/maverick. 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.

How to use this skill

Skill file

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

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

| Pattern | Issue | Fix |

| ---------------------------------------------- | ------------------------------ | ---------------------------------------------------- |

| Hard-coded secret in IaC file | Secret exposure | Move to secret manager, reference dynamically |

| Copy-pasted templates per environment | Environment drift risk | Parameterise a single template |

| State file committed to repository | State corruption risk | Move to remote backend with locking |

| No plan step in CI pipeline | Blind apply | Add plan stage, require review before apply |

| Manual infrastructure change with no runbook | Undocumented, unreproducible | Write a runbook or convert to IaC |

| Resources with no tags or labels | Untrackable resources | Add standard tags (service, environment, owner, SHA) |

| Destructive changes auto-applied | Accidental data loss | Require human approval for destroy/replace actions |

| Mixed IaC tools for the same resource layer | Conflicting state management | Standardise on one tool per layer |

<!-- maverick-plugin-version: 5.3.1 -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.