diagram-renderer

Diagram Renderer (Protocol v1)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "diagram-renderer" with this command: npx skills add famaoai-creator/gemini-skills/famaoai-creator-gemini-skills-diagram-renderer

Diagram Renderer (Protocol v1)

Overview

This skill is the official implementation of the Gemini Diagram ADF Protocol v1. It decouples AI logic from visualization syntax, allowing Gemini to generate professional-grade diagrams (Flowcharts, Gantt, Sequence, ER, etc.) by providing pure data.

Capabilities

  1. Intent-Driven Rendering

Automatically selects the best visualization strategy based on user intent:

  • system_architecture : Symmetric, icon-rich maps.

  • project_roadmap : 16:9 top-axis Gantt charts.

  • api_sequence : Modern tech-dark sequence diagrams.

  • db_schema : Professional ER diagrams.

  • strategy_map : Business-friendly forest themed maps.

  1. Designer Finish (Automatic)

Every output is physically standardized to 16:9 (1920x1080) and features:

  • Depth: Auto-injected drop shadows and gradients.

  • Typography: Refined fonts (Segoe UI / Fira Code) and spacing.

  • Branding: Unified theme support (base , dark , forest ).

Usage (ADF Protocol)

AI agents should provide a JSON file conforming to schemas/diagram-adf.schema.json .

{ "protocol": "gemini-diagram-v1", "intent": "project_roadmap", "title": "Q1 Development", "elements": { "nodes": [ { "id": "n1", "name": "Phase 1", "section": "Planning", "start": "2026-03-01", "duration": "7d" } ] } }

node dist/index.js --input input.json --out output.svg

Extension Points

  • themeVariables : Override specific colors or fonts.

  • customStyle : Inject custom CSS properties.

  • elements.diagram : Passthrough for raw Mermaid code when specialized tweaks are needed.

Knowledge Registry

  • theme-registry.json : Global theme and resolution defaults.

  • design-rules.json : Mapping of intents to rendering strategies.

  • design-styles.json : Advanced CSS override injection rules.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

data-transformer

No summary provided by upstream source.

Repository SourceNeeds Review
General

prompt-optimizer

No summary provided by upstream source.

Repository SourceNeeds Review
General

local-reviewer

No summary provided by upstream source.

Repository SourceNeeds Review
General

api-fetcher

No summary provided by upstream source.

Repository SourceNeeds Review