template-discovery

Finds, inspects, and compares .NET project templates using dotnet new CLI commands.

Updated Sep 22, 2026
One-click install
npx skills add https://github.com/bytecakelake/Nurse-Scheduler --skill template-discovery-bytecakelake
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: template-discovery
Source: https://github.com/bytecakelake/Nurse-Scheduler/tree/main/.agents/plugins/dotnet-template-engine/skills/template-discovery
Command: npx skills add https://github.com/bytecakelake/Nurse-Scheduler --skill template-discovery-bytecakelake

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the right dotnet new template from dozens of options is hard, especially when you only have a natural-language idea like "web API with auth". This Skill resolves that intent to ranked template matches with pre-filled parameters, so you know exactly what a template produces before creating a project. ## Core Features & Use Cases - Intent-to-Template Mapping: Translates phrases like "web API", "Blazor WASM", or "background service" into concrete template short names and parameter values. - Template Search & Inspection: Uses dotnet new search, dotnet new list, and dotnet new <template> --help to find templates locally and on NuGet.org and surface parameter types, defaults, and constraints. - Output Preview: Runs dotnet new <template> --dry-run to show the exact files and structure a template would create without writing to disk. - Use Case: A user says "I need a web API with individual authentication on .NET 9". The Skill immediately recommends dotnet new webapi --name MyApi --auth Individual --framework net9.0, then confirms parameter names via the CLI. ## Quick Start Ask the assistant to find the right dotnet new template for a web API with authentication and show what files it would create.

Frequently Asked Questions about template-discovery

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

FAQPage Schema
How do I find the right dotnet new template for my project?▼

Describe your project in natural language, such as "web API with auth" or "console app", and the intent mapping resolves it to template short names like webapi or console. The recommendation is then confirmed with dotnet new search and dotnet new list.

How to inspect dotnet template parameters before creating a project?▼

Run dotnet new <template> --help to see full parameter details including names, types, defaults, and allowed values. Parameter names vary by template, for example --auth versus --Authentication, so always confirm with the help output.

Can I preview what files a dotnet template creates without writing to disk?▼

Yes, use dotnet new <template> --name MyApp --dry-run to show the files and directories a template would create without writing anything. If the dry-run fails transiently, retry once or fall back to a representative structure description.

Why is a template like maui or aspire missing from dotnet new list?▼

Templates such as maui, winui3, aspire-starter, func, and orleans are not in a default SDK install. They require a workload via dotnet workload install or an additional template package via dotnet new install before they appear.

Why does dotnet new fail with a mutex or persistence error?▼

The template engine uses a global mutex, so concurrent dotnet new invocations can produce transient mutex or persistence errors with empty output. Run commands sequentially, retry once, and fall back to the intent mapping if the failure persists.

When should I not use template discovery?▼

Do not use it to actually create projects, author custom templates, or produce detailed side-by-side comparisons. Route those tasks to the template-instantiation, template-authoring, or template-comparison skills instead.