skills-index-snippets
dotnet-skillsの適切なスキルやエージェント(Vercel形式の圧縮インデックスを含む)へタスクを振り分けるため、AGENTS.mdやCLAUDE.mdのスニペットインデックスを作成・管理するSkill。
📜 元の英語説明(参考)
Create and maintain AGENTS.md / CLAUDE.md snippet indexes that route tasks to the correct dotnet-skills skills and agents (including compressed Vercel-style indexes).
🇯🇵 日本人クリエイター向け解説
dotnet-skillsの適切なスキルやエージェント(Vercel形式の圧縮インデックスを含む)へタスクを振り分けるため、AGENTS.mdやCLAUDE.mdのスニペットインデックスを作成・管理するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o skills-index-snippets.zip https://jpskill.com/download/8722.zip && unzip -o skills-index-snippets.zip && rm skills-index-snippets.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8722.zip -OutFile "$d\skills-index-snippets.zip"; Expand-Archive "$d\skills-index-snippets.zip" -DestinationPath $d -Force; ri "$d\skills-index-snippets.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
skills-index-snippets.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
skills-index-snippetsフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
スキルインデックススニペットの保守 (AGENTS.md / CLAUDE.md)
このスキルを使用するタイミング
このスキルは、以下の場合に使用します。
- このリポジトリ内のスキルまたはエージェントを追加、削除、または名前変更する場合
.claude-plugin/plugin.jsonを更新する場合- ダウンストリームリポジトリ(OpenCode、Claude Codeなど)用のコピー/ペーストスニペットを作成する場合
- スキルの利用率を向上させる、コンパクトで常時利用可能なインデックスが必要な場合
目標
コーディングアシスタントがスキルとエージェントを簡単に使用できるように、意思決定のポイントを排除します。
アシスタントがスキルを呼び出すことを「覚えてくれる」ことを期待する代わりに、AGENTS.md / CLAUDE.md 内に小さなルータースニペットを提供します。これは、次のことを行います。
- アシスタントに、検索主導の推論を優先するように指示します
- タスク->スキル/エージェントルーティングインデックスを提供します
- 軽量な品質ゲートを定義します(オプション)
信頼できる情報源
- レジストリ:
.claude-plugin/plugin.json- スキルはディレクトリとしてリストされます(それぞれに
SKILL.mdが含まれています) - エージェントは
agents/内の Markdown ファイルとしてリストされます
- スキルはディレクトリとしてリストされます(それぞれに
- スキル ID: 各
SKILL.mdの frontmatter のname:フィールド - エージェント ID: 各エージェントの frontmatter の
name:フィールド
ダウンストリームリポジトリ用のスニペットを作成する場合は、常にローカルファイルシステムのパスではなく、ID(frontmatter の name)でスキル/エージェントを参照してください。
最小限のスニペットテンプレート(可読性重視)
一般的なタスクをルーティングするために、ターゲットリポジトリでこれを使用します。
# 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
圧縮されたスニペットテンプレート(Vercel スタイル)
最大限の密度(小さなコンテキストフットプリント)が必要な場合に使用します。
[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}
README ブロックの再生成
README に以下のマーカーが含まれている場合、ジェネレーターは自動的に更新できます。
<!-- BEGIN DOTNET-SKILLS COMPRESSED INDEX -->
...compressed snippet...
<!-- END DOTNET-SKILLS COMPRESSED INDEX -->
実行:
./scripts/generate-skill-index-snippets.sh --update-readme
スキルの変更後にスニペットを更新する方法
.claude-plugin/plugin.jsonを更新して、スキルとエージェントを含める/削除します。- 各スキルに正しい frontmatter
name:があることを確認します(OpenCode などで使用されます)。 ./scripts/validate-marketplace.shを実行します。- スニペットルーティングリストを更新します。
- 新しいスキルを適切なカテゴリに追加します
- 削除されたスキルを削除します
- 名前を frontmatter ID と完全に一致するように保ちます
- ダウンストリームの
AGENTS.md/CLAUDE.mdスニペットを保守している場合は、それを再生成し、依存リポジトリに再コピーします。
推奨されるカテゴリ
これらはスニペットカテゴリです(必ずしもリポジトリフォルダ構造ではありません)。
- C# / コード品質
- ASP.NET Core / Web (incl. Aspire)
- データ
- DI / config
- テスト
- 品質ゲート
- スペシャリストエージェント
スニペットを小さく保ちます。ドキュメントではなく、ルーターである必要があります。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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.