liamc225

Diagram Skill — Development skill for Claude Code

Development community

Generate architecture diagrams from any codebase with a single Claude Code command.

How to install Diagram Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open liamc225/diagram-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Diagram Skill does

Generate architecture diagrams from any codebase with a single Claude Code command. Zero dependencies.

Alternatives in Development

  • Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
  • Claw Code Agent — Claw Code No Rust No TypeScript Only Python 543 ★
  • Claude Notifications Go — Cross-platform smart notifications -- 6 types, click-to-focus, context analysis, webhooks 365 ★

README

/diagram

A Claude Code command that reads your code and generates Mermaid diagrams. Built for visualizing scripts, automations, and pipelines.

![Claude Code](https://img.shields.io/badge/Claude_Code-command-blueviolet) ![Mermaid](https://img.shields.io/badge/output-Mermaid-ff69b4) ![Zero Dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen)

Demo

Running `/diagram` on a Python flight deal tracker I built:

graph TD
    Cron(("macOS launchd
daily @ 8am")) subgraph FlightTracker["flight-tracker"] Checker["flight_checker.py
Orchestrator"] DealEngine["Deal Detection
threshold + rolling median"] History[("price_history.json")] Notifier["notifier.py
HTML email builder"] end subgraph APIs["Flight Data APIs"] Amadeus["Amadeus API
primary"] RapidAPI["RapidAPI
Google Flights
fallback"] end SMTP["Gmail SMTP"] User((User)) Cron --> Checker Checker -->|OAuth2 + search| Amadeus Checker -.->|"fallback if empty"| RapidAPI Checker --> DealEngine DealEngine <-->|read/write| History DealEngine -->|deals found| Notifier Notifier -->|SMTP/TLS| SMTP SMTP -->|email alert| User style FlightTracker fill:#1a1a2e,stroke:#6366f1,color:#e2e8f0 style APIs fill:#1a1a2e,stroke:#f59e0b,color:#e2e8f0 style Cron fill:#22d3ee,stroke:#22d3ee,color:#0f172a style User fill:#6366f1,stroke:#6366f1,color:#fff style SMTP fill:#0f172a,stroke:#ef4444,color:#ef4444 style History fill:#0f172a,stroke:#22d3ee,color:#22d3ee

Install

# Global (works in every project)
curl -o ~/.claude/commands/diagram.md \
  https://raw.githubusercontent.com/liamc225/diagram-skill/main/diagram.md

# Or clone the repo
git clone https://github.com/liamc225/diagram-skill.git
cp diagram-skill/diagram.md ~/.claude/commands/diagram.md

How it works

  1. cd into any project and run /diagram
  2. Claude reads your source