diff --git a/.agents/skills/marketplace-architect/scripts/inventory.sh b/.agents/skills/marketplace-architect/scripts/inventory.sh index bcaa69a..0fd548c 100755 --- a/.agents/skills/marketplace-architect/scripts/inventory.sh +++ b/.agents/skills/marketplace-architect/scripts/inventory.sh @@ -33,7 +33,7 @@ while IFS= read -r -d '' path; do skip=false IFS='/' read -ra parts <<< "$dir" for part in "${parts[@]}"; do - if [[ "$part" == .* && "$part" != ".claude-plugin" && "$part" != ".github" ]]; then + if [[ "$part" == .* && "$part" != ".claude-plugin" && "$part" != ".github" && "$part" != ".agents" ]]; then skip=true; break fi done diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..9f0e857 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,12 @@ +{ + "name": "holocron", + "description": "AI development skills for Claude Code and GitHub Copilot CLI — factory, design, implement, review, and cross-cutting workflows.", + "version": "0.1.0", + "plugins": [ + { + "name": "hello-world", + "description": "A minimal example plugin to validate marketplace scaffolding.", + "source": "./plugins/hello-world" + } + ] +} diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.json new file mode 100644 index 0000000..9f0e857 --- /dev/null +++ b/.github/plugin/marketplace.json @@ -0,0 +1,12 @@ +{ + "name": "holocron", + "description": "AI development skills for Claude Code and GitHub Copilot CLI — factory, design, implement, review, and cross-cutting workflows.", + "version": "0.1.0", + "plugins": [ + { + "name": "hello-world", + "description": "A minimal example plugin to validate marketplace scaffolding.", + "source": "./plugins/hello-world" + } + ] +} diff --git a/plugins/hello-world/.claude-plugin/plugin.json b/plugins/hello-world/.claude-plugin/plugin.json new file mode 100644 index 0000000..b99fbe8 --- /dev/null +++ b/plugins/hello-world/.claude-plugin/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "hello-world", + "description": "A minimal example plugin to validate marketplace scaffolding." +} diff --git a/plugins/hello-world/README.md b/plugins/hello-world/README.md new file mode 100644 index 0000000..c743288 --- /dev/null +++ b/plugins/hello-world/README.md @@ -0,0 +1,33 @@ +# hello-world + +Minimal proof-of-concept plugin for the `holocron` marketplace. Install it to confirm the marketplace scaffolding works, then replace it with real plugins. + +## Install via marketplace + +### Claude Code +```bash +claude plugin marketplace add /ai-development +claude plugin install hello-world@holocron +``` + +### GitHub Copilot CLI +```bash +copilot plugin marketplace add /ai-development +copilot plugin install hello-world +``` + +## Local dev install + +### Claude Code +```bash +claude --plugin-dir ./plugins/hello-world +``` + +### GitHub Copilot CLI +```bash +copilot plugin install ./plugins/hello-world +``` + +## Verify + +After install, open a new session and type `/hello-world` or "test plugin install". diff --git a/plugins/hello-world/plugin.json b/plugins/hello-world/plugin.json new file mode 100644 index 0000000..b99fbe8 --- /dev/null +++ b/plugins/hello-world/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "hello-world", + "description": "A minimal example plugin to validate marketplace scaffolding." +} diff --git a/plugins/hello-world/skills/hello-world/SKILL.md b/plugins/hello-world/skills/hello-world/SKILL.md new file mode 100644 index 0000000..966ff92 --- /dev/null +++ b/plugins/hello-world/skills/hello-world/SKILL.md @@ -0,0 +1,13 @@ +--- +name: hello-world +description: Prove the holocron marketplace plugin is installed and working. Use when the user says "/hello-world", "test plugin install", or "is the holocron marketplace working". Do NOT use for any real task. +metadata: + category: cross-cutting +--- + +Respond with exactly: + +> Hello from the **holocron** marketplace! The `hello-world` plugin is installed and working. +> Run `claude plugin list` to see all installed plugins. + +Nothing else.