marketplace-publishing by aaronontheweb/dotnet-skills
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill marketplace-publishing本技能文档说明如何将技能和智能体发布到 dotnet-skills Claude Code 市场。
dotnet-skills/
├── .claude-plugin/
│ ├── marketplace.json # 市场目录
│ └── plugin.json # 插件元数据 + 技能/智能体注册表
├── .github/workflows/
│ └── release.yml # 发布自动化
├── skills/
│ ├── akka/ # Akka.NET 技能
│ │ ├── best-practices/SKILL.md
│ │ ├── testing-patterns/SKILL.md
│ │ └── ...
│ ├── aspire/ # .NET Aspire 技能
│ ├── csharp/ # C# 语言技能
│ ├── testing/ # 测试框架技能
│ └── meta/ # 元技能
├── agents/
│ └── *.md # 智能体定义
└── scripts/
└── validate-marketplace.sh
技能按领域组织:
| 分类 | 用途 |
|---|---|
akka/ | Akka.NET 参与者模式、测试、集群 |
aspire/ |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| .NET Aspire 编排、测试、配置 |
csharp/ | C# 语言特性、编码标准 |
testing/ | 测试框架(xUnit、Playwright、Testcontainers) |
meta/ | 关于此市场的元技能 |
如果没有合适的分类,请创建一个新的分类文件夹。
创建一个包含 SKILL.md 的文件夹:
skills/<category>/<skill-name>/SKILL.md
示例:skills/akka/cluster-sharding/SKILL.md
---
name: my-new-skill
description: 简要描述此技能的作用以及何时使用它。
---
# 我的新技能
## 何时使用此技能
在以下情况下使用此技能:
- [列出具体场景]
---
## 内容
[包含示例、模式和反模式的全面指南]
要求:
name 必须为小写字母并使用连字符(例如 cluster-sharding)description 应为 1-2 句话,解释 Claude 应在何时使用此技能将技能路径添加到 .claude-plugin/plugin.json 的 skills 数组中:
{
"skills": [
"./skills/akka/best-practices",
"./skills/akka/cluster-sharding" // 在此处添加新技能
]
}
运行验证脚本:
./scripts/validate-marketplace.sh
git add skills/akka/cluster-sharding/ .claude-plugin/plugin.json
git commit -m "Add cluster-sharding skill for Akka.NET Cluster Sharding patterns"
在 /agents/ 中创建一个 Markdown 文件:
---
name: my-agent-name
description: [领域] 专家。擅长 [特定领域]。适用于 [场景]。
model: sonnet
color: blue
---
您是 [领域] 专家,在 [领域] 方面拥有深厚的专业知识。
**参考资料:**
- [官方文档和资源]
**核心专业领域:**
[列出专业领域]
**诊断方法:**
[智能体如何分析问题]
要求:
name 必须为小写字母并使用连字符model 必须是以下之一:haiku、sonnet、opuscolor 为可选(用于 UI 显示)添加到 agents 数组:
{
"agents": [
"./agents/akka-net-specialist",
"./agents/my-agent-name" // 在此处添加新智能体
]
}
git add agents/my-agent-name.md .claude-plugin/plugin.json
git commit -m "Add my-agent-name agent for [domain] expertise"
更新 .claude-plugin/plugin.json 中的版本:
{
"version": "1.1.0"
}
使用语义化版本控制(主版本.次版本.修订号):
更新 plugin.json 中的版本
验证
./scripts/validate-marketplace.sh
提交版本更新
git add .claude-plugin/plugin.json
git commit -m "Bump version to 1.1.0"
创建并推送标签
git tag v1.1.0
git push origin master --tags
GitHub Actions 将自动执行以下操作:
用户安装完整的插件(所有技能和智能体):
# 添加市场(一次性操作)
/plugin marketplace add Aaronontheweb/dotnet-skills
# 安装插件(获取所有内容)
/plugin install dotnet-skills
# 更新到最新版本
/plugin marketplace update
提交前请检查:
name 和 description 的有效 YAML 前置元数据plugin.json 的 skills 数组中model(haiku/sonnet/opus)./scripts/validate-marketplace.sh 通过/plugin uninstall dotnet-skills && /plugin install dotnet-skillsjq . .claude-plugin/plugin.jsonv1.0.0)每周安装量
73
仓库
GitHub 星标数
491
首次出现
2026年1月29日
安全审计
安装于
claude-code59
codex45
github-copilot42
opencode42
gemini-cli41
cursor40
This skill documents how to publish skills and agents to the dotnet-skills Claude Code marketplace.
dotnet-skills/
├── .claude-plugin/
│ ├── marketplace.json # Marketplace catalog
│ └── plugin.json # Plugin metadata + skill/agent registry
├── .github/workflows/
│ └── release.yml # Release automation
├── skills/
│ ├── akka/ # Akka.NET skills
│ │ ├── best-practices/SKILL.md
│ │ ├── testing-patterns/SKILL.md
│ │ └── ...
│ ├── aspire/ # .NET Aspire skills
│ ├── csharp/ # C# language skills
│ ├── testing/ # Testing framework skills
│ └── meta/ # Meta skills
├── agents/
│ └── *.md # Agent definitions
└── scripts/
└── validate-marketplace.sh
Skills are organized by domain:
| Category | Purpose |
|---|---|
akka/ | Akka.NET actor patterns, testing, clustering |
aspire/ | .NET Aspire orchestration, testing, configuration |
csharp/ | C# language features, coding standards |
testing/ | Testing frameworks (xUnit, Playwright, Testcontainers) |
meta/ | Meta skills about this marketplace |
Create a new category folder if none fits.
Create a folder with SKILL.md inside:
skills/<category>/<skill-name>/SKILL.md
Example: skills/akka/cluster-sharding/SKILL.md
---
name: my-new-skill
description: Brief description of what this skill does and when to use it.
---
# My New Skill
## When to Use This Skill
Use this skill when:
- [List specific scenarios]
---
## Content
[Comprehensive guide with examples, patterns, and anti-patterns]
Requirements:
name must be lowercase with hyphens (e.g., cluster-sharding)description should be 1-2 sentences explaining when Claude should use this skillAdd the skill path to .claude-plugin/plugin.json in the skills array:
{
"skills": [
"./skills/akka/best-practices",
"./skills/akka/cluster-sharding" // Add new skill here
]
}
Run the validation script:
./scripts/validate-marketplace.sh
git add skills/akka/cluster-sharding/ .claude-plugin/plugin.json
git commit -m "Add cluster-sharding skill for Akka.NET Cluster Sharding patterns"
Create a markdown file in /agents/:
---
name: my-agent-name
description: Expert in [domain]. Specializes in [specific areas]. Use for [scenarios].
model: sonnet
color: blue
---
You are a [domain] specialist with deep expertise in [areas].
**Reference Materials:**
- [Official docs and resources]
**Core Expertise Areas:**
[List expertise areas]
**Diagnostic Approach:**
[How the agent analyzes problems]
Requirements:
name must be lowercase with hyphensmodel must be one of: haiku, sonnet, opuscolor is optional (used for UI display)Add to the agents array:
{
"agents": [
"./agents/akka-net-specialist",
"./agents/my-agent-name" // Add new agent here
]
}
git add agents/my-agent-name.md .claude-plugin/plugin.json
git commit -m "Add my-agent-name agent for [domain] expertise"
Update the version in .claude-plugin/plugin.json:
{
"version": "1.1.0"
}
Use semantic versioning (MAJOR.MINOR.PATCH):
Update version in plugin.json
Validate
./scripts/validate-marketplace.sh
Commit version bump
git add .claude-plugin/plugin.json
git commit -m "Bump version to 1.1.0"
Create and push tag
git tag v1.1.0
git push origin master --tags
GitHub Actions will automatically:
Users install the complete plugin (all skills and agents):
# Add the marketplace (one-time)
/plugin marketplace add Aaronontheweb/dotnet-skills
# Install the plugin (gets everything)
/plugin install dotnet-skills
# Update to latest version
/plugin marketplace update
Before committing:
name and descriptionplugin.json skills arraymodel is specified (haiku/sonnet/opus)./scripts/validate-marketplace.sh passes/plugin uninstall dotnet-skills && /plugin install dotnet-skillsjq . .claude-plugin/plugin.jsonv1.0.0)Weekly Installs
73
Repository
GitHub Stars
491
First Seen
Jan 29, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code59
codex45
github-copilot42
opencode42
gemini-cli41
cursor40
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
157,400 周安装
员工手册AI助手:快速解答公司政策、福利、流程问题,提升HR效率
96 周安装
Auth0 Nuxt SDK:Nuxt 3/4 服务端会话认证完整指南
96 周安装
Svelte 5 Runes 静态站点构建指南:避免水合错误,适配 adapter-static
96 周安装
WordPress插件主题测试与质量保证指南:PHPUnit、WP_Mock、PHPCS与CI/CD实战
96 周安装
GitHub PR自动化分类工具:流式架构实现实时分析与智能处理
96 周安装
macOS Tailscale与代理/VPN冲突诊断修复工具 - Tunnel Doctor教程
96 周安装