本文へスキップ
Skillpedia
テスト81k · #1680

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がスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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

  1. Directory structure — .claude-plugin/plugin.json exists at plugin root
  2. plugin.json schema — required fields present (name, description, version, non-empty keywords array); name equals the directory name; version is semver
  3. Skills auto-discovery — every skills/<name>/SKILL.md is a valid skill (Claude Code auto-discovers from directory; plugin.json MUST NOT list a skills array)
  4. Commands auto-discovery — every commands/<name>.md is a valid command (auto-discovered; no commands array in plugin.json)
  5. Agents auto-discovery — every agents/<name>.md is a valid agent (auto-discovered; no agents array in plugin.json)
  6. No legacy arrays in plugin.json — presence of skills, commands, or agents arrays in plugin.json is a validation error (they cause Claude Code to reject the plugin)
  7. SKILL.md frontmatter — each skill has name, description, and allowed-tools (no wildcards)
  8. Agent frontmatter — each agent has name, description, and model
  9. No files in wrong locations — skills/commands/agents not inside .claude-plugin/
  10. MCP tool references — tools in allowed-tools use the mcp__plugin_ruflo-core_ruflo__* prefix AND exist: list the real tools with npx @claude-flow/cli@latest mcp tools and flag any name not in it (typos such as hooks_post_task for hooks_post-task, or agentdb_pattern_search for agentdb_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

  1. Read the plugin's plugin.json and assert no skills / commands / agents arrays present
  2. Glob skills/*/SKILL.md, commands/*.md, agents/*.md and validate each frontmatter
  3. For each SKILL.md, verify frontmatter has required fields and allowed-tools has no wildcards
  4. For each agent .md, verify frontmatter has required fields
  5. 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル