template-discovery

Map natural-language intent to dotnet new templates and validate with CLI inspection.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/1k-off/umbraco-observability-playground --skill template-discovery-1k-off
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-discovery
Source: https://github.com/1k-off/umbraco-observability-playground/tree/main/.agents/skills/template-discovery
Command: npx skills add https://github.com/1k-off/umbraco-observability-playground --skill template-discovery-1k-off

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you quickly identify which dotnet new project template best matches a described application idea, including what parameters exist and what files will be generated.

Core Features & Use Cases

  • Template candidate resolution: Converts natural-language intent (for example, “web API with auth” or “worker service”) into likely dotnet new template short names.
  • Discovery across sources: Uses dotnet new list for installed templates and dotnet new search for NuGet-discoverable templates when local matches are missing.
  • Parameter and output inspection: Explains template parameters via --help and previews generated files/structure with --dry-run before committing.

Quick Start

Ask an AI to “Find the best dotnet new template for a REST web API with authentication and show the key parameters and what it generates.”

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 template for a specific project idea?

To find the right dotnet template, map your natural-language intent to template candidates using `dotnet new list` for installed templates and `dotnet new search` for NuGet-discoverable options. It ranks matches based on your described application requirements.

Can I preview the files a dotnet new template generates before creating a project?

Yes, you can preview generated files and directory structure before instantiation by running the template with the `--dry-run` flag. This outputs the exact project structure without committing changes to disk.

How do I check available parameters for a dotnet new SDK template?

You can inspect available template parameters by appending the `--help` flag to the `dotnet new` command. This displays all configurable options and their default values for the selected template.

What is the best way to compare dotnet new templates for a web API with auth?

The best way to compare templates is converting your web API with auth intent into likely short names, then validating candidates via CLI inspection. Use `--help` for parameter selection and `--dry-run` for output structure comparison.

Does dotnet new search work for finding templates not installed locally?

Yes, `dotnet new search` queries NuGet for discoverable templates when local matches are missing. It identifies available project scaffolding packages that have not yet been installed on your machine.

Why use dry-run preview for dotnet project scaffolding?

Using dry-run preview for project scaffolding prevents accidental file creation by showing the exact output structure. It helps you validate the template's generated files and hierarchy before committing to actual instantiation.