From cff97eb3bb99a3c36c1c9a5c4f6b23e8fcbcb568 Mon Sep 17 00:00:00 2001 From: lmiranda Date: Fri, 12 Dec 2025 10:47:00 -0500 Subject: [PATCH] fix: add missing plugin declarations and fix hardcoded paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - projman/plugin.json: Added commands, agents, and skills declarations - project-hygiene/plugin.json: Added hooks declaration for PostToolUse - projman/.mcp.json: Changed hardcoded paths to ${CLAUDE_PLUGIN_ROOT} - cmdb-assistant/.mcp.json: Changed hardcoded paths to ${CLAUDE_PLUGIN_ROOT} Plugins were not being recognized because plugin.json files only had metadata but no component declarations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- plugins/cmdb-assistant/.mcp.json | 6 +-- .../.claude-plugin/plugin.json | 15 +++++- plugins/projman/.claude-plugin/plugin.json | 48 ++++++++++++++++++- plugins/projman/.mcp.json | 12 ++--- 4 files changed, 70 insertions(+), 11 deletions(-) diff --git a/plugins/cmdb-assistant/.mcp.json b/plugins/cmdb-assistant/.mcp.json index e6b3260..451a6e5 100644 --- a/plugins/cmdb-assistant/.mcp.json +++ b/plugins/cmdb-assistant/.mcp.json @@ -1,11 +1,11 @@ { "mcpServers": { "netbox": { - "command": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/netbox/.venv/bin/python", + "command": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/netbox/.venv/bin/python", "args": ["-m", "mcp_server.server"], - "cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/netbox", + "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/netbox", "env": { - "PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/netbox" + "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/netbox" } } } diff --git a/plugins/project-hygiene/.claude-plugin/plugin.json b/plugins/project-hygiene/.claude-plugin/plugin.json index 5badd70..a944baa 100644 --- a/plugins/project-hygiene/.claude-plugin/plugin.json +++ b/plugins/project-hygiene/.claude-plugin/plugin.json @@ -8,5 +8,18 @@ }, "license": "MIT", "keywords": ["cleanup", "hygiene", "automation", "hooks", "maintenance"], - "repository": "https://github.com/bandit-labs/project-hygiene" + "repository": "https://github.com/bandit-labs/project-hygiene", + "hooks": { + "PostToolUse": [ + { + "matcher": "Write|Edit", + "hooks": [ + { + "type": "command", + "command": "${CLAUDE_PLUGIN_ROOT}/hooks/cleanup.sh" + } + ] + } + ] + } } diff --git a/plugins/projman/.claude-plugin/plugin.json b/plugins/projman/.claude-plugin/plugin.json index 156770a..39b92ad 100644 --- a/plugins/projman/.claude-plugin/plugin.json +++ b/plugins/projman/.claude-plugin/plugin.json @@ -14,5 +14,51 @@ "gitea", "wikijs", "agile" - ] + ], + "commands": { + "sprint-plan": { + "description": "Plan a new sprint with Gitea issues and Wiki.js documentation", + "source": "commands/sprint-plan.md" + }, + "sprint-start": { + "description": "Start sprint execution with orchestrator coordination", + "source": "commands/sprint-start.md" + }, + "sprint-status": { + "description": "Get current sprint status and progress report", + "source": "commands/sprint-status.md" + }, + "sprint-close": { + "description": "Close sprint and capture lessons learned", + "source": "commands/sprint-close.md" + }, + "labels-sync": { + "description": "Sync label taxonomy from Gitea organization", + "source": "commands/labels-sync.md" + }, + "initial-setup": { + "description": "Initialize projman configuration for a new project", + "source": "commands/initial-setup.md" + } + }, + "agents": { + "planner": { + "description": "Architecture analysis and sprint planning agent", + "source": "agents/planner.md" + }, + "orchestrator": { + "description": "Sprint execution coordinator and progress tracker", + "source": "agents/orchestrator.md" + }, + "executor": { + "description": "Implementation agent that follows execution prompts", + "source": "agents/executor.md" + } + }, + "skills": { + "label-taxonomy": { + "description": "Gitea label taxonomy reference for issue classification", + "source": "skills/label-taxonomy" + } + } } diff --git a/plugins/projman/.mcp.json b/plugins/projman/.mcp.json index 6ce0b42..5795267 100644 --- a/plugins/projman/.mcp.json +++ b/plugins/projman/.mcp.json @@ -1,19 +1,19 @@ { "mcpServers": { "gitea": { - "command": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/gitea/.venv/bin/python", + "command": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/gitea/.venv/bin/python", "args": ["-m", "mcp_server.server"], - "cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/gitea", + "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/gitea", "env": { - "PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/gitea" + "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/gitea" } }, "wikijs": { - "command": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/wikijs/.venv/bin/python", + "command": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/wikijs/.venv/bin/python", "args": ["-m", "mcp_server.server"], - "cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/wikijs", + "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/wikijs", "env": { - "PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/wikijs" + "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/wikijs" } } }