fix: E308 hooks removal + correct plugin CLI command syntax

E308 FIX:
- Removed "hooks": "./hooks/hooks.json" from plugin.json
- Claude Code v2.0.27+ auto-discovers hooks/hooks.json
- Prevents "Duplicate hooks file detected" error

COMMAND FIX:
- Fixed /plugin add marketplace → /plugin marketplace add
- Now follows official Claude Code CLI syntax
This commit is contained in:
pluginagentmarketplace
2026-01-05 11:55:39 +00:00
parent 18ab03655d
commit 51aa571c25
2 changed files with 2 additions and 5 deletions
+1 -4
View File
@@ -52,8 +52,5 @@
"./commands/java-new.md",
"./commands/java-build.md",
"./commands/java-debug.md"
],
"hooks": {
"hooks_config_path": "./hooks/hooks.json"
}
]
}
+1 -1
View File
@@ -64,7 +64,7 @@
```bash
# Step 1⃣ Add the marketplace
/plugin add marketplace pluginagentmarketplace/custom-plugin-java
/plugin marketplace add pluginagentmarketplace/custom-plugin-java
# Step 2⃣ Install the plugin
/plugin install java-development-assistant@pluginagentmarketplace-java