validate-plugin
できること
このスキルは、プラグインのフォルダー、プラグインのファイル、スキルのファイルを、Claude Code の形式に照らして確認します。共有する前にエラーを見つけたい開発者向けです。
使う場面
- ✓プラグインを作成または変更したばかりのとき。
- ✓プラグインを公開する前に、最終確認が必要なとき。
- ✓Claude Code がプラグインを拒否し、その原因を見つける必要があるとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“公開する前に、私のプラグインのフォルダーに構造や形式の問題がないか確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、フォルダー構成、プラグインのファイルの項目、スキルとエージェントのヘッダー、ツールの参照についての一連の確認を実行します。見つかった問題を一つずつ報告するので、あなたが修正できます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Validate Plugin
Validate that a plugin follows the correct Claude Code plugin format.
When to use
After creating or modifying a plugin, run validation to catch structural issues before publishing.
Checks performed
- Directory structure —
.claude-plugin/plugin.jsonexists at plugin root - plugin.json schema — required fields present (name, description, version, non-empty keywords array);
nameequals the directory name; version is semver - Skills auto-discovery — every
skills/<name>/SKILL.mdis a valid skill (Claude Code auto-discovers from directory;plugin.jsonMUST NOT list askillsarray) - Commands auto-discovery — every
commands/<name>.mdis a valid command (auto-discovered; nocommandsarray inplugin.json) - Agents auto-discovery — every
agents/<name>.mdis a valid agent (auto-discovered; noagentsarray inplugin.json) - No legacy arrays in plugin.json — presence of
skills,commands, oragentsarrays inplugin.jsonis a validation error (they cause Claude Code to reject the plugin) - SKILL.md frontmatter — each skill has
name,description, andallowed-tools(no wildcards) - Agent frontmatter — each agent has
name,description, andmodel - No files in wrong locations — skills/commands/agents not inside
.claude-plugin/ - MCP tool references — tools in
allowed-toolsuse themcp__plugin_ruflo-core_ruflo__*prefix AND exist: list the real tools withnpx @claude-flow/cli@latest mcp toolsand flag any name not in it (typos such ashooks_post_taskforhooks_post-task, oragentdb_pattern_searchforagentdb_pattern-search, are format-valid but do not exist). Also run the repo gates when inside the ruflo repo:node scripts/audit-skill-frontmatter.mjs,audit-plugin-manifest.mjs,audit-plugin-mcp-prefix.mjs
Steps
- Read the plugin's
plugin.jsonand assert noskills/commands/agentsarrays present - Glob
skills/*/SKILL.md,commands/*.md,agents/*.mdand validate each frontmatter - For each SKILL.md, verify frontmatter has required fields and
allowed-toolshas no wildcards - For each agent .md, verify frontmatter has required fields
- Report pass/fail for each check with actionable fix suggestions
よくある質問
よくある拒否の原因は何ですか?
スキル、コマンド、エージェントを配列としてプラグインのファイルに書いていることです。ソースによると、これが原因で Claude Code がプラグインを拒否します。
問題を自動で直しますか?
説明は確認と報告を対象としているため、それぞれの問題の直し方はあなたが決めます。
各スキルのファイルで何を確認しますか?
name、description、許可されたツールの項目を確認し、ワイルドカードのツール名がないかも見ます。
詳細
作者による元の説明
Validate a Claude Code plugin structure, frontmatter, and MCP tool references
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1680
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。