/pm-workspace:diagram-generationfrom pm-workspace
Generates architecture, data flow, and sequence diagrams from project code and infrastructure. Supports Draw.io, Miro, and local Mermaid export.
Ships in pm-workspace. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generar diagramas de arquitectura, flujo de datos y secuencia a partir de la infraestructura y código fuente de un proyecto. Exportar a Draw.io, Miro o formato local (Mermaid).
/diagram-generate — Genera diagrama completoCLAUDE.md (raíz) — Contexto globalprojects/{proyecto}/CLAUDE.md — Stack, arquitectura, reposprojects/{proyecto}/infrastructure/ — Terraform, Docker, K8s si existendocs/rules/domain/diagram-config.md — Constantes y configuraciónAnalizar el proyecto para identificar componentes arquitectónicos:
*.tf, docker-compose.yml, k8s/, helm/*.csproj, package.json, pom.xml, go.mod, etc.CLAUDE.md del proyecto, architecture.mdPara tipo orgchart: la fuente de datos es teams/{dept}/ (dept.md + team.md de cada equipo),
NO infraestructura de proyecto. Opcionalmente enriquecer con teams/members/{handle}.md.
Detalle: @references/diagram-entities.md
| Entidad | Detección | Icono |
|---|---|---|
| Microservicio / API | *.csproj + Dockerfile | [Nombre] |
| Base de datos | ConnectionString, DbContext | [(DB)] |
| Cola / Bus | ServiceBus, RabbitMQ config | {{Cola}} |
| API Gateway | Ocelot, YARP, Kong | [[Gateway]] |
| Frontend / SPA | angular.json, next.config | (Frontend) |
| CDN / Cache | Redis, CloudFront | {Cache} |
Construir la representación en Mermaid según el tipo de diagrama:
Detalle: @references/mermaid-templates.md
teams/DRAWIO_FOLDER → usar esa carpeta.mermaid en projects/{p}/diagrams/local/Crear projects/{p}/diagrams/{tool}/{tipo}.meta.json:
{
"tool": "draw-io",
"type": "architecture",
"name": "System Architecture — {proyecto}",
"url": "https://...",
"remote_id": "...",
"local_mermaid": "diagrams/local/architecture.mermaid",
"created": "2026-02-26T...",
"elements": { "services": 4, "databases": 2, "queues": 1 }
}
✅ Diagrama generado: {tipo} — {proyecto}
🔗 URL: {link}
📊 Elementos: {N} servicios, {N} DBs, {N} colas
📁 Metadata: projects/{p}/diagrams/{tool}/{tipo}.meta.json
references/mermaid-templates.md — Plantillas por tiporeferences/diagram-entities.md — Detección de componentesreferences/draw-io-shapes.md — Mapeo entidades → shapesreferences/orgchart-shapes.md — Shapes de organigramareferences/orgchart-mermaid-template.md — Plantilla Mermaid para orgchartDOMAIN.md (opens in a new tab)references/diagram-entities.md (opens in a new tab)references/draw-io-shapes.md (opens in a new tab)references/mermaid-templates.md (opens in a new tab)references/miro-board-structure.md (opens in a new tab)references/orgchart-mermaid-template.md (opens in a new tab)references/orgchart-shapes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: dependencies: Invalid input: expected array, received object, author: Invalid input: expected object, received string
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
139 skills in this plugin
/adversarial-securityUsar cuando se necesita auditar la seguridad de un proyecto con pipeline Red Team / Blue Team./agent-code-mapUsar cuando un agente necesita conocer la arquitectura del proyecto sin leer ficheros completos./agent-file-mapUsar cuando se trabaja con ficheros externos al workspace que los agentes deben localizar./agent-messagingUsar cuando un agente debe enviar un mensaje a otro agente con roles y receipts, sin pasar por el usuario. Triggers: mensaje a otro agente, agent-message, notify agent, inbox.Other plugins' skills for the same job