
.NET 开发者用的 Claude Code 技能与子代理
概览
一个全面的Claude Code插件,适用于专业的.NET开发。来自生产系统的经过实战验证的模式,涵盖C#、Akka.NET、Aspire、EF Core、测试和性能优化。 这个插件可以配合多个支持技能/代理的AI编码助手。 在 Claude Code CLI(终端应用,不是 VSCode 扩展)中执行以下命令: 克隆或复制技能到你的项目或全局配置中: 这些片段会放在你的(代码库根目录,靠近.git文件夹):- Claude Code: CLAUDE.md- OpenCode: AGENTS.md 前提是:在你的助手运行时(Claude Code 或 OpenCode)中安装/同步 dotnet-skills 插件,这样下面的技能 ID 就能解析。 为了让下游仓库的技能使用保持一致,可以在 AGENTS.md(OpenCode)或 CLAUDE.md(Claude代码)中添加一个小型的路由器片段。这些片段告诉助手在常见任务中应该使用哪些技能。 运行./scripts/generate-skill-index-snippets。
概述(AI 翻译)
一个包含30项技能和5个专业代理的综合AI编码插件,适合专业.NET开发。来自生产系统的经过实战验证的模式,涵盖C#、Akka.NET、Aspire、EF Core、测试和性能优化。
安装
这个插件可以配合多个支持技能/代理的AI编码助手。
克劳德代码(CLI)
官方文献
在 Claude Code CLI(终端应用,不是 VSCode 扩展)中执行以下命令:
更新一下:
Codex(OpenAI)
官方文献
添加市场,然后安装插件:
确认安装情况:
技能会自动从插件的 skills/ 目录中发现。在 Codex CLI 或 IDE 扩展中调用 /skills 或 $skill-name 的技能。注意:这些专用代理是 Claude Code 专用的,不包含在 Codex 插件中。
GitHub 副驾驶
官方文献
克隆或复制技能到你的项目或全局配置中:
项目级别(推荐):
全球(所有项目):
开放代码
官方文献
建议 AGENTS.md / 片段 CLAUDE.md
这些片段会放在你的project root(代码库的根目录,靠近你的.git文件夹):
- 克劳德代码:
CLAUDE.md
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
.NET Skills for Claude Code and Codex
A comprehensive AI coding plugin with 30 skills and 5 specialized agents for professional .NET development. Battle-tested patterns from production systems covering C#, Akka.NET, Aspire, EF Core, testing, and performance optimization.
Installation
This plugin works with multiple AI coding assistants that support skills/agents.
Claude Code (CLI)
Run these commands inside the Claude Code CLI (the terminal app, not the VSCode extension):
/plugin marketplace add https://github.com/Aaronontheweb/dotnet-skills
/plugin install dotnet-skills
To update:
/plugin marketplace update
Codex (OpenAI)
Add the marketplace, then install the plugin:
codex plugin marketplace add Aaronontheweb/dotnet-skills
codex plugin add dotnet-skills@dotnet-skills
Verify the install:
codex plugin list
Skills are auto-discovered from the plugin’s skills/ directory. Invoke one with /skills or $skill-name in the Codex CLI or IDE extension. Note: the specialized agents are Claude Code-specific and are not included in the Codex plugin.
GitHub Copilot
Run these commands:
/plugin marketplace add https://github.com/Aaronontheweb/dotnet-skills
/plugin install dotnet-skills@dotnet-skills
To update:
/plugin update dotnet-skills@dotnet-skills
Alternatively:
Clone or copy skills to your project or global config:
Project-level (recommended):
# Clone to .github/skills/ in your project
git clone https://github.com/Aaronontheweb/dotnet-skills.git /tmp/dotnet-skills
cp -r /tmp/dotnet-skills/skills/* .github/skills/
Global (all projects):
mkdir -p ~/.copilot/skills
cp -r /tmp/dotnet-skills/skills/* ~/.copilot/skills/
OpenCode
git clone https://github.com/Aaronontheweb/dotnet-skills.git /tmp/dotnet-skills
# Global installation (directory names must match frontmatter 'name' field)
mkdir -p ~/.config/opencode/skills ~/.config/opencode/agents
for skill_file in /tmp/dotnet-skills/skills/*/SKILL.md; do
skill_name=$(grep -m1 "^name:" "$skill_file" | sed 's/name: *//')
mkdir -p ~/.config/opencode/skills/$skill_name
cp "$skill_file" ~/.config/opencode/skills/$skill_name/SKILL.md
done
cp /tmp/dotnet-skills/agents/*.md ~/.config/opencode/agents/
Suggested AGENTS.md / CLAUDE.md Snippets
These snippets go in your project root (the root directory of your codebase, next to your .git folder):
- Claude Code:
CLAUDE.md - OpenCode:
AGENTS.md
Prerequisite: install/sync the dotnet-skills plugin in your assistant runtime (Claude Code or OpenCode) so the skill IDs below resolve.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add aaronontheweb/dotnet-skills