From 2c1429ef1d5af946f0b1c70c9bc20ad4064c17c6 Mon Sep 17 00:00:00 2001 From: Zhongwei Li Date: Sat, 29 Nov 2025 18:48:45 +0800 Subject: [PATCH] Initial commit --- .claude-plugin/plugin.json | 13 +++++++++++ README.md | 3 +++ commands/hello.md | 32 +++++++++++++++++++++++++++ plugin.lock.json | 45 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 .claude-plugin/plugin.json create mode 100644 README.md create mode 100644 commands/hello.md create mode 100644 plugin.lock.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..ae05298 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,13 @@ +{ + "name": "hello-world", + "description": "A simple example plugin that demonstrates basic Claude Code plugin functionality", + "version": "1.0.0", + "author": { + "name": "Your Team", + "email": "team@your-org.com", + "url": "https://github.com/your-org" + }, + "commands": [ + "./commands" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9ff5601 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# hello-world + +A simple example plugin that demonstrates basic Claude Code plugin functionality diff --git a/commands/hello.md b/commands/hello.md new file mode 100644 index 0000000..7dd578c --- /dev/null +++ b/commands/hello.md @@ -0,0 +1,32 @@ +--- +description: Greet the user with a friendly, personalized message +argument-hint: [name] +--- + +# Hello Command + +Greet the user warmly and enthusiastically. This is a demonstration command from the Hello World plugin that shows how Claude Code plugins work. + +## Instructions + +1. If the user provided a name in `$ARGUMENTS`, greet them personally (e.g., "Hello, Alice! 👋") +2. If no name was provided, use a friendly generic greeting (e.g., "Hello, there! 👋") +3. After the greeting, briefly explain that this is an example plugin demonstrating Claude Code's plugin system +4. Mention that plugins can provide custom commands, agents, hooks, Skills, and MCP servers +5. Keep the tone warm, friendly, and encouraging + +## Example responses + +**With name** (`/hello World`): +``` +Hello, World! 👋 + +This is a sample command from the Hello World plugin, demonstrating how Claude Code plugins work. Plugins can add custom commands, agents, hooks, Skills, and MCP servers to extend Claude Code's capabilities! +``` + +**Without name** (`/hello`): +``` +Hello, there! 👋 + +This is a sample command from the Hello World plugin, demonstrating how Claude Code plugins work. Plugins can add custom commands, agents, hooks, Skills, and MCP servers to extend Claude Code's capabilities! +``` diff --git a/plugin.lock.json b/plugin.lock.json new file mode 100644 index 0000000..061cab1 --- /dev/null +++ b/plugin.lock.json @@ -0,0 +1,45 @@ +{ + "$schema": "internal://schemas/plugin.lock.v1.json", + "pluginId": "gh:ivan-magda/claude-code-plugin-template:plugins/hello-world", + "normalized": { + "repo": null, + "ref": "refs/tags/v20251128.0", + "commit": "9c78bf28581b0e8d662042c1ca28aae8d96fec9d", + "treeHash": "65929dc6888bde83b5b33e6150c749eb1d9430d33023cc0b3db8eed430782fb3", + "generatedAt": "2025-11-28T10:17:41.595843Z", + "toolVersion": "publish_plugins.py@0.2.0" + }, + "origin": { + "remote": "git@github.com:zhongweili/42plugin-data.git", + "branch": "master", + "commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390", + "repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data" + }, + "manifest": { + "name": "hello-world", + "description": "A simple example plugin that demonstrates basic Claude Code plugin functionality", + "version": "1.0.0" + }, + "content": { + "files": [ + { + "path": "README.md", + "sha256": "bd241fb2df9f70d88f1384fe138eb1820a5817f37fd48c52f80e9f8aa660c360" + }, + { + "path": ".claude-plugin/plugin.json", + "sha256": "341e73ed893d2aa7b5fec9afccb022569136e5e8cecb542b0fdc97b5d3f322db" + }, + { + "path": "commands/hello.md", + "sha256": "42c6976998f43e1dc1f427f4f98afeb1e60cf4479c449c32e71ea1e73b4868b1" + } + ], + "dirSha256": "65929dc6888bde83b5b33e6150c749eb1d9430d33023cc0b3db8eed430782fb3" + }, + "security": { + "scannedAt": null, + "scannerVersion": null, + "flags": [] + } +} \ No newline at end of file