Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
60 lines
1.4 KiB
Markdown
60 lines
1.4 KiB
Markdown
---
|
|
name: cv dependency-graph
|
|
---
|
|
|
|
# /cv dependency-graph
|
|
|
|
## Skills to Load
|
|
- skills/visual-output.md
|
|
- skills/plugin-discovery.md
|
|
- skills/interface-parsing.md
|
|
- skills/dependency-analysis.md
|
|
- skills/mcp-tools-reference.md
|
|
|
|
## Usage
|
|
|
|
```
|
|
/cv dependency-graph [marketplace_path] [--format <mermaid|text>] [--show-tools]
|
|
```
|
|
|
|
## Parameters
|
|
|
|
- `marketplace_path` (optional): Path to marketplace root. Defaults to current project root.
|
|
- `--format` (optional): Output format - `mermaid` (default) or `text`
|
|
- `--show-tools` (optional): Include individual tool nodes in the graph
|
|
|
|
## Workflow
|
|
|
|
1. **Display header** per `skills/visual-output.md`
|
|
|
|
2. **Discover plugins** per `skills/plugin-discovery.md`
|
|
|
|
3. **Parse interfaces** per `skills/interface-parsing.md`
|
|
- Use `parse_plugin_interface` for each plugin
|
|
- Use `parse_claude_md_agents` for CLAUDE.md
|
|
|
|
4. **Analyze dependencies** per `skills/dependency-analysis.md`
|
|
- Identify shared MCP servers
|
|
- Detect data producers/consumers
|
|
- Categorize as required or optional
|
|
|
|
5. **Generate output**:
|
|
- Mermaid: Create flowchart TD diagram with styled edges
|
|
- Text: Create text summary with counts and lists
|
|
|
|
## Examples
|
|
|
|
```
|
|
/cv dependency-graph
|
|
/cv dependency-graph --show-tools
|
|
/cv dependency-graph --format text
|
|
/cv dependency-graph ~/claude-plugins-work
|
|
```
|
|
|
|
## Integration
|
|
|
|
Use with `/cv validate`:
|
|
1. Run `/cv dependency-graph` to visualize
|
|
2. Run `/cv validate` to find issues
|
|
3. Fix and regenerate
|