jpskill.com
🛠️ 開発・MCP コミュニティ

marketplace-publishing

dotnet-skills Claude Code marketplaceに、新しいSkillやエージェントを公開するためのワークフローで、コンテンツ追加、plugin.json更新、検証、リリースタグ付けなどを行うSkill。

📜 元の英語説明(参考)

Workflow for publishing skills and agents to the dotnet-skills Claude Code marketplace. Covers adding new content, updating plugin.json, validation, and release tagging.

🇯🇵 日本人クリエイター向け解説

一言でいうと

dotnet-skills Claude Code marketplaceに、新しいSkillやエージェントを公開するためのワークフローで、コンテンツ追加、plugin.json更新、検証、リリースタグ付けなどを行うSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o marketplace-publishing.zip https://jpskill.com/download/8714.zip && unzip -o marketplace-publishing.zip && rm marketplace-publishing.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8714.zip -OutFile "$d\marketplace-publishing.zip"; Expand-Archive "$d\marketplace-publishing.zip" -DestinationPath $d -Force; ri "$d\marketplace-publishing.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して marketplace-publishing.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → marketplace-publishing フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Marketplace Publishing Workflow

このスキルでは、スキルとエージェントを dotnet-skills Claude Code marketplace に公開する方法について説明します。

リポジトリ構造

dotnet-skills/
├── .claude-plugin/
│   ├── marketplace.json      # Marketplace カタログ
│   └── 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

新しいスキルを追加する

ステップ 1: カテゴリを選択する

スキルはドメインごとに整理されています。

カテゴリ 目的
akka/ Akka.NET アクターパターン、テスト、クラスタリング
aspire/ .NET Aspire オーケストレーション、テスト、構成
csharp/ C# 言語機能、コーディング標準
testing/ テストフレームワーク (xUnit, Playwright, Testcontainers)
meta/ この marketplace に関するメタスキル

該当するカテゴリがない場合は、新しいカテゴリフォルダを作成してください。

ステップ 2: スキルフォルダを作成する

SKILL.md を含むフォルダを作成します。

skills/<category>/<skill-name>/SKILL.md

例: skills/akka/cluster-sharding/SKILL.md

ステップ 3: SKILL.md を記述する

---
name: my-new-skill
description: このスキルが何をするのか、いつ使用するかの簡単な説明。
---

# My New Skill

## When to Use This Skill

このスキルは以下の場合に使用します。
- [具体的なシナリオのリスト]

---

## Content

[例、パターン、アンチパターンを含む包括的なガイド]

要件:

  • name はハイフン付きの小文字である必要があります (例: cluster-sharding)
  • description は、Claude がこのスキルをいつ使用すべきかを説明する 1 ~ 2 文である必要があります
  • コンテンツは、トピックを包括的にカバーする 10 ~ 40KB である必要があります
  • 最新の C# パターンを使用した具体的なコード例を含める

ステップ 4: plugin.json に登録する

.claude-plugin/plugin.jsonskills 配列にスキルパスを追加します。

{
  "skills": [
    "./skills/akka/best-practices",
    "./skills/akka/cluster-sharding"  // ここに新しいスキルを追加
  ]
}

ステップ 5: 検証する

検証スクリプトを実行します。

./scripts/validate-marketplace.sh

ステップ 6: まとめてコミットする

git add skills/akka/cluster-sharding/ .claude-plugin/plugin.json
git commit -m "Add cluster-sharding skill for Akka.NET Cluster Sharding patterns"

新しいエージェントを追加する

ステップ 1: エージェントファイルを作成する

/agents/ に Markdown ファイルを作成します。

---
name: my-agent-name
description: [ドメイン] の専門家。[特定の分野] を専門としています。[シナリオ] に使用します。
model: sonnet
color: blue
---

あなたは [分野] のスペシャリストであり、[分野] に関する深い専門知識を持っています。

**参考資料:**
- [公式ドキュメントとリソース]

**主要な専門分野:**
[専門分野のリスト]

**診断アプローチ:**
[エージェントが問題を分析する方法]

要件:

  • name はハイフン付きの小文字である必要があります
  • model は、haikusonnetopus のいずれかである必要があります
  • color はオプションです (UI 表示に使用されます)

ステップ 2: plugin.json に登録する

agents 配列に追加します。

{
  "agents": [
    "./agents/akka-net-specialist",
    "./agents/my-agent-name"  // ここに新しいエージェントを追加
  ]
}

ステップ 3: まとめてコミットする

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"
}

セマンティックバージョニング (MAJOR.MINOR.PATCH) を使用します。

  • MAJOR: 破壊的な変更 (スキルの名前変更/削除)
  • MINOR: 新しいスキルまたはエージェントの追加
  • PATCH: 既存のコンテンツの修正または改善

リリースプロセス

  1. plugin.json のバージョンを更新する

  2. 検証する

    ./scripts/validate-marketplace.sh
  3. バージョンの更新をコミットする

    git add .claude-plugin/plugin.json
    git commit -m "Bump version to 1.1.0"
  4. タグを作成してプッシュする

    git tag v1.1.0
    git push origin master --tags
  5. GitHub Actions は自動的に以下を行います。

    • marketplace の構造を検証する
    • 自動生成されたノートを含む GitHub リリースを作成する

ユーザーのインストール

ユーザーは完全なプラグイン (すべてのスキルとエージェント) をインストールします。

# marketplace を追加する (初回のみ)
/plugin marketplace add Aaronontheweb/dotnet-skills

# プラグインをインストールする (すべてを取得)
/plugin install dotnet-skills

# 最新バージョンに更新する
/plugin marketplace update

検証チェックリスト

コミットする前に:

  • [ ] SKILL.md に、namedescription を含む有効な YAML frontmatter がある
  • [ ] スキルフォルダが適切なカテゴリにある
  • [ ] パスが plugin.json の skills 配列に追加されている
  • [ ] エージェントの場合: model が指定されている (haiku/sonnet/opus)
  • [ ] ./scripts/validate-marketplace.sh が成功する

トラブルシューティング

インストール後にスキルが表示されない

  • plugin.json のパスがフォルダ構造と一致することを確認してください
  • SKILL.md がフォルダに存在することを確認してください
  • 再インストールしてみてください: /plugin uninstall dotnet-skills && /plugin install dotnet-skills

検証エラー

  • JSON が有効であることを確認してください: jq . .claude-plugin/plugin.json
  • 配列に末尾のカンマがないか確認してください
  • 参照されているすべてのフォルダに SKILL.md が含まれていることを確認してください

リリースが作成されない

  • タグが semver 形式 (v1.0.0) に従っていることを確認してください
  • GitHub Actions のログにエラーがないか確認してください
  • plugin.json のバージョンがタグと一致することを確認してください
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Marketplace Publishing Workflow

This skill documents how to publish skills and agents to the dotnet-skills Claude Code marketplace.

Repository Structure

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

Adding a New Skill

Step 1: Choose a Category

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.

Step 2: Create the Skill Folder

Create a folder with SKILL.md inside:

skills/<category>/<skill-name>/SKILL.md

Example: skills/akka/cluster-sharding/SKILL.md

Step 3: Write the 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 skill
  • Content should be 10-40KB covering the topic comprehensively
  • Include concrete code examples with modern C# patterns

Step 4: Register in plugin.json

Add 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
  ]
}

Step 5: Validate

Run the validation script:

./scripts/validate-marketplace.sh

Step 6: Commit Together

git add skills/akka/cluster-sharding/ .claude-plugin/plugin.json
git commit -m "Add cluster-sharding skill for Akka.NET Cluster Sharding patterns"

Adding a New Agent

Step 1: Create the Agent File

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 hyphens
  • model must be one of: haiku, sonnet, opus
  • color is optional (used for UI display)

Step 2: Register in plugin.json

Add to the agents array:

{
  "agents": [
    "./agents/akka-net-specialist",
    "./agents/my-agent-name"  // Add new agent here
  ]
}

Step 3: Commit Together

git add agents/my-agent-name.md .claude-plugin/plugin.json
git commit -m "Add my-agent-name agent for [domain] expertise"

Publishing a Release

Versioning

Update the version in .claude-plugin/plugin.json:

{
  "version": "1.1.0"
}

Use semantic versioning (MAJOR.MINOR.PATCH):

  • MAJOR: Breaking changes (renamed/removed skills)
  • MINOR: New skills or agents added
  • PATCH: Fixes or improvements to existing content

Release Process

  1. Update version in plugin.json

  2. Validate

    ./scripts/validate-marketplace.sh
  3. Commit version bump

    git add .claude-plugin/plugin.json
    git commit -m "Bump version to 1.1.0"
  4. Create and push tag

    git tag v1.1.0
    git push origin master --tags
  5. GitHub Actions will automatically:

    • Validate the marketplace structure
    • Create a GitHub release with auto-generated notes

User Installation

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

Validation Checklist

Before committing:

  • [ ] SKILL.md has valid YAML frontmatter with name and description
  • [ ] Skill folder is under appropriate category
  • [ ] Path added to plugin.json skills array
  • [ ] For agents: model is specified (haiku/sonnet/opus)
  • [ ] ./scripts/validate-marketplace.sh passes

Troubleshooting

Skill not appearing after install

  • Verify the path in plugin.json matches the folder structure
  • Check that SKILL.md exists in the folder
  • Try reinstalling: /plugin uninstall dotnet-skills && /plugin install dotnet-skills

Validation errors

  • Ensure JSON is valid: jq . .claude-plugin/plugin.json
  • Check for trailing commas in arrays
  • Verify all referenced folders contain SKILL.md

Release not created

  • Ensure tag follows semver format (v1.0.0)
  • Check GitHub Actions logs for errors
  • Verify plugin.json version matches the tag