thinkfleetai/thinkfleet-engine

diagram-gen

Generate Mermaid diagrams from your codebase. Use when you need architecture visualizations.

First seen Mar 1, 2026

Installation

$ npx skills add thinkfleetai/thinkfleet-engine --skill diagram-gen

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from thinkfleetai/thinkfleet-engine · top by installs.

npx skills add thinkfleetai/thinkfleet-engine

Browse all from thinkfleetai/thinkfleet-engine

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,108 B
  • docs SUMMARY.md 111 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Diagram Generator

Architecture diagrams are always out of date because nobody maintains them. This tool reads your code and generates accurate Mermaid diagrams automatically.

One command. Zero config. Just works.

Quick Start

npx ai-diagram ./src/

What It Does

  • Generates Mermaid diagrams from your code
  • Supports flowcharts, class diagrams, sequence diagrams
  • Creates ER diagrams from database schemas
  • Outputs markdown-compatible Mermaid syntax

Usage Examples

# Generate flowchart
npx ai-diagram ./src/

# Class diagram
npx ai-diagram ./src/ --type class -o architecture.mmd

# Sequence diagram of function calls
npx ai-diagram ./src/ --type sequence

# Entity relationship diagram
npx ai-diagram ./src/ --type er

Best Practices

  • Pick the right diagram type - use class for OOP, flow for processes
  • Focus on key modules - don't diagram everything
  • Keep them updated - run periodically as code changes
  • Add to docs - Mermaid renders in GitHub markdown

When to Use This

  • Onboarding new team members
  • Documentation that's always out of date
  • Understanding unfamiliar codebases
  • Architecture reviews and planning

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAIAPIKEY environment variable.

npx ai-diagram --help

How It Works

Reads your source files to understand the structure, relationships, and data flow. Then generates Mermaid syntax that renders as diagrams in markdown editors, GitHub, and documentation tools.

License

MIT. Free forever. Use it however you want.