.NET Template Validator

•
3.4k
•

Validates custom dotnet new templates to ensure correctness and prevent silent failures before publishing.

The .NET Template Validator skill provides comprehensive linting and diagnostic checks for custom dotnet new template configurations. It systematically scans template.json files for missing required fields, identity format errors, and parameter type mismatches that often cause templates to fail silently. By identifying naming conflicts with existing dotnet CLI commands and validating complex symbol generators, this skill ensures your templates are discoverable, functional, and ready for distribution to other developers via NuGet or local installation.

Key Features

01Detection of shortName conflicts with authoritative dotnet new subcommands
02Validation of symbol types including choice, bool, and generated values
03Deep validation of template.json schema and required metadata
04Categorized reporting of errors, warnings, and UX improvement suggestions
05Check for missing sourceNames and broken post-action configurations
063,370 GitHub stars

Use Cases

01Debugging why a custom template fails to appear in the dotnet new list command
02Reviewing template parameter definitions for logic errors before packaging for NuGet
03Performing a final validation pass on complex templates with multiple symbols and constraints