csharp-expert
यह क्या करती है
यह स्किल C# और .NET काम के लिए एक प्रवेश बिंदु है। यह पता लगाती है कि अनुरोध के लिए कौन-सी विशेषज्ञ स्किल सही है, और गायब स्किल्स के इंस्टॉल के कदम देती है। यह उन डेवलपर्स के लिए है जिन्हें पता नहीं कि कौन-सा .NET टूल या गाइड इस्तेमाल करें।
कब इस्तेमाल करें
- ✓जब आप तय नहीं कर पा रहे कि कोई C# या .NET काम किस विशेषज्ञ स्किल को सौंपा जाए।
- ✓जब आपको जानना है कि अपने काम को कवर करने वाला dotnet skills प्लगइन कैसे जोड़ें।
- ✓जब कोई .NET अनुरोध कई हिस्सों में फैला हो, जैसे API, उसका डेटा लेयर और उसके टेस्ट।
Skill का लिंक
https://github.com/dotnet/skills/blob/main/plugins/dotnet/skills/csharp-expert/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे Blazor फ़ॉर्म जोड़ना है और फिर अपने .NET ऐप में धीमी EF Core क्वेरी ठीक करनी है। इसके लिए कौन-सी स्किल्स काम करेंगी?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट आपकी रिपॉज़िटरी देखता है, आपके चाहे गए नतीजे को सबसे अच्छे उपलब्ध विशेषज्ञ से मिलाता है, और जब आप काम करने को कहें तो उसे उसी स्किल को सौंप देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
C# Expert
Purpose
Act as the front door for C# and .NET work. Determine what the user wants, identify the kind of
solution that owns the work, invoke the narrowest installed specialist, and give exact
dotnet/skills marketplace installation steps when that specialist is missing. Keep direct C#
language guidance as the fallback, not the default.
Routing Contract
- Classify the requested outcome from the prompt.
- Inspect the smallest set of repository files needed to identify the solution type.
- Compare both signals with the descriptions of the skills currently available to the runtime.
- If the best skill is available and the user asked to perform the downstream work, invoke it with
the
skilltool as the first external action; do not emit a routing explanation before the invocation and do not merely recommend the skill. For selection or preparation-only requests, name the installed specialist and stop without invoking it. - If the best skill is missing, identify its plugin in
references/dotnet-skills-marketplace.md, then decide whether the current task can still be completed safely with repository tools and general .NET knowledge. - Use multiple skills only when the request has distinct phases with different owners.
- If no narrower marketplace skill owns the request, continue with the C# fallback workflow.
Routing is not task completion. A missing specialist changes the confidence and preferred workflow; it does not automatically justify stopping. Continue in the same turn when the task can be completed and validated without the specialist. Stop for installation only when the missing capability is actually required to proceed safely or the user asked specifically to install or load it.
Use these fast paths before general repository exploration:
- Marketplace selection only: when the prompt already states the framework, lifecycle, host, and required behavior, read only the bundled marketplace reference. Do not inspect the fixture, repository, GitHub, or plugin source. Name the exact skill and plugin, explain the decisive mapping, give host-correct acquisition steps, and stop.
- Only surviving diagnostic artifact: inspect that artifact first with the narrowest available
query. For a supplied
.binlog, do not glob, list, or search unrelated workspace files before extracting its recorded error, property, target, and path evidence.
Choose the operating mode from the user's requested outcome:
| User asks for | Required behavior |
|---|---|
| Implement, fix, diagnose, migrate, or create | Invoke the installed specialist, or complete a safe local fallback. If a narrower specialist exists but is unavailable, report its optional plugin afterward unless the user prohibited installation advice. |
| Identify, choose, install, prepare, or load the right marketplace capability | Inspect enough solution evidence to choose the owner, name it whether installed or missing, give acquisition steps only when needed, and stop without invoking the specialist, editing files, or generating the requested application artifact. |
Recover a plugin already installed but absent from /skills |
Refresh discovery first; do not reinstall or update on the first response. |
Choose one owner per phase. Do not expose internal routing ceremony or turn the answer into a menu.
Step 1: Classify the Prompt
Identify the primary action before inspecting implementation details.
| Prompt intent | Prefer skills whose description owns |
|---|---|
| Create or scaffold | Project/template creation for the detected solution type |
| Add application behavior | The framework or component where the behavior lives |
| Fix a compiler/runtime defect | The narrow language, framework, data, or interop owner |
| Build or restore failure | MSBuild, SDK, workload, project-reference, or NuGet diagnosis |
| Write, run, review, or migrate tests | The exact testing lifecycle or migration requested |
| Upgrade or migrate | The source version, target version, and artifact being migrated |
| Diagnose slowness, crash, hang, or memory growth | Runtime diagnostics unless evidence points to build performance or a local code hot path |
| Refactor without changing behavior | Refactoring rather than feature or bug-fix guidance |
| Package, publish, or trust a feed | NuGet/package-publishing workflow |
| Ask about C# syntax, types, nullability, async, or APIs | A language specialist unless solution-specific behavior is lo |
अक्सर पूछे जाने वाले सवाल
क्या यह खुद काम करेगी?
अगर आप काम करने को कहें, तो यह उसे सही विशेषज्ञ स्किल को सौंपती है। योजना या चयन के लिए यह विशेषज्ञ का नाम बताकर रुक जाती है।
क्या यह सामान्य C# सलाह पर वापस जाती है?
हाँ। अगर कोई संकरी स्किल फ़िट न बैठे, तो यह सामान्य C# मार्गदर्शन के साथ जारी रहती है।
इंस्टॉल के कदम कहाँ से आते हैं?
ये dotnet/skills मार्केटप्लेस के प्लगइन की एक संदर्भ सूची से आते हैं।
जानकारी
लेखक का मूल विवरण
Route C# and .NET requests to the exact installed specialist or smallest dotnet/skills marketplace plugin. USE FOR: "which specialist should own this" or "how do I add the skill" requests involving ASP.NET Core endpoints, Blazor, MAUI binding, Windows Forms specialist selection or installation, EF Core queries, test or framework migration, runtime CPU/allocation evidence, file-based C#, editor/compiler defects, a surviving MSBuild `.binlog`, or a plugin missing from `/skills`; also use for C# semantics when no narrower specialist exists. DO NOT USE FOR: requests that already name the exact ins
repo: dotnet/skills
लोकप्रियता
- GitHub स्टार
- 5.8k
- रैंकिंग में स्थान
- #14651
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
create-custom-agent
5.8kयह आपके एजेंट को VS Code के custom agent फ़ाइलें बनाने देती है, जिनके अपने tools, निर्देश और दूसरे agents को handoffs होते हैं।
create-skill
5.8kयह आपके एजेंट को सही नाम, साफ़ trigger विवरण और मानक के अनुसार SKILL.md फ़ाइल वाली नई agent skill बनाने में मदद करती है।
csharp-scripts
5.8kयह आपके एजेंट को .NET command line टूल से एक छोटा C# प्रोग्राम एकल फ़ाइल के रूप में चलाने देती है, पूरा प्रोजेक्ट बनाए बिना।
dotnet-pinvoke
5.8kयह आपके एजेंट को .NET से native C या C++ libraries सही तरीके से कॉल करने में मदद करती है, जिसमें signatures, string संभालना, memory और सुरक्षित handles शामिल हैं।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।