From syncable-cli-skills
Validates IaC files including Dockerfiles (hadolint), Docker Compose (dclint), Kubernetes manifests, and Terraform configs against best practices. Reports violations with severity, locations, and auto-fix suggestions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/syncable-cli-skills:syncable-validateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Validate IaC files against best practices. Covers Dockerfiles (hadolint), Docker Compose (dclint), and Terraform. Reports violations with severity, locations, and auto-fix suggestions.
Validate IaC files against best practices. Covers Dockerfiles (hadolint), Docker Compose (dclint), and Terraform. Reports violations with severity, locations, and auto-fix suggestions.
| Flag | Purpose |
|---|---|
--agent | Compressed output (always use) |
--types <list> | Filter: dockerfile, compose, terraform (comma-separated) |
--fix | Auto-fix issues where possible |
| Type | Linter | Examples |
|---|---|---|
| Dockerfile | hadolint (Rust) | Pin versions, avoid latest, COPY not ADD |
| Docker Compose | dclint (Rust) | Service naming, volumes, networks (15 rules) |
| Terraform | Terraform validator | Syntax, providers, resource definitions |
sync-ctl validate <PATH> --agent
Success criteria: JSON output with status field (ERRORS_FOUND, WARNINGS_ONLY, or CLEAN).
Priority: errors (build/deploy failures) > warnings (best practice violations) > info (suggestions).
Compressed output includes all errors in full. Warnings are deduplicated counts:
sync-ctl retrieve <ref_id> --query "severity:high"
sync-ctl retrieve <ref_id> --query "file:Dockerfile"
sync-ctl retrieve <ref_id> --query "code:DL3006"
Available queries: severity:<level>, file:<path>, code:<id>
| Error | Action |
|---|---|
No IaC files found | Run sync-ctl analyze <PATH> --agent to verify what IaC exists |
Unknown type | Valid types: dockerfile, compose, terraform |
npx claudepluginhub syncable-dev/syncable-cli --plugin syncable-cli-skillsChains analysis, validation, and conditional K8s optimization for IaC: Dockerfiles, Compose, Terraform, manifests, Helm charts using sync-ctl.
Provides validation workflows for Terraform, Ansible, Docker, Kubernetes, and CloudFormation IaC files using linting, syntax checks, security scans, dry runs, and drift detection before apply/plan.
Verifies DevOps/infrastructure code like Terraform and Ansible YAML against best practices, security, simplicity, maintainability, and documentation. Scores readiness and generates reports.