본문으로 건너뛰기
Skillpedia
일반 코딩5.8k · #14613

template-discovery

하는 일

이 스킬은 만들고 싶은 것을 평이한 말로 설명하면 맞는 .NET 프로젝트 템플릿을 찾고, 살펴보고, 고를 수 있도록 돕습니다. 목표는 알지만 템플릿 이름은 모르는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓웹 API나 콘솔 도구처럼 특정 앱 종류에 어떤 .NET 템플릿이 있는지 알고 싶을 때.
  • ✓프로젝트를 평이한 말로 설명하고 맞는 템플릿이 필요할 때.
  • ✓템플릿을 쓰기 전에 어떤 파일을 만드는지 보고 싶을 때.

스킬 링크

https://github.com/dotnet/skills/blob/main/plugins/dotnet-template-engine/skills/template-discovery/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/dotnet/skills/blob/main/plugins/dotnet-template-engine/skills/template-discovery/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“로그인이 있는 웹 API에는 어떤 .NET 템플릿을 써야 하나요? 무엇을 만드는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 설명을 가능성 있는 템플릿에 맞추고, 내 컴퓨터에서 옵션을 확인하며, 각 템플릿이 만들 파일과 설정을 설명합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Template Discovery

This skill helps an agent find, inspect, and select the right dotnet new template for a given task using dotnet new CLI commands for search, listing, and parameter inspection.

When to Use

  • User asks "What templates are available for X?"
  • User describes a project in natural language ("I need a web API with authentication")
  • User wants to compare templates or understand parameters before creating a project
  • User needs to know what a template produces (files, structure) before committing

When Not to Use

  • User wants to create a project — route to template-instantiation skill
  • User wants to author or validate a custom template — route to template-authoring skill
  • User wants a detailed side-by-side comparison of templates — route to template-comparison skill
  • User wants smart cross-parameter defaults during creation — route to template-smart-defaults skill
  • User is troubleshooting build issues — route to dotnet-msbuild plugin

Recommendation requests: answer first, confirm second. Inspection requests: inspect first. For a general "which template?" question, start from the Step 1 mappings so a transient CLI failure cannot leave the user without an answer. When the user explicitly asks what is installed, requests exact options/defaults, or asks for dry-run output, run the relevant dotnet new command before writing the final answer. Never end a turn on a dotnet new call or a "let me confirm..." teaser.

Inspection requests require inspection. If the user asks for installed choices, exact parameters/defaults, compatibility constraints, or the exact dry-run file list, run the corresponding dotnet new command. Do not replace observed data with remembered flags. Report a flag only when the current template's --help output contains it.

Inputs

Input Required Description
User intent or keywords Yes Natural-language description or keywords (e.g., "web API", "console app", "MAUI")
Language preference No C#, F#, or VB — defaults to C#
Framework preference No Target framework (e.g., net10.0, net9.0)

Workflow

For recommendations, use Step 1 before Steps 2–4. For explicit inspection requests, execute the requested inspection first and use Step 1 only as a fallback.

Step 1: Resolve intent to template candidates

Map the user's natural-language description to template short names and parameters using these mappings.

Intent → template short name(s):

Intent / phrase Template short name(s)
web api, web service, rest api, restful, api, minimal api webapi
web app, web application webapp, blazorserver
mvc mvc
razor, razor pages webapp
blazor, blazor web app blazor
blazor server blazorserver
blazor wasm, blazor webassembly blazorwasm
grpc grpc
signalr webapi, webapp
console, console app, command line, cli console
worker, background service, daemon, windows service worker
class library, library, lib, nuget package classlib
maui, mobile, cross-platform app, ios, android maui
desktop maui, wpf, winforms
wpf wpf
winforms, windows forms winforms
winui, winui3 winui3
test, unit test xunit, nunit, mstest
xunit / nunit / mstest xunit / nunit / mstest
solution sln
aspire, .net aspire aspire-starter, aspire
azure functions, function app, serverless func
orleans orleans
razor component, web component razorcomponent
razor class library razorclasslib
gitignore / editorconfig / nuget config / global json gitignore / editorconfig / nugetconfig / globaljson

Keyword → parameter:

Keyword / phrase Parameter Value
authentication, auth, individual auth, individual accounts --auth Individual
windows auth --auth Windows
azure ad, entra id --auth SingleOrg
no auth, no authentication --auth None
controllers, with controllers --use-controllers (flag)
minimal api (default) —
aot, native aot --aot (flag)
docker, container the template's Docker/container option varies by template — confirm with --help (not all templates expose one)
net8 / .net 8 / dotnet 8 --framework net8.0
net9 / .net 9 / dotnet 9 --framework net9.0
자주 묻는 질문

프로젝트를 만들어 주나요?

아니요. 프로젝트 생성은 템플릿 인스턴스화 스킬이 다룹니다.

무엇을 설치해야 하나요?

이 스킬은 dotnet new 명령을 쓰므로 컴퓨터에 .NET SDK가 설치되어 있어야 합니다.

템플릿을 자세히 비교할 수 있나요?

자세한 나란히 비교 표가 필요하면 템플릿 비교 스킬이 더 알맞습니다.

상세 정보

작성자의 원본 설명

Helps find, inspect, and compare (at a high level) .NET project templates. Resolves natural-language project descriptions to ranked template matches with pre-filled parameters. USE FOR: finding the right dotnet new template for a task, inspecting a template's parameters and constraints, understanding what a template produces before creating a project, resolving intent like "web API with auth" to concrete template + parameters. DO NOT USE FOR: actually creating projects (use template-instantiation), authoring custom templates (use template-authoring), producing a detailed side-by-side compariso

repo: dotnet/skills

인기도

GitHub 스타
5.8k
순위
#14613
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬