figma-diagram-design

Apply professional color theming to Figma diagrams (flowcharts, decision trees, sequence diagrams, state diagrams, gantt charts). Use this skill whenever creating diagrams with the Figma:generate_diagram tool. Automatically assigns distinct colors to top-level branches, with child nodes inheriting their parent branch's color family for clear visual hierarchy.

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 "figma-diagram-design" with this command: npx skills add stoodiohq/agent-skills/stoodiohq-agent-skills-figma-diagram-design

Figma Diagram Design

Apply hierarchy-based color theming to diagrams. Each top-level branch gets a distinct color; all descendants inherit that color, creating instant visual grouping.

Color Application Rules

  1. Identify top-level branches — nodes directly connected to the root/start
  2. Assign distinct colors — one color per top-level branch from the palette
  3. Inherit downward — all child nodes match their ancestor's branch color
  4. Root stays neutral — use the neutral color for entry points and shared nodes

Mermaid Styling Syntax

Define classes and apply them to nodes:

flowchart LR
    classDef branch1 fill:#E8F4FD,stroke:#1E88E5,color:#1565C0
    classDef branch2 fill:#F3E5F5,stroke:#8E24AA,color:#6A1B9A
    classDef branch3 fill:#E8F5E9,stroke:#43A047,color:#2E7D32
    classDef neutral fill:#F5F5F5,stroke:#757575,color:#424242

    Start["Start"]:::neutral
    A["Branch A"]:::branch1
    A1["A Child"]:::branch1
    B["Branch B"]:::branch2
    B1["B Child"]:::branch2
    
    Start --> A --> A1
    Start --> B --> B1

Curated Palettes

Modern Professional (Default)

BranchFillStrokeText
1 - Blue#E8F4FD#1E88E5#1565C0
2 - Purple#F3E5F5#8E24AA#6A1B9A
3 - Green#E8F5E9#43A047#2E7D32
4 - Orange#FFF3E0#FB8C00#E65100
5 - Teal#E0F2F1#00897B#00695C
6 - Red#FFEBEE#E53935#C62828
Neutral#F5F5F5#757575#424242

Soft Pastel

BranchFillStrokeText
1 - Rose#FCE4EC#F06292#C2185B
2 - Sky#E1F5FE#4FC3F7#0277BD
3 - Mint#E0F7FA#4DD0E1#00838F
4 - Peach#FFF8E1#FFD54F#F57F17
5 - Lavender#EDE7F6#B39DDB#5E35B1
6 - Sage#F1F8E9#AED581#558B2F
Neutral#FAFAFA#BDBDBD#616161

Bold Vibrant

BranchFillStrokeText
1 - Electric Blue#BBDEFB#2196F3#0D47A1
2 - Hot Pink#F8BBD9#E91E63#880E4F
3 - Lime#DCEDC8#8BC34A#33691E
4 - Amber#FFECB3#FFC107#FF6F00
5 - Deep Purple#D1C4E9#673AB7#311B92
6 - Cyan#B2EBF2#00BCD4#006064
Neutral#ECEFF1#607D8B#37474F

Workflow

  1. Parse the diagram structure to identify hierarchy
  2. Count top-level branches and select palette
  3. Generate classDef statements for each branch + neutral
  4. Apply classes to all nodes based on their branch ancestry
  5. Ensure root/shared nodes use neutral styling

Presenting Diagram URLs

Terminal display can corrupt long Figma URLs when copied. Follow these rules:

URL Presentation Rules

  1. Provide the diagram ID separately — on its own line
  2. Use short URL form — omit https:// to reduce length
  3. Never use markdown links[text](url) can cause double-prefix issues
  4. Avoid query parameters — they add unnecessary length

Recommended Format

**Diagram ID:** b201b3c8-b2ab-4ed9-a3bc-7e09703db246

**Access your diagram at:**
figma.com/online-whiteboard/create-diagram/ + the ID above

If User Reports 404 Error

  1. Check for %0A or %20 in their URL (indicates line break corruption)
  2. Provide the diagram ID separately
  3. Have them manually construct the short URL

Notes

  • For diagrams with >6 branches, cycle through the palette or select a subset
  • Gantt charts: color by task group/section rather than hierarchy
  • Sequence diagrams: color by participant/actor
  • State diagrams: color by state category or region

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.

Automation

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

Repository Source
86.5K23Kvercel
Automation

vercel-react-native-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Repository Source
60.7K23Kvercel
Automation

supabase-postgres-best-practices

Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.

Repository Source
35.4K1.6Ksupabase
Automation

sleek-design-mobile-apps

Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").

Repository Source