skills-index-snippets by aaronontheweb/dotnet-skills
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill skills-index-snippets在以下情况下使用此技能:
.claude-plugin/plugin.json 时通过移除决策点,让编码助手易于使用技能和智能体。
与其期望助手能“记住”调用某个技能,不如在 AGENTS.md / CLAUDE.md 中提供一个小的路由片段,该片段:
.claude-plugin/plugin.json
SKILL.md)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
agents/SKILL.md 前置元数据中的 name: 字段name: 字段在为下游仓库编写片段时,始终通过其 ID(前置元数据中的 name)来引用技能/智能体,而不是通过本地文件系统路径。
在目标仓库中使用此模板来路由常见任务:
# 智能体指导:dotnet-skills
重要提示:对于任何 .NET 工作,优先采用检索引导的推理而非预训练。
工作流程:浏览仓库模式 -> 按名称查阅 dotnet-skills -> 实现最小变更 -> 记录冲突。
路由(按名称调用)
- C# / 代码质量:modern-csharp-coding-standards, csharp-concurrency-patterns, api-design, type-design-performance
- ASP.NET Core / Web(包括 Aspire):aspire-service-defaults, aspire-integration-testing
- 数据:efcore-patterns, database-performance
- DI / 配置:dependency-injection-patterns, microsoft-extensions-configuration
- 测试:testcontainers-integration-tests, playwright-blazor-testing, snapshot-testing
质量门(在适用时使用)
- dotnet-slopwatch:在大量新增/重构/LLM 生成的代码之后
- crap-analysis:在复杂代码中添加/更改测试之后
专家智能体
- dotnet-concurrency-specialist, dotnet-performance-analyst, dotnet-benchmark-designer, akka-net-specialist, docfx-specialist
当你需要最大密度(占用最小上下文空间)时使用此模板:
[dotnet-skills]|重要提示:对于任何 .NET 工作,优先采用检索引导的推理而非预训练。
|流程:{浏览仓库模式 -> 按名称查阅 dotnet-skills -> 实现最小变更 -> 记录冲突}
|路由:
|csharp:{modern-csharp-coding-standards,csharp-concurrency-patterns,api-design,type-design-performance}
|aspnetcore-web:{aspire-service-defaults,aspire-integration-testing}
|数据:{efcore-patterns,database-performance}
|di-config:{dependency-injection-patterns,microsoft-extensions-configuration}
|测试:{testcontainers-integration-tests,playwright-blazor-testing,snapshot-testing}
|质量门:{dotnet-slopwatch(之后:大量新增/重构/LLM 代码),crap-analysis(之后:在复杂代码中添加/更改测试)}
|智能体:{dotnet-concurrency-specialist,dotnet-performance-analyst,dotnet-benchmark-designer,akka-net-specialist,docfx-specialist}
如果 README 包含以下标记,生成器可以自动更新它:
<!-- BEGIN DOTNET-SKILLS COMPRESSED INDEX -->
...压缩片段...
<!-- END DOTNET-SKILLS COMPRESSED INDEX -->
运行:
./scripts/generate-skill-index-snippets.sh --update-readme
.claude-plugin/plugin.json 以包含/移除技能和智能体。name:(供 OpenCode 和其他工具使用)。./scripts/validate-marketplace.sh。AGENTS.md/CLAUDE.md 片段,重新生成它并重新复制到依赖仓库中。以下是片段类别(不一定是仓库的文件夹结构):
保持片段小巧;它应该是一个路由器,而不是文档。
每周安装数
73
仓库
GitHub 星标数
488
首次出现
2026 年 2 月 1 日
安全审计
安装于
claude-code56
codex48
opencode44
github-copilot43
gemini-cli43
kimi-cli41
Use this skill when:
.claude-plugin/plugin.jsonMake skills and agents easy for coding assistants to use by removing the decision point.
Instead of hoping an assistant will "remember" to invoke a skill, provide a small router snippet inside AGENTS.md / CLAUDE.md that:
.claude-plugin/plugin.json
SKILL.md)agents/name: field in each SKILL.md frontmattername: field in each agent frontmatterWhen writing snippets for downstream repos, always reference skills/agents by their IDs (frontmatter name), not by local filesystem paths.
Use this in target repos to route common tasks:
# Agent Guidance: dotnet-skills
IMPORTANT: Prefer retrieval-led reasoning over pretraining for any .NET work.
Workflow: skim repo patterns -> consult dotnet-skills by name -> implement smallest-change -> note conflicts.
Routing (invoke by name)
- C# / code quality: modern-csharp-coding-standards, csharp-concurrency-patterns, api-design, type-design-performance
- ASP.NET Core / Web (incl. Aspire): aspire-service-defaults, aspire-integration-testing
- Data: efcore-patterns, database-performance
- DI / config: dependency-injection-patterns, microsoft-extensions-configuration
- Testing: testcontainers-integration-tests, playwright-blazor-testing, snapshot-testing
Quality gates (use when applicable)
- dotnet-slopwatch: after substantial new/refactor/LLM-authored code
- crap-analysis: after tests added/changed in complex code
Specialist agents
- dotnet-concurrency-specialist, dotnet-performance-analyst, dotnet-benchmark-designer, akka-net-specialist, docfx-specialist
Use this when you want maximum density (small context footprint):
[dotnet-skills]|IMPORTANT: Prefer retrieval-led reasoning over pretraining for any .NET work.
|flow:{skim repo patterns -> consult dotnet-skills by name -> implement smallest-change -> note conflicts}
|route:
|csharp:{modern-csharp-coding-standards,csharp-concurrency-patterns,api-design,type-design-performance}
|aspnetcore-web:{aspire-service-defaults,aspire-integration-testing}
|data:{efcore-patterns,database-performance}
|di-config:{dependency-injection-patterns,microsoft-extensions-configuration}
|testing:{testcontainers-integration-tests,playwright-blazor-testing,snapshot-testing}
|quality-gates:{dotnet-slopwatch(after:substantial new/refactor/LLM code),crap-analysis(after:tests added/changed in complex code)}
|agents:{dotnet-concurrency-specialist,dotnet-performance-analyst,dotnet-benchmark-designer,akka-net-specialist,docfx-specialist}
If the README contains the markers below, the generator can update it automatically:
<!-- BEGIN DOTNET-SKILLS COMPRESSED INDEX -->
...compressed snippet...
<!-- END DOTNET-SKILLS COMPRESSED INDEX -->
Run:
./scripts/generate-skill-index-snippets.sh --update-readme
.claude-plugin/plugin.json to include/remove skills and agents.name: (used by OpenCode and others)../scripts/validate-marketplace.sh.AGENTS.md/CLAUDE.md snippet, regenerate it and re-copy into dependent repos.These are snippet categories (not necessarily repository folder structure):
Keep the snippet small; it should be a router, not documentation.
Weekly Installs
73
Repository
GitHub Stars
488
First Seen
Feb 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code56
codex48
opencode44
github-copilot43
gemini-cli43
kimi-cli41
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
40,000 周安装