plugin-version-required
Plugin version is recommended and should not be empty
Warning
Rule Details
This rule checks that the plugin.json file has a version property that is a non-empty string. The version is used for dependency management and marketplace distribution. While only name is strictly required by Claude Code, including a version is strongly recommended for version tracking and update detection.
Incorrect
Plugin with missing version
json
{
"name": "my-plugin",
"description": "A useful plugin"
}Plugin with empty version
json
{
"name": "my-plugin",
"version": ""
}Correct
Plugin with a valid version
json
{
"name": "my-plugin",
"version": "1.0.0"
}How To Fix
Add a version field to plugin.json with a non-empty string value following semver format (e.g., "1.0.0"). While optional per the spec, it is strongly recommended.
Options
This rule does not have any configuration options.
Related Rules
Resources
Version
Available since: v0.2.0