Skip to content

plugin-naming

Plugin names should use kebab-case

Severity warning (auto)
Autofix -
Since v0.1.0
Repo Types marketplace, single-plugin
Category Plugin Structure

Why

Plugin names appear in command identifiers (plugin:command) and configuration files. A name that uses uppercase, underscores, or spaces breaks conventions and may cause lookup failures in case-sensitive systems.

Examples

Bad:

{"name": "My_Plugin"}

Good:

{"name": "my-plugin"}

How to fix

Rename the plugin to use kebab-case in plugin.json and rename the plugin directory to match.

Configuration

rules:
  plugin-naming:
    enabled: auto  # true | false | auto
    severity: warning

Run skillsaw explain plugin-naming to see this documentation and the rule's effective configuration in your terminal.