Say hello to someone
Greets a person by name or "World" if no name is provided. Use this to test plugin functionality or generate simple greeting messages.
/plugin marketplace add kbrockhoff/brockhoff-tools-claude/plugin install kbrockhoff-example-plugin-plugins-example-plugin@kbrockhoff/brockhoff-tools-claudenameexample-plugin:hello
/example-plugin:hello [name]
The example-plugin:hello command greets the specified person by name. If no name is provided, it greets "World".
This is a simple example demonstrating the basic structure of a Claude Code plugin command.
Parse Arguments: Extract the name from the command arguments
Generate Greeting: Create a friendly greeting message
Return Response: Output the greeting to the user
Greet a specific person:
/example-plugin:hello Alice
Output: "Hello, Alice!"
Default greeting:
/example-plugin:hello
Output: "Hello, World!"
$1: (Optional) The name of the person to greet. Defaults to "World" if not provided.