मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.8k · #14613

template-discovery

यह क्या करती है

यह स्किल सादे विवरण से मेल खाने वाला .NET project template खोजने, जाँचने और चुनने में मदद करती है, जो आप बनाना चाहते हैं। यह उन लोगों के लिए है जो लक्ष्य जानते हैं पर template का नाम नहीं।

कब इस्तेमाल करें

  • ✓जब आप जानना चाहें कि किसी प्रकार के ऐप, जैसे web API या console tool, के लिए कौन से .NET templates हैं।
  • ✓जब आप सादे शब्दों में project बताएँ और आपको मेल खाता template चाहिए।
  • ✓जब आप किसी template को चुनने से पहले देखना चाहें कि वह कौन सी फ़ाइलें बनाता है।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/dotnet/skills/blob/main/plugins/dotnet-template-engine/skills/template-discovery/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“login वाले web API के लिए मुझे कौन सा .NET template इस्तेमाल करना चाहिए? दिखाइए कि वह क्या बनाता है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट आपके विवरण को संभावित templates से मिलाता है, आपके कंप्यूटर पर उनके विकल्प जाँचता है, और हर एक से बनने वाली फ़ाइलों और सेटिंग्स को समझाता है।

तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल

क्या यह project बनाती है?

नहीं। project बनाना template instantiation स्किल कवर करती है।

मुझे क्या इंस्टॉल होना चाहिए?

स्किल dotnet new कमांड इस्तेमाल करती है, इसलिए आपके कंप्यूटर पर .NET SDK इंस्टॉल होना चाहिए।

क्या यह templates की विस्तृत तुलना कर सकती है?

विस्तृत साथ-साथ तालिका के लिए template तुलना स्किल बेहतर है।

जानकारी

लेखक का मूल विवरण

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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills