---
title: "微軟悄悄發布 99 個現成 .NET 技能，供 AI 代理使用"
url: "https://claudemods.dev/zh-tw/builds/microsoft-quietly-published-99-ready-made-net-skills-for-ai--b6f66a"
source: "https://github.com/dotnet/skills"
source_type: "github"
repo: "https://github.com/dotnet/skills"
author: "Anton Martyniuk"
author_handle: "AntonMartyniuk"
stars: 6196
category: "多代理與協作"
categories: ["agents"]
tags: ["dotnet", "ef-core", "mcp", "plugins", "skills"]
permission_level: null
scan_complete: false
added: "2026-11-15T11:21:26.871Z"
updated: "2026-11-15T11:21:26.873Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# 微軟悄悄發布 99 個現成 .NET 技能，供 AI 代理使用

X 貼文推廣 Microsoft 的開源 dotnet/skills 儲存庫——14 個外掛與 99 個技能，可在 Claude Code、Codex、Copilot 與 Cursor 中使用——並簡短導覽五個推薦外掛，附上作者部落格指南的連結，說明如何撰寫自己的 Claude 技能。

## Description

微軟悄悄發布了 99 個現成 .NET 技能，供 AI 代理使用。

大多數 .NET 開發人員完全不知道它們存在 👇

這些技能是官方且開源的。

它們可在 Claude Code、Codex、GitHub Copilot 與 Cursor 中使用。

一個技能就是一個包含指示的資料夾。

你的 AI 代理只會在任務需要時載入它。

你只需寫一次步驟，代理每次都會遵循。

Microsoft 將它們放在 dotnet/skills 儲存庫中：14 個外掛、99 個技能。

外掛是一組相關技能。你安裝一個外掛，就能一次取得其所有技能。

以下是我會優先安裝的 5 個，順序如下：

1. dotnet-upgrade
將專案從 .NET 8 移到 10，並開啟可空參考型別。

2. dotnet-data
optimizing-ef-core-queries 技能會捕捉 N+1 查詢、選擇正確的追蹤模式，並移除常見的 EF Core 效能陷阱。

3. dotnet-aspnet
以正確方式在 Minimal APIs 中建置 Web API 端點與檔案上傳端點。

4. dotnet-test
最大的外掛：22 個技能，用來執行測試、篩選測試，並在測試框架之間切換。

5. dotnet-ai
使用 C# SDK 建置、偵錯與測試 MCP 伺服器。

這些技能懂 .NET。

它們不懂「你的」專案。

它們無法得知你把實體放在哪裡、你沒有使用儲存庫，或你的處理常式會回傳 Result<T>。

你自己的技能可以補上這個缺口：
→ Microsoft 的技能處理一般 .NET 任務
→ 你的技能處理你的團隊規則與慣例

兩者並用，你的 AI 代理就會同時了解框架與你的風格。

安裝前的 2 個提示：
→ 不要安裝全部 99 個。每個技能都會將其描述加入代理的上下文，因此請挑選符合你技術堆疊的外掛
→ 在提示中指名技能，而不是讓代理猜測該用哪一個

在我的文章中，我說明完整設定：

→ 技能是什麼，以及技能內含什麼
→ 如何撰寫描述，讓技能在正確時機觸發
→ 如何將你的慣例轉成技能：豐富實體、不使用儲存庫、完整功能
→ 如何使用 Skill Creator 打包你真實的程式碼檔案
→ 如何以 4 個步驟安裝 Microsoft 的 dotnet/skills

在這裡閱讀完整的逐步指南：
https://antondevtips.com/blog/creating-claude-skills-for-dotnet-apps

## Original README

Microsoft quietly published 99 ready-made .NET skills for AI Agents.

Most .NET developers have no idea they exist 👇

These skills are official and open source.

They work in Claude Code, Codex, GitHub Copilot and Cursor.

A skill is a folder with instructions.

Your AI agent loads it only when a task needs it.

You write the steps once, and the agent follows them every time.

Microsoft keeps them in the dotnet/skills repo: 14 plugins, 99 skills.

A plugin is a group of related skills. You install a plugin and get all its skills at once.

Here are 5 I'd install first, in this order:

𝟭. 𝗱𝗼𝘁𝗻𝗲𝘁-𝘂𝗽𝗴𝗿𝗮𝗱𝗲
Moves a project from .NET 8 to 10 and turns on nullable reference types.

𝟮. 𝗱𝗼𝘁𝗻𝗲𝘁-𝗱𝗮𝘁𝗮
The optimizing-ef-core-queries skill catches N+1 queries, picks the right tracking mode and removes common EF Core performance traps.

𝟯. 𝗱𝗼𝘁𝗻𝗲𝘁-𝗮𝘀𝗽𝗻𝗲𝘁
Builds Web API endpoints and file-upload endpoints in Minimal APIs the right way.

𝟰. 𝗱𝗼𝘁𝗻𝗲𝘁-𝘁𝗲𝘀𝘁
The biggest plugin: 22 skills to run tests, filter them and move between test frameworks.

𝟱. 𝗱𝗼𝘁𝗻𝗲𝘁-𝗮𝗶
Builds, debugs and tests MCP servers with the C# SDK.

These skills know .NET.

They don't know YOUR project.

They can't tell where you keep your entities, that you don't use repositories, or that your handlers return Result<T>.

Your own skills fill this gap:
→ Microsoft's skills handle general .NET tasks
→ Your skills handle your house rules and conventions

Use both, and your AI agent knows the framework and your style.

2 tips before you install:
→ Don't install all 99. Every skill adds its description to the agent's context, so pick the plugins that match your stack
→ Name the skill in your prompt instead of letting the agent guess which one to use

In my article, I explain the full setup:

→ What a skill is and what's inside one
→ How to write a description so the skill triggers at the right time
→ How to turn your conventions into skills: rich entities, no repositories, full features
→ How to use the Skill Creator to bundle your real code files
→ How to install Microsoft's dotnet/skills in 4 steps

👉 Read the full step-by-step guide here:
↳ https://antondevtips.com/blog/creating-claude-skills-for-dotnet-apps?utm_source=twitter&utm_medium=social&utm_campaign=newsletter&utm_content=12-11-2026

📌 You don't read my newsletter.

I explain .NET and Architecture based on my 13+ years of experience. For each topic, I present the pros, cons, and trade-offs, and you get a checklist for when to use each approach and when not to. 
AI won't teach you this!

Every Tuesday, I send an article to 28,000 people learning to master .NET.

📌 This week's blog on New Features in .NET 11 and C# 15 (you need to read this): https://antondevtips.com/blog/new-features-in-dotnet-11-and-csharp-15?utm_source=twitter&utm_medium=social&utm_campaign=newsletter&utm_content=12-11-2026

👉 Join us (and share with your friends and colleagues) → https://antondevtips.com?utm_source=twitter&utm_medium=social&utm_campaign=newsletter&utm_content=12-11-2026
