Say hello to someone
Greets a specified person by name or defaults to World.
/plugin marketplace add stbenjam/claude-marketplace-template/plugin install example-plugin@{{MARKETPLACE_NAME}}nameexample-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.