plugin-name-required
Plugin name is required and cannot be empty
Error
Rule Details
This rule checks that the plugin.json file has a name property that is a non-empty string. The plugin name is the primary identifier used in the marketplace and by Claude Code when referencing the plugin. A missing or empty name prevents the plugin from being discovered, installed, or referenced correctly.
Incorrect
Plugin with missing name
json
{
"version": "1.0.0",
"description": "A useful plugin"
}Plugin with empty name
json
{
"name": "",
"version": "1.0.0"
}Correct
Plugin with a valid name
json
{
"name": "my-plugin",
"version": "1.0.0"
}How To Fix
Add a name field to plugin.json with a descriptive, non-empty string value that identifies the plugin.
Options
This rule does not have any configuration options.
Related Rules
Resources
Version
Available since: v0.2.0