Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:48:45 +08:00
commit 2c1429ef1d
4 changed files with 93 additions and 0 deletions

View File

@@ -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"
]
}

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# hello-world
A simple example plugin that demonstrates basic Claude Code plugin functionality

32
commands/hello.md Normal file
View File

@@ -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!
```

45
plugin.lock.json Normal file
View File

@@ -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": []
}
}