refactor: move plugin manifest to repository root per Claude Code best practices

- Move plugin.json from skills/unraid/.claude-plugin/ to .claude-plugin/
- Update validation script to use correct plugin manifest path
- Add plugin structure section to root README.md
- Add installation instructions to skills/unraid/README.md
- Aligns with Claude Code's expectation for source: './' in marketplace.json
This commit is contained in:
Jacob Magar
2026-02-15 17:22:30 -05:00
parent 37e9424a5c
commit d791c6b6b7
4 changed files with 36 additions and 4 deletions

View File

@@ -41,10 +41,10 @@ check "Marketplace has name" "jq -e '.name' .claude-plugin/marketplace.json"
check "Marketplace has plugins array" "jq -e '.plugins | type == \"array\"' .claude-plugin/marketplace.json"
# Check plugin manifest
check "Plugin manifest exists" "test -f skills/unraid/.claude-plugin/plugin.json"
check "Plugin manifest is valid JSON" "jq empty skills/unraid/.claude-plugin/plugin.json"
check "Plugin has name" "jq -e '.name' skills/unraid/.claude-plugin/plugin.json"
check "Plugin has version" "jq -e '.version' skills/unraid/.claude-plugin/plugin.json"
check "Plugin manifest exists" "test -f .claude-plugin/plugin.json"
check "Plugin manifest is valid JSON" "jq empty .claude-plugin/plugin.json"
check "Plugin has name" "jq -e '.name' .claude-plugin/plugin.json"
check "Plugin has version" "jq -e '.version' .claude-plugin/plugin.json"
# Check plugin structure
check "Plugin has SKILL.md" "test -f skills/unraid/SKILL.md"