Install any skill in seconds. Free to start, no credit card required.
Get Started Free →fradser/optimize-plugin
This skill should be used when the user asks to "validate a plugin", "optimize plugin", "check plugin quality", "review plugin structure", or "run plugin optimizer".
Passed 9 of 15 test cases with the skill, and 6 of 15 without it.
and 4 more in the full report
7 fixed6 passed either way6 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
When linking to standard component templates outside the plugin's local directory hierarchy, what path prefix variable must be used?
| Checked | Without skill | With skill |
|---|---|---|
| Uses the ${CLAUDE_PLUGIN_ROOT} environment variable prefix for external root references | Missed | Passed |
The instructions your model reads when the skill loads.
Execute plugin validation and optimization workflow. Target: $ARGUMENTS
Load plugin-optimizer:plugin-best-practices skill using the Skill tool for component templates, tool invocation rules, and type classification.
Goal: Validate structure and detect issues. Orchestrator MUST NOT apply fixes.
Actions:
realpath and verify existence.claude-plugin/plugin.json existscommands/, agents/, skills/, hooks/${CLAUDE_PLUGIN_ROOT}/examples/ templatescommands/ exists with .md files, use AskUserQuestion tool to ask about migrating to skills structurepython3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-plugin.py "$TARGET"
--check=structure,manifest,frontmatter,tools,tokens--json-v, --verboseGoal: Launch agent to apply ALL fixes. Orchestrator does NOT make fixes directly.
Condition: Always execute.
Actions:
plugin-optimizer:plugin-optimizer agent with the following prompt content:
AskUserQuestion tool before applying template fixes, presenting violations with specific examples and before/after comparison).claude-plugin/plugin.json after fixes:
test cases passed, vs 6 / 15 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.