cyberneticlibrary

Generate system architecture diagrams

diagramskillsetup L20
vanducng/skills
What it does

Generate system/workflow/ER diagrams from natural language descriptions

Best for

Auto-generating reviewable architecture/data-flow/sequence diagrams for docs and PRs

Inputs
  • · Natural language description
  • · Optional: --type, --preset, --format (png|svg), --versioned
Outputs
  • · PNG image or SVG markup
  • · Version-controlled diagram.spec.yaml and manifest.json
  • · Interactive ER HTML
Requires
  • · OpenRouter or ChatGPT image-gen API
  • · Cytoscape.js (for ER HTML)
  • · er_html.py script
Preconditions
  • · API key configured if using image generation
  • · psql/mysql for ER introspection
Failure modes
  • · No API access for PNG
  • · Invalid diagram type specified
Trust signals
  • · Auto-detects diagram type
  • · Version-controlled specs for iteration
  • · Interactive ER with schema insights