template-validation SKILL.md skillA
template-validation from dotnet/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add dotnet/skills/template-validation@git:20260831.a7a6170Pins git:20260831.a7a6170 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- dotnet/skills
- Path
plugins/dotnet-template-engine/skills/template-validation/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260831.a7a6170, committed Aug 31, 2026
- First version recorded
- Apr 1, 2026
- Size
- 11,785 bytes
- Repository stars
- 5,836
- License
- MIT
Validates custom dotnet new templates for correctness before publishing. Catches missing fields, parameter bugs, shortName conflicts, constraint issues, and common authoring mistakes that cause templates to fail silently. USE FOR: checking template.json files for errors before publishing or testing, diagnosing why a template doesn't appear after installation, reviewing template parameter definitions for type mismatches and missing defaults, finding shortName conflicts with dotnet CLI commands…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Template Validation This skill helps validate custom `dotnet new` templates for correctness before publishing. It encodes the validation rules that catch common authoring mistakes — issues that cause templates to silently fail, produce broken projects, or not appear in `dotnet new list`. ## When to Use - User asks to check or validate a template.json file - User reports "my template doesn't show up after installing" - User wants to review a template before packaging and publishing to NuGet - User encounters unexpected behavior from a custom template ## When Not to Use - User wants to find or use existing templates — route to `template-discovery` - User wants to create a project — route to `template-instantiation` - User wants to create a template from an existing project — route to `template-authoring` ## Inputs | Input | Required | Description | |-------|----------|-------------| | template.json path | Yes | Path to the template.json file or the template directory containing `.template.config/template.json` | ## Validation Rules …
Read the whole file at its exact version.
How to install
mdr add dotnet/skills/template-validation@sha256:3c539ecbf1e8020cThe line at the top of this page pins the label git:20260831.a7a6170, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3aph2au7olrwafi6)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 1, 2026 and Aug 31, 2026, about one every 38 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260831.a7a6170 latest | 2026-08-31 | a7a6170 | 11,785 B | A | view · diff |
| git:20260720.b39a041 | 2026-07-20 | b39a041 | 9,112 B | A | view · diff |
| git:20260612.74c5850 | 2026-06-12 | 74c5850 | 8,112 B | A | view · diff |
| git:20260421.05aeb65 | 2026-04-21 | 05aeb65 | 7,552 B | A | view · diff |
| git:20260401.59d4485 | 2026-04-01 | 59d4485 | 7,539 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11785 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
dotnet/skills · 5,836 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3aph2au7olrwafi6 GET https://markdownregistry.com/api/v1/resolve?ref=dotnet/skills/template-validation GET https://markdownregistry.com/api/v1/blob/3c539ecbf1e8020c7d0660c7067bdea59ef1f9160ee05a597ce27f8b2095f385
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.