Validate a Claude Code plugin structure, frontmatter, and MCP tool references
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-validate-plugin-029cf135f065 ,按照其中的说明把「validate-plugin」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Validate that a plugin follows the correct Claude Code plugin format.
After creating or modifying a plugin, run validation to catch structural issues before publishing.
.claude-plugin/plugin.json exists at plugin rootskills/<name>/SKILL.md is a valid skill (Claude Code auto-discovers from directory; plugin.json MUST NOT list a skills array)commands/<name>.md is a valid command (auto-discovered; no commands array in plugin.json)agents/<name>.md is a valid agent (auto-discovered; no agents array in plugin.json)skills, commands, or agents arrays in plugin.json is a validation error (they cause Claude Code to reject the plugin)name, description, and allowed-tools (no wildcards)name, description, and model.claude-plugin/allowed-tools are valid mcp__plugin_ruflo-core_ruflo__* identifiersplugin.json and assert no skills / commands / agents arrays presentskills/*/SKILL.md, commands/*.md, agents/*.md and validate each frontmatterallowed-tools has no wildcards