generate-state-diagram

Community

Turn code into Mermaid state diagrams.

Authorvndkubi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates clear Mermaid state diagrams from code by extracting entity lifecycles and transitions, reducing manual diagramming effort.

Core Features & Use Cases

  • Auto-detects status/state fields across languages (Java, Python, TypeScript, etc.)
  • Produces Mermaid diagrams reflecting current and proposed states for documentation and reviews
  • Helps validate state coverage and transition completeness in codebases

Quick Start

Analyze your codebase to generate a Mermaid state diagram that visualizes an entity's lifecycle and transitions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-state-diagram
Download link: https://github.com/vndkubi/code-graph/archive/main.zip#generate-state-diagram

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.