fix: add missing plugin declarations and fix hardcoded paths

- 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 <noreply@anthropic.com>
This commit is contained in:
2025-12-12 10:47:00 -05:00
parent 310bd34e82
commit cff97eb3bb
4 changed files with 70 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
{ {
"mcpServers": { "mcpServers": {
"netbox": { "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"], "args": ["-m", "mcp_server.server"],
"cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/netbox", "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/netbox",
"env": { "env": {
"PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/netbox" "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/netbox"
} }
} }
} }

View File

@@ -8,5 +8,18 @@
}, },
"license": "MIT", "license": "MIT",
"keywords": ["cleanup", "hygiene", "automation", "hooks", "maintenance"], "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"
}
]
}
]
}
} }

View File

@@ -14,5 +14,51 @@
"gitea", "gitea",
"wikijs", "wikijs",
"agile" "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"
}
}
} }

View File

@@ -1,19 +1,19 @@
{ {
"mcpServers": { "mcpServers": {
"gitea": { "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"], "args": ["-m", "mcp_server.server"],
"cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/gitea", "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/gitea",
"env": { "env": {
"PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/gitea" "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/gitea"
} }
}, },
"wikijs": { "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"], "args": ["-m", "mcp_server.server"],
"cwd": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/wikijs", "cwd": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/wikijs",
"env": { "env": {
"PYTHONPATH": "/home/lmiranda/repos/bandit/support-claude-mktplace/mcp-servers/wikijs" "PYTHONPATH": "${CLAUDE_PLUGIN_ROOT}/../../mcp-servers/wikijs"
} }
} }
} }