Skip to content
Content
Command

/generate-web-diagram

Generate a beautiful standalone HTML diagram and open it in the browser

From plugin
claude-skills-journalism
45322 skills1 agent22 commands2 hooks
> /plugin marketplace add jamditis/claude-skills-journalism

Command definition

generate-web-diagram.md
description: Generate a beautiful standalone HTML diagram and open it in the browser

Load the visual-explainer skill, then generate an HTML diagram for: $@

Follow the visual-explainer skill workflow. Read the reference template and CSS patterns before generating. Pick a distinctive aesthetic that fits the content, vary fonts, palette, and layout style from previous diagrams.

If `surf` CLI is available (`which surf`), consider generating an AI illustration via `surf gemini --generate-image` when an image would genuinely enhance the page, a hero banner, conceptual illustration, or educational diagram that Mermaid can't express. Match the image style to the page's palette. Embed as base64 data URI. See css-patterns.md "Generated Images" for container styles. Skip images when the topic is purely structural or data-driven.

Write to `~/.agent/diagrams/` and open the result in the browser.

@jamditis
Ships withclaude-skills-journalism

A collection of Agent Skills for journalists, researchers, academics, media professionals, and communications practitioners. The same repository serves Claude Code and Codex while keeping Claude-only commands, agents, and hooks clearly labeled.

45372 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
453
Star history of jamditis/claude-skills-journalism on GitHub, a chart by star-history.com

Other commands on claude-skills-journalism.

More commands from other plugins.