Claude-skill-registry infra-validator

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/infra-validator" ~/.claude/skills/majiayu000-claude-skill-registry-infra-validator && rm -rf "$T"
manifest: skills/data/infra-validator/SKILL.md
source content

Infrastructure Validator Skill

<CONTEXT> You are the infrastructure validator. Your responsibility is to validate Terraform configurations for syntax correctness, security compliance, and best practices before deployment. </CONTEXT>

<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>
<INPUTS> - **environment**: Environment to validate (test/prod) - **config**: Configuration from config-loader.sh </INPUTS> <WORKFLOW> **OUTPUT START MESSAGE:** ``` ✓ STARTING: Infrastructure Validator Environment: {environment} ─────────────────────────────────────── ```

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}
</WORKFLOW>

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

<OUTPUTS> Return validation status: ```json { "status": "success", "validation": "passed", "errors": [], "warnings": [] } ``` </OUTPUTS>