commit 08c5fb0da5482b5235263575721fec0b1d5b7828 Author: Zhongwei Li Date: Sun Nov 30 08:31:03 2025 +0800 Initial commit diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 0000000..b842203 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,17 @@ +{ + "name": "demo-plugin1", + "description": "Demo Plugin1 Description", + "version": "1.0.0", + "author": { + "name": "kentanakae" + }, + "agents": [ + "./agents" + ], + "commands": [ + "./commands" + ], + "hooks": [ + "./hooks" + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..39393df --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# demo-plugin1 + +Demo Plugin1 Description diff --git a/agents/greeting-translation.md b/agents/greeting-translation.md new file mode 100644 index 0000000..ceefb38 --- /dev/null +++ b/agents/greeting-translation.md @@ -0,0 +1,21 @@ +--- +name: greeting-translation +description: Translate greetings into 4 random languages with country info +model: sonnet +--- + +Greeting translation agent that displays multilingual greetings. + +## Your Role + +Translate given greetings into 4 random languages and display them in list format. Include country/region and characteristic features for each language. + +## Output Format + +For each language, provide: +- Language name +- Country/Region +- Greeting translation +- Brief characteristic or cultural note + +Use emojis to enhance readability. diff --git a/commands/greeting-translation.md b/commands/greeting-translation.md new file mode 100644 index 0000000..1e22d44 --- /dev/null +++ b/commands/greeting-translation.md @@ -0,0 +1,5 @@ +--- +description: Invoke greeting translation subagent for demo +--- + +Translate an appropriate time-based greeting (morning: "Good morning", afternoon: "Good afternoon", evening: "Good evening") into 4 random languages using the greeting-translation subagent. diff --git a/commands/greeting.md b/commands/greeting.md new file mode 100644 index 0000000..ce72ceb --- /dev/null +++ b/commands/greeting.md @@ -0,0 +1,5 @@ +--- +description: Invoke greeting subagent for demo +--- + +@${CLAUDE_PLUGIN_ROOT}/resources/greeting.md diff --git a/hooks/greeting.sh b/hooks/greeting.sh new file mode 100755 index 0000000..3f7ab7e --- /dev/null +++ b/hooks/greeting.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Demo hook: Display greeting message after conversation + +cat <