skills README

项目的 README,来自 github.com/dotnet/skills。合并为一个 markdown 文件:README.md。

.NET Agent Skills

Dashboard

This repository contains the .NET team's curated set of portable skills and host-specific custom agents for coding agents. For information about the Agent Skills standard, see agentskills.io.

[!TIP] Compare skill value: Open the Skill Value dashboard See token use, elapsed time, activation, and not-passed rates by plugin, skill, executor model, and judge model.

Plugin support is component-specific:

What's Included

Plugin Description
dotnet High-level .NET development skills plus C# language server (LSP) integration for hosts that support it.
dotnet-advanced Collection of .NET skills for handling specific .NET tasks for special scenarios.
dotnet-data Skills for .NET data access and Entity Framework related tasks.
dotnet-diag Skills for .NET performance investigations, debugging, and incident analysis.
dotnet-msbuild Comprehensive MSBuild and .NET build skills: failure diagnosis, performance optimization, code quality, and modernization.
dotnet-nuget NuGet and .NET package management: dependency management and modernization.
dotnet-upgrade Skills for migrating and upgrading .NET projects across framework versions, language features, and compatibility targets.
dotnet-maui Skills for .NET MAUI development: environment setup, diagnostics, and troubleshooting.
dotnet-ai AI and ML skills for .NET: technology selection, LLM integration, agentic workflows, RAG pipelines, MCP, and classic ML with ML.NET.
dotnet-template-engine .NET Template Engine skills: template discovery, project scaffolding, and template authoring.
dotnet-test Skills for running, generating, analyzing, and improving .NET tests: test execution, filtering, platform detection, coverage, testability, and MSTest workflows.
dotnet-test-migration Skills and a GitHub Copilot orchestrator agent for migrating .NET test frameworks and platforms: MSTest and xUnit version upgrades, xUnit-to-MSTest conversion, and VSTest to Microsoft.Testing.Platform.
dotnet-aspnetcore ASP.NET Core web development skills including middleware, endpoints, real-time communication, and API patterns.
dotnet-blazor Skills for Blazor development: component authoring, interactivity, and web application patterns.
dotnet-winforms Skills for Windows Forms development: project setup, UI design, data binding, accessibility, and modern .NET practices.
dotnet11 Skills for new .NET 11 APIs and language features.

Agentic Workflows

Reusable GitHub Agentic Workflows are published under agentic-workflows/. Install the complete collection with gh aw add-wizard dotnet/skills/agentic-workflows@main, or install an individual package using the command in its README.

Installation

🚀 Plugins - Copilot CLI / Claude Code

  1. Launch Copilot CLI or Claude Code
  2. Add the marketplace:
    /plugin marketplace add dotnet/skills
    
  3. Install a plugin:
    /plugin install <plugin>@dotnet-agent-skills
    
  4. Restart to load the new plugins
  5. View available skills:
    /skills
    
  6. View available agents:
    /agents
    
  7. Update plugin (on demand):
    /plugin update <plugin>@dotnet-agent-skills
    

VS Code / VS Code Insiders (Preview)

[!IMPORTANT]
VS Code plugin support is a preview feature and subject to change. You may need to enable it first.

// settings.json
{
  "chat.plugins.enabled": true,
  "chat.plugins.marketplaces": ["dotnet/skills"]
}

Once configured, type /plugins in Copilot Chat or use the @agentPlugins filter in Extensions to browse and install plugins from the marketplace.

Cursor

This repository is a Cursor plugin marketplace. You can discover and install published plugins directly in Cursor:

  1. Open the marketplace panel in Cursor
  2. Search for .NET or browse cursor.com/marketplace
  3. Install the desired plugins

For local development or unpublished changes, import plugins from a local checkout:

  1. Copy or symlink your local checkout to ~/.cursor/plugins/local/dotnet-agent-skills
  2. Restart Cursor or run Developer: Reload Window

Codex CLI

Skills in this repository follow the agentskills.io open standard and are compatible with OpenAI Codex.

Codex plugin installs expose the skills and any Codex-compatible MCP servers declared by the plugin. They do not expose the repository's GitHub Copilot .agent.md files, their static handoffs, or host-specific LSP declarations. Use Codex's built-in dynamic subagent delegation instead. Native Codex custom agents are a separate configuration mechanism documented under multi-agent workflows. OpenAI Agents SDK handoffs are an application-level transfer between SDK-defined agents; they are separate from both Copilot's static UI handoff metadata and Codex plugin or custom-agent packaging.

Codex CLI v0.121.0 and later supports a plugin marketplace. This repository ships a Codex-native marketplace manifest at .agents/plugins/marketplace.json, so you can register dotnet/skills as a marketplace and install plugins from it directly.

  1. Add the marketplace:
    codex plugin marketplace add dotnet/skills
    
  2. Launch Codex and open the plugin browser:
    /plugins
    
  3. Browse the dotnet-agent-skills tab and install the desired plugins.
  4. Update plugins on demand:
    codex plugin marketplace upgrade dotnet-agent-skills
    

Individual skills

You can also install individual skills using the skill-installer CLI with the GitHub URL:

$ skill-installer install https://github.com/dotnet/skills/tree/main/plugins/<plugin>/skills/<skill-name>

Microsoft Learn MCP Server

Use the optional Microsoft Learn MCP Server for current Microsoft documentation and code samples. Follow the official client-specific installation instructions to configure it in VSCode, GitHub Copilot CLI, Claude Code, Visual Studio, Cursor, Codex, or another supported client.

Contributing

See CONTRIBUTING.md for contribution guidelines and how to add a new plugin.

License

See LICENSE for details.

skills (dotnet/skills)

正在搜索数据库…

这是什么?它是 .NET 团队精心整理的一套技能(skills)和自定义智能体(agents),可以接入 AI 编程智能体,让它们在 .NET 和 C# 开发任务上获得专家级的帮助。
那我实际安装的是什么——是一个应用,还是我的编程智能体会加载的东西?是插件,不是应用。这个仓库可以当作编程智能体的插件市场来用:每个插件打包了一组遵循 agentskills.io 开放标准的技能,你只需要安装自己用得上的那些。
怎么把它们装到我的编程智能体里?在 Copilot CLI 或 Claude Code 里:先添加这个市场,安装插件,然后重启让它加载。Cursor 有自己的市场面板,Codex CLI v0.121.0+ 则通过 .agents/plugins/marketplace.json 原生注册同一个市场。
哪些编程智能体能用它?支持 Copilot CLI、Claude Code、Cursor 和 OpenAI Codex。VS Code 和 VS Code Insiders 也能用,但只是预览版功能,可能需要先手动开启。
安装之前有什么坑需要知道?VS Code 的插件支持官方明确说是预览版——随时可能变动,而且在插件出现在 Copilot Chat 之前,你可能需要先手动启用这个功能。各个 CLI 智能体和 Cursor 则按文档里的市场流程走就行。
它在我的电脑上能用吗,还是只能配合 Windows 上的 Visual Studio?这些技能运行在你的编程智能体内部,所以智能体能在哪儿跑,它们就能在哪儿用——包括 Claude Code、Copilot CLI、Codex CLI、Cursor 和 VS Code 的 Windows、macOS 和 Linux 版本。
基础的 dotnet 插件给我的智能体加了什么?为编程智能体接入了 C# 语言服务器(LSP),还带了一整套 .NET 开发的高阶技能——这样智能体就能借助真正的语言工具来干活。
我维护一个老的 .NET Framework 应用——这些技能能帮我把它现代化吗?可以——dotnet-upgrade 覆盖跨框架版本、语言特性和兼容性目标的迁移,dotnet-test-migration 则能把 xUnit 测试套件转换成 MSTest,并把项目从 VSTest 迁到 Microsoft.Testing.Platform。
我怎么判断一个技能值不值得花那些 token?这个仓库自带一个 Skill Value 仪表盘:展示 token 用量、耗时、激活率和未通过率,可以按插件、技能、执行模型和评审模型分别查看。
它涵盖用 C# 做 AI 开发吗?涵盖——dotnet-ai 插件涉及技术选型、LLM 集成、智能体工作流、RAG 流水线、MCP,以及用 ML.NET 做经典机器学习。
作者
dotnet
大小
565.3 MB
星标
6.3K
时长
9个月
提交 · 90 天