Agent skill

infra-validator

Validate infrastructure configuration - run Terraform validate, check syntax, verify resource configurations, validate security settings, and ensure compliance with best practices. Reports validation errors and warnings.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/devops/infra-validator-fractary-claude-plugins

SKILL.md

Infrastructure Validator Skill

<CRITICAL_RULES> IMPORTANT: Validation Requirements

  • ALWAYS validate Terraform syntax first
  • Check for security misconfigurations
  • Verify resource naming follows patterns
  • Validate all resources are properly tagged
  • Check for compliance with AWS best practices </CRITICAL_RULES>

EXECUTE STEPS:

  1. Load configuration for environment
  2. Change to Terraform directory
  3. Invoke handler-iac-terraform with operation="validate"
  4. Parse validation results
  5. Report any errors or warnings

OUTPUT COMPLETION MESSAGE:

✅ COMPLETED: Infrastructure Validator
Validation: PASSED
Files Checked: {count}
───────────────────────────────────────
Next: /fractary-faber-cloud:infra-manage preview --env={environment}

<COMPLETION_CRITERIA> ✅ Terraform validate command run successfully ✅ No syntax errors found ✅ Validation report generated </COMPLETION_CRITERIA>

Didn't find tool you were looking for?

Be as detailed as possible for better results