skills-index-snippets
- 作者仓库星标 0
- 作者更新于 2026年8月8日 02:11
- 作者仓库 dotnet-skills
Maintaining Skill Index Snippets (AGENTS.md / CLAUDE.md)
When to Use This Skill
Use this skill when:
- Adding, removing, or renaming any skills or agents in this repository
- Updating
.claude-plugin/plugin.json - Creating copy/paste snippets for downstream repositories (OpenCode, Claude Code, etc.)
- You want a compact, always-on index that improves skill utilization
Goal
Make 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:
- Tells the assistant to prefer retrieval-led reasoning
- Provides a task->skill/agent routing index
- Defines lightweight quality gates (optional)
Source of Truth
- Registry:
.claude-plugin/plugin.json- Skills are listed as directories (each contains
SKILL.md) - Agents are listed as markdown files in
agents/
- Skills are listed as directories (each contains
- Skill IDs: the
name:field in eachSKILL.mdfrontmatter - Agent IDs: the
name:field in each agent frontmatter
When writing snippets for downstream repos, always reference skills/agents by their IDs (frontmatter name), not by local filesystem paths.
Minimal Snippet Template (Readable)
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
Compressed Snippet Template (Vercel-style)
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}
Regenerating the README block
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
How to Update Snippets After Skill Changes
- Update
.claude-plugin/plugin.jsonto include/remove skills and agents. - Ensure each skill has correct frontmatter
name:(used by OpenCode and others). - Run
./scripts/validate-marketplace.sh. - Update your snippet routing lists:
- Add new skills to the right category
- Remove deleted skills
- Keep names exactly matching frontmatter IDs
- If you maintain a downstream
AGENTS.md/CLAUDE.mdsnippet, regenerate it and re-copy into dependent repos.
Recommended Categories
These are snippet categories (not necessarily repository folder structure):
- C# / code quality
- ASP.NET Core / Web (incl. Aspire)
- Data
- DI / config
- Testing
- Quality gates
- Specialist agents
Keep the snippet small; it should be a router, not documentation.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @Aaronontheweb · 未声明 license
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Use this skill when: Adding, removing, or renaming any skills or agents in this repository Updating .claude-plugin/plugin.json
Make 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:
Registry: .claude-plugin/plugin.json Skills are listed as directories (each contains SKILL.md) Agents are listed as markdown files in agents/
Use this in target repos to route common tasks:
Use this when you want maximum density (small context footprint):
If the README contains the markers below, the generator can update it automatically: Run:
# Maintaining Skill Index Snippets (AGENTS.md / CLAUDE.md)
## When to Use This Skill
Use this skill when:
- Adding, removing, or renaming any skills or agents in this repository
- Updating `.claude-plugin/plugin.json`
- Creating copy/paste snippets for downstream repositories (OpenCode, Claude Code, etc.)
- You want a compact, always-on index that improves skill utilization
## Goal
Make 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:
1) Tells the assistant to prefer retrieval-led reasoning
2) Provides a task->skill/agent routing index
3) Defines lightweight quality gates (optional)
## Source of Truth
- Registry: `.claude-plugin/plugin.json`
- Skills are listed as directories (each contains `SKILL.md`)
- Agents are listed as markdown files in `agents/`
- Skill IDs: the `name:` field in each `SKILL.md` frontmatter
- Agent IDs: the `name:` field in each agent frontmatter
When writing snippets for downstream repos, always reference skills/agents by their IDs (frontmatter `name`), not by local filesystem paths.
## Minimal Snippet Template (Readable)
Use this in target repos to route common tasks:
```markdown
# 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
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> When to Use This Skill → Goal → Source of Truth → Minimal Snippet Template (Readable) → Compressed Snippet Template (Vercel-style) → Regenerating the README block
要点 -> Make skills and agents easy for coding assistants to use by removing the decision point. · When writing snippets for downstream repos, always reference skills/agents by their IDs (frontmatter name), not by local filesystem paths. · IMPORTANT: Prefer retrieval-led reasoning over pretraining for any .NET work. · 1. Update .claude-plugin/plugin.json to include/remove skills and agents. · - C / code quality - ASP.NET Core / Web (incl. · Keep the snippet small; it should be a router, not documentation.
文件/命令 -> .claude-plugin/plugin.json · AGENTS.md · CLAUDE.md · agents/ · name: · name · ./scripts/validate-marketplace.sh
内容 SHA-256 -> daef57e71516
原文结构
适用与边界
原文中的明确线索
.claude-plugin/plugin.json、AGENTS.md、CLAUDE.md、agents/、name:、name、./scripts/validate-marketplace.sh