flowtown

Generate architecture diagrams from JSON graph definitions using ELK.js and resvg-js.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/aroc/diagram-skill --skill flowtown
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flowtown
Source: https://github.com/aroc/diagram-skill/tree/main
Command: npx skills add https://github.com/aroc/diagram-skill --skill flowtown

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @resvg/resvg-js, d3-shape, elkjs, tsx, typescript, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of architecture diagrams, transforming complex code structures or abstract concepts into clear visual representations.

Core Features & Use Cases

  • Codebase Visualization: Analyzes project architecture to generate diagrams.
  • Conceptual Diagramming: Guides users through creating diagrams from scratch for brainstorming or explanation.
  • Use Case: Visualize the architecture of your backend services by providing the Skill with a JSON definition, or brainstorm a new system design by having the Skill guide you through creating a diagram interactively.

Quick Start

Use the flowtown skill to generate a diagram from the provided JSON definition.

Frequently Asked Questions about flowtown

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

FAQPage Schema
How do I generate architecture diagrams from JSON?

To generate architecture diagrams from JSON, you provide a JSON graph definition to the Skill, which uses ELK.js for automatic layout and resvg-js to render the output into a PNG image.

Can I visualize codebase architecture automatically?

Yes, you can visualize codebase architecture by providing a JSON definition of your project structure, allowing the Skill to automatically layout and render the code analysis into a clear visual diagram.

Do I need npm packages to render concept mapping diagrams?

Yes, you need npm packages like ELK.js for layout calculations and resvg-js for PNG rendering to successfully generate and export concept mapping diagrams using this Skill.

What is the best way to create system design diagrams for brainstorming?

The best way to create system design diagrams for brainstorming is to use interactive conceptual diagramming, which guides you through defining JSON graph structures that are automatically laid out and rendered visually.

Does ELK.js work with TypeScript for code visualization?

Yes, ELK.js works with TypeScript for code visualization, acting as the layout engine that processes your JSON graph definitions before resvg-js renders the final architecture diagram to PNG.