mirror of
https://github.com/giancarloerra/socraticode.git
synced 2026-06-02 06:23:43 +02:00
fix: correct hooks.json format, remove explicit hooks path, and improve install docs
This commit is contained in:
@@ -18,6 +18,5 @@
|
||||
"semantic-search",
|
||||
"mcp"
|
||||
],
|
||||
"mcpServers": "./.mcp.json",
|
||||
"hooks": "./hooks/hooks.json"
|
||||
"mcpServers": "./.mcp.json"
|
||||
}
|
||||
|
||||
@@ -90,6 +90,15 @@ The first Qdrant‑based MCP/Claude Plugin/Skill that pairs auto‑managed, zero
|
||||
|
||||
**Claude Code** — install the plugin (recommended, includes workflow skills for best results):
|
||||
|
||||
From your shell:
|
||||
|
||||
```bash
|
||||
claude plugin marketplace add giancarloerra/socraticode
|
||||
claude plugin install socraticode@socraticode
|
||||
```
|
||||
|
||||
Or from within Claude Code:
|
||||
|
||||
```
|
||||
/plugin marketplace add giancarloerra/socraticode
|
||||
/plugin install socraticode@socraticode
|
||||
@@ -297,6 +306,15 @@ before reading any files directly.
|
||||
|
||||
The SocratiCode plugin bundles both the MCP server and workflow skills that teach Claude how to use the tools effectively. One install gives you everything:
|
||||
|
||||
From your shell:
|
||||
|
||||
```bash
|
||||
claude plugin marketplace add giancarloerra/socraticode
|
||||
claude plugin install socraticode@socraticode
|
||||
```
|
||||
|
||||
Or from within Claude Code:
|
||||
|
||||
```
|
||||
/plugin marketplace add giancarloerra/socraticode
|
||||
/plugin install socraticode@socraticode
|
||||
|
||||
+14
-12
@@ -1,14 +1,16 @@
|
||||
{
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": ".*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"prompt": "IMPORTANT: If you notice that SocratiCode MCP tools appear with BOTH a plugin prefix (e.g. mcp__plugin_socraticode_socraticode__codebase_search) AND a standalone prefix (e.g. mcp__socraticode__codebase_search), the user has a duplicate configuration. Advise them to remove the standalone MCP by running: claude mcp remove socraticode — the plugin already provides the MCP server.",
|
||||
"timeout": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"hooks": {
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": ".*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"prompt": "IMPORTANT: If you notice that SocratiCode MCP tools appear with BOTH a plugin prefix (e.g. mcp__plugin_socraticode_socraticode__codebase_search) AND a standalone prefix (e.g. mcp__socraticode__codebase_search), the user has a duplicate configuration. Advise them to remove the standalone MCP by running: claude mcp remove socraticode — the plugin already provides the MCP server.",
|
||||
"timeout": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user