开源项目 GitHub Trending 2026-07-05T14:17 正文 ok 539 words

🔥 dotnet/skills:辅助 AI 编码代理的 .NET 技能仓库

英文标题:🔥 dotnet/skills

该仓库由 .NET 团队精心策划,提供一系列核心技能与自定义代理,专为 AI 编码代理设计。涵盖 C# 语言服务、数据访问、诊断、构建、NuGet、升级、MAUI、AI/ML、测试等众多插件,并配有准确率与效率评分仪表板。支持 Copilot CLI、Claude Code、VS Code、Cursor 及 OpenAI Codex 等工具,遵循开放标准,帮助开发者快速集成并提升 AI 辅助编码的质量。
打开原文相关 6 · 机会 3
media2.3 KB media39.2 KB

中文

仪表板

此仓库包含 .NET 团队为编码代理精心策划的一组核心技能和自定义代理。有关 Agent Skills 标准的信息,请参阅 agentskills.io。

📊 仪表板 - 内含插件的准确性与效率评分趋势(https://dotnet.github.io/skills/)

插件 描述
dotnet C# 语言服务器 (LSP) 集成,供编码代理使用,以及高级 .NET 开发技能。
dotnet-advanced 用于处理特定场景下 .NET 任务的一组 .NET 技能。
dotnet-data 针对 .NET 数据访问和 Entity Framework 相关任务的技能。
dotnet-diag 用于 .NET 性能调查、调试和事件分析的技能。
dotnet-msbuild 全面的 MSBuild 和 .NET 构建技能:故障诊断、性能优化、代码质量和现代化。
dotnet-nuget NuGet 和 .NET 包管理:依赖项管理和现代化。
dotnet-upgrade 用于跨框架版本、语言特性和兼容性目标迁移和升级 .NET 项目的技能。
dotnet-maui .NET MAUI 开发技能:环境搭建、诊断和故障排查。
dotnet-ai .NET 的 AI 和 ML 技能:技术选型、LLM 集成、代理工作流、RAG 流水线、MCP 以及使用 ML.NET 的经典机器学习。
dotnet-template-engine .NET 模板引擎技能:模板发现、项目脚手架和模板创作。
dotnet-test 用于运行、生成、分析和改进 .NET 测试的技能:测试执行、筛选、平台检测、覆盖率、可测试性和 MSTest 工作流。
dotnet-test-migration 用于迁移 .NET 测试框架和平台的技能及编排代理:MSTest 和 xUnit 版本升级、xUnit 到 MSTest 的转换,以及 VSTest 到 Microsoft.Testing.Platform 的迁移。
dotnet-aspnetcore ASP.NET Core Web 开发技能,包括中间件、终结点、实时通信和 API 模式。
dotnet-blazor Blazor 开发技能:组件创作、交互性和 Web 应用程序模式。
dotnet11 针对新 .NET 11 API 和语言特性的技能。

🚀 插件 - Copilot CLI / Claude Code

  1. 启动 Copilot CLI 或 Claude Code

  2. 添加市场:

    /plugin marketplace add dotnet/skills
    
  3. 安装插件:

    /plugin install <plugin>@dotnet-agent-skills
    
  4. 重启以加载新插件

  5. 查看可用技能:

  6. 查看可用代理:

  7. 更新插件(按需):

    /plugin update <plugin>@dotnet-agent-skills
    

VS Code / VS Code Insiders(预览)

重要提示:VS Code 插件支持是预览功能,可能会更改。您可能需要先启用它。

配置完成后,在 Copilot Chat 中输入 /plugins,或在扩展中使用 @agentPlugins 筛选器,即可浏览并安装来自市场的插件。

此仓库是一个 Cursor 插件市场。您可以直接在 Cursor 中发现和安装已发布的插件:

  1. 打开 Cursor 中的市场面板
  2. 搜索 .NET 或浏览 cursor.com/marketplace
  3. 安装所需插件

对于本地开发或未发布的更改,从本地检出导入插件:

  1. 将本地检出的目录复制或符号链接到 ~/.cursor/plugins/local/dotnet-agent-skills
  2. 重启 Cursor 或运行 Developer: Reload Window

此仓库中的技能遵循 agentskills.io 开放标准,并与 OpenAI Codex 兼容。

插件市场(推荐)

Codex CLI v0.121.0 及更高版本支持 插件市场。此仓库在 .agents/plugins/marketplace.json 中提供了一个 Codex 原生的市场清单,因此您可以将 dotnet/skills 注册为一个市场,并直接从中安装插件。

  1. 添加市场:

    codex plugin marketplace add dotnet/skills
    
  2. 启动 Codex 并打开插件浏览器:

  3. 浏览 dotnet-agent-skills 选项卡,并安装所需插件。

  4. 按需更新插件:

    codex plugin marketplace upgrade dotnet-agent-skills
    

您也可以使用 skill-installer CLI 通过 GitHub URL 安装单个技能:

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

参见 CONTRIBUTING.md 了解贡献指南以及如何添加新插件。

有关详细信息,请参阅 LICENSE。

English / 原文

Dashboard

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

📊 Dashboard - Accuracy and efficiency scoring trends for contained plugins (https://dotnet.github.io/skills/)

Plugin Description
dotnet C# language server (LSP) integration for coding agents and high-level .NET development skills.
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 an 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.
dotnet11 Skills for new .NET 11 APIs and language features.

🚀 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:

  6. View available 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.

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

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

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

Plugin marketplace (recommended)

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:

  3. Browse the dotnet-agent-skills tab and install the desired plugins.

  4. Update plugins on demand:

    codex plugin marketplace upgrade dotnet-agent-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>

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

See LICENSE for details.