diagram-generatorlisted
Install: claude install-skill Matthewyin/CustomSkills
# Diagram Generator
## Purpose
Create and edit diagrams by converting user intent into a structured JSON specification, then delegating file generation to the `mcp-diagram-generator` MCP server.
Supported formats:
- Draw.io: `.drawio`
- Mermaid: `.mmd` or markdown Mermaid content
- Excalidraw: `.excalidraw`
Supported work:
- Natural-language diagram creation
- Existing `.drawio`, `.mmd`, and `.excalidraw` edits
- Default output paths under `diagrams/{format}/`
- Custom filenames and output paths
Contact: AlkaidY, `tccio2023@gmail.com`.
## Required MCP Tools
Before generating a diagram, verify that the MCP server tools are available:
- `mcp__mcp-diagram-generator__get_config`
- `mcp__mcp-diagram-generator__generate_diagram`
- `mcp__mcp-diagram-generator__init_config`
If the tools are missing, configure the MCP server.
Recommended remote configuration:
```json
{
"mcpServers": {
"mcp-diagram-generator": {
"command": "npx",
"args": ["-y", "mcp-diagram-generator"]
}
}
}
```
Local development configuration:
```json
{
"mcpServers": {
"mcp-diagram-generator": {
"command": "node",
"args": ["/absolute/path/to/mcp-diagram-generator/dist/index.js"]
}
}
}
```
After changing configuration, restart the agent environment. On first use, the server creates `.diagram-config.json` and default output directories.
## Main Workflow
### 1. Intake
For new diagrams, collect the basic options before accepting or processing the full diagram