validate-plugin
What it does
This skill checks a plugin's folders, plugin file and skill files against the Claude Code format. It is for developers who want to catch errors before sharing a plugin.
When to use it
- ✓When you have just created or changed a plugin.
- ✓When a plugin is about to be published and needs a final check.
- ✓When Claude Code rejects a plugin and you need to find the cause.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-plugin-creator/skills/validate-plugin/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check my plugin folder for any structure or format problems before I publish it.”
5 new skills a week. 1 minute to read.
How it works
The skill runs a series of checks on the folder layout, plugin file fields, skill and agent headers and tool references. It reports each problem it finds so you can fix it.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
What is a common cause of rejection?
A plugin file that lists skills, commands or agents as arrays. The source says this causes Claude Code to reject the plugin.
Does it fix problems automatically?
The description covers checking and reporting, so you decide how to fix each issue.
What does it check in each skill file?
The name, description and allowed tools fields, with no wildcard tool names.
Details
Original description by the author
Validate a Claude Code plugin structure, frontmatter, and MCP tool references
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1680
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.