Template Validation

Validate syntax, schema, and variables in Cookiecutter, Terraform, and Harness templates.

18|2|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/markus41/claude --skill template-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Template Validation
Source: https://github.com/markus41/claude/tree/main/.claude/tools/plugin-cli/infrastructure-template-generator/skills/template-validation
Command: npx skills add https://github.com/markus41/claude --skill template-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents errors and ensures quality by validating the syntax, structure, and best practices of various template types before they are used for generation or deployment.

Core Features & Use Cases

  • Multi-Template Validation: Supports Cookiecutter, Terraform, and Harness pipelines.
  • Comprehensive Checks: Verifies syntax, schema compliance, variable definitions, security, and best practices.
  • Use Case: Before committing a new Terraform module, use this Skill to automatically check its HCL syntax, validate against best practices with TFLint, and scan for security vulnerabilities with TFsec, ensuring a robust and secure module.

Quick Start

Use the template validation skill to check the syntax and quality of the attached Terraform module.

Frequently Asked Questions about Template Validation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Terraform module syntax and best practices before deployment?

You can validate Terraform modules by performing automated HCL syntax checks, schema validation, and best practice verification using TFLint, alongside security vulnerability scanning with TFsec, ensuring your module is robust and production-ready.

What is the best way to check Cookiecutter template variables and schema compliance?

The best way to check Cookiecutter templates is by running comprehensive schema compliance and variable reference verification, ensuring that your project generation templates are structurally sound and error-free before use.

Can I use automated template validation for Harness pipeline configurations?

Yes, automated template validation supports Harness pipelines by performing syntax checks and verifying variable references within your deployment configurations to ensure they adhere to structural best practices and are error-free.

Does CI/CD template validation check for security vulnerabilities in infrastructure-as-code?

Yes, CI/CD template validation includes security scanning alongside syntax and schema checks to identify vulnerabilities within your infrastructure-as-code formats, ensuring templates are secure before integration or deployment.

Why does my infrastructure template fail variable reference verification during checks?

Variable reference verification fails when template variables are undefined, improperly referenced across templating languages, or do not adhere to the expected infrastructure-as-code schema compliance standards.