From check-terraform
Validacion de seguridad y correctitud de infraestructura como codigo.
How this skill is triggered — by the user, by Claude, or both
Slash command
/check-terraform:check-terraformThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validacion de seguridad y correctitud de infraestructura como codigo.
Validacion de seguridad y correctitud de infraestructura como codigo.
Target: $ARGUMENTS (directorio con ficheros .tf, o proyecto completo)
This skill references external paths. Set these environment variables or replace inline:
$QA_PROPORTIONE_DIR — Root of the QA_Proportione repo (e.g. /path/to/QA_Proportione)which terraform # brew install terraform
which checkov # pip install checkov
which semgrep # pip install semgrep
Si no estan instaladas, informar al usuario y ofrecer instalarlas.
.tfcd [directorio-terraform]
terraform init -backend=false # Solo providers, no state
terraform validate
Reportar errores de sintaxis o configuracion.
Solo si el usuario lo autoriza (puede tener coste o side-effects):
terraform plan -no-color 2>&1 | tee /tmp/tf-plan.txt
Analizar el plan:
checkov -d [directorio-terraform] \
--quiet \
--compact \
--framework terraform \
2>&1 | tee /tmp/checkov-results.txt
Clasificar findings:
semgrep --config $QA_PROPORTIONE_DIR/rulesets/semgrep/terraform.yml \
[directorio-terraform]
Revisar los ficheros .tf buscando:
# Check Terraform — [proyecto]
**Fecha:** YYYY-MM-DD
**Directorio:** [path]
## Resumen
- terraform validate: OK/FAIL
- Checkov findings: X CRITICAL, Y HIGH, Z MEDIUM
- Semgrep findings: X ERROR, Y WARNING
- Revision manual: X issues
## Findings criticos
[lista]
## Recomendaciones
[lista priorizada]
Guardar en reports/{YYYY-MM-DD}/{proyecto}/check-terraform.md
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub proportione/proportione-plugins --plugin check-terraform