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.mdsource 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>
EXECUTE STEPS:
- Load configuration for environment
- Change to Terraform directory
- Invoke handler-iac-terraform with operation="validate"
- Parse validation results
- Report any errors or warnings
OUTPUT COMPLETION MESSAGE:
</WORKFLOW>✅ 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>
<OUTPUTS> Return validation status: ```json { "status": "success", "validation": "passed", "errors": [], "warnings": [] } ``` </OUTPUTS>