Skip to content

JimLiu/baoyu-skills / skills/baoyu-diagram

baoyu-diagram

Flagged

Create professional diagrams with configurable dark/light theme via CSS custom properties. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system, process flow, data flow, component relationship, network topology, decision tree, org chart, state machine, or any visual representation of structure/logic/process. Also trigger when the user says "画个图" "画一个架构图" "diagram" "flowchart" "sequence diagram" "draw me a ..." or uploads content and asks to visualize it. Outputs a dark-theme SVG, a light-theme SVG, and a @2x PNG of each.

FileKindSize
SKILL.mdskill md15.8 KB
references/architecture.mdmarkdown3.1 KB
references/flowchart.mdmarkdown2.3 KB
references/sequence.mdmarkdown3.9 KB
references/structural.mdmarkdown3.8 KB
scripts/bun.lockother8.1 KB
scripts/flatten-vars.tsscript1.3 KB
scripts/main.tsscript5.3 KB
scripts/package.jsonmanifest104 B
scripts/theme-switch.tsscript7.1 KB
scripts/themes.test.tsscript2.9 KB
scripts/themes.tsscript4.1 KB
themes/dark.jsonconfig958 B
themes/light.jsonconfig978 B

themes/light.json

View on GitHub
{
  "description": "Light theme — adjusted for light backgrounds (lower-opacity fills, deeper strokes)",
  "--bg": "#f8fafc",
  "--bg-grid": "#e2e8f0",
  "--mask": "#f8fafc",
  "--text": "#0f172a",
  "--text-muted": "#475569",
  "--arrow": "#64748b",
  "--color-primary-fill": "rgba(6,182,212,0.12)",
  "--color-primary-stroke": "#0891b2",
  "--color-secondary-fill": "rgba(5,150,105,0.12)",
  "--color-secondary-stroke": "#059669",
  "--color-tertiary-fill": "rgba(124,58,237,0.12)",
  "--color-tertiary-stroke": "#7c3aed",
  "--color-accent-fill": "rgba(217,119,6,0.12)",
  "--color-accent-stroke": "#d97706",
  "--color-alert-fill": "rgba(225,29,72,0.12)",
  "--color-alert-stroke": "#e11d48",
  "--color-connector-fill": "rgba(234,88,12,0.12)",
  "--color-connector-stroke": "#ea580c",
  "--color-neutral-fill": "rgba(100,116,139,0.12)",
  "--color-neutral-stroke": "#64748b",
  "--color-highlight-fill": "rgba(59,130,246,0.12)",
  "--color-highlight-stroke": "#3b82f6"
}
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 323kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall