drawio-delegate

Delegate diagram creation to a GitHub Copilot CLI session with draw.io MCP enabled.

2|Updated Jun 29, 2021
One-click install
npx skills add https://github.com/pypeaday/dotfiles --skill drawio-delegate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio-delegate
Source: https://github.com/pypeaday/dotfiles/tree/main/opencode/.config/opencode/skill/drawio-delegate
Command: npx skills add https://github.com/pypeaday/dotfiles --skill drawio-delegate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill delegates the burden of diagram creation to a GitHub Copilot CLI session that can generate Draw.io diagrams via an MCP-enabled workflow.

Core Features & Use Cases

  • Non-interactive diagram generation using the drawio-copilot-task helper with MCP-enabled Copilot CLI.
  • Dockerized draw.io environment management: start and verify the container and render results in the browser.
  • Suitable for architecture diagrams, system diagrams, and process flows requiring consistent, repeatable visuals.

Quick Start

Start the draw.io container if not running: cd ~/dotfiles/ai && docker compose up -d Verify readiness with curl -sf http://localhost:8098/ > /dev/null && echo "ready" || echo "not ready" Create a diagram by invoking the drawio-copilot-task with a detailed prompt, for example: drawio-copilot-task "Create an AWS architecture diagram showing: VPC, public/private subnets, ALB, EKS, RDS, and connections"

Frequently Asked Questions about drawio-delegate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate draw.io diagram generation using Copilot?

Yes, you can generate draw.io diagrams non-interactively by invoking the drawio-copilot-task helper with a detailed text prompt. This delegates the rendering process to an MCP-enabled Copilot CLI session for reproducible architecture diagrams.

What do I need to run the drawio-copilot-task workflow?

To run the drawio-copilot-task workflow, you need a running draw.io Docker container and an MCP-enabled GitHub Copilot CLI session. You must verify container readiness via localhost before executing the subprocess-based diagram generation.

How does the drawio-delegate Skill render diagrams in the browser?

The drawio-delegate Skill renders diagrams by starting a Dockerized draw.io environment via docker compose. After verifying container readiness, the Copilot CLI session generates the diagram file for browser display.

Can I create reproducible AWS architecture diagrams without manual drawing?

Yes, you can create reproducible AWS architecture diagrams without manual drawing by passing a detailed prompt to the drawio-copilot-task helper. This delegates the visual layout process entirely to the Copilot CLI session.

Does this approach require an interactive Copilot session to draw diagrams?

No, this approach uses a non-interactive subprocess-based execution to generate diagrams. It requires the drawio-copilot-task workflow and a running draw.io container, but does not require an active interactive Copilot session.