Skip to main content

Figma Generate Diagram Prerequisite

Skill Verified Active

MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly without loading this skill first. Trigger whenever the user asks to create, generate, draw, render, sketch, or build a diagram — flowchart, architecture diagram, sequence diagram, ERD or entity-relationship diagram, state diagram or state machine, gantt chart, or timeline. Also trigger when the user mentions Mermaid syntax or wants a system architecture, decision tree, dependency graph, API call flow, auth handshake, schema, or pipeline visualized in FigJam. Routes to type-specific guidance, sets universal Mermaid constraints, and tells you when to use a different diagram type or skip the tool entirely (mindmaps, pie charts, class diagrams, etc.).

Purpose

To ensure users correctly invoke the `generate_diagram` tool by validating diagram types, applying universal constraints, and routing to specific guidance, thereby improving the quality and accuracy of generated Figma diagrams.

Features

  • Acts as mandatory prerequisite for `generate_diagram`
  • Routes requests to type-specific guidance
  • Sets universal Mermaid constraints
  • Identifies and rejects unsupported diagram types
  • Guides hybrid workflow usage for advanced diagrams

Use Cases

  • Use before every `generate_diagram` tool call
  • Use when a user asks to create, generate, draw, or render a diagram
  • Use when Mermaid syntax or specific diagram types (e.g., ERD, Gantt) are mentioned
  • Use to determine if `generate_diagram` is the appropriate tool for the user's visualization request

Non-Goals

  • Directly generating diagrams
  • Handling diagram rendering itself
  • Providing diagram-specific editing functionality
  • Supporting unsupported diagram types like mindmaps or pie charts

Workflow

  1. Load this skill.
  2. User requests diagram creation/generation.
  3. Skill determines diagram type and validity.
  4. If valid, route to type-specific guidance (e.g., architecture.md).
  5. If invalid or unsupported, inform user and skip tool call.
  6. Ensure universal Mermaid constraints are applied.
  7. Proceed to `generate_diagram` tool call with appropriate parameters.

Practices

  • Diagram type validation
  • Constraint enforcement
  • User guidance

Prerequisites

  • Claude Code agent environment
  • Ability to call `generate_diagram` tool

Installation

/plugin install mcp-server-guide@figma-mcp-server-guide

Quality Score

Verified
97 /100
Analyzed about 15 hours ago

Trust Signals

Last commitabout 23 hours ago
Stars1.4k
LicenseMIT
Status
View Source

Similar Extensions

Sf Diagram Mermaid

99

Salesforce architecture diagrams using Mermaid with ASCII fallback. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use sf-diagram-nanobananapro), or asks about non-Salesforce systems.

Skill
jaganpro

Generate Project Plan

98

Generate a FigJam project plan board from a PRD plus codebase context. Interactive flow: research → propose sections → per-section deep research → per-section content + block-shape proposal → create FigJam → skeleton → fill → diagrams → wrap. Each content block (section, nested section, intro callout, table, multi-column text, sticky column, diagram section, metadata strip) has its own subskill reference file. Use when the user asks for 'project plan in FigJam', 'interactive project plan', '/generate-project-plan', or provides a PRD and wants per-section confirmation on content + rendering.

Skill
figma

Figma Create New File

98

**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `create_new_file` tool call. NEVER call `create_new_file` directly without loading this skill first. Trigger whenever the user wants a new blank Figma file — a new design, FigJam, or Slides file — or when you need a fresh file before calling `use_figma`. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard, /figma-create-new-file slides Q3 Review)

Skill
figma

Azure Resource Visualizer

96

Analyze Azure resource groups and generate detailed Mermaid architecture diagrams showing the relationships between individual resources. WHEN: create architecture diagram, visualize Azure resources, show resource relationships, generate Mermaid diagram, analyze resource group, diagram my resources, architecture visualization, resource topology, map Azure infrastructure.

Skill
microsoft

Figma Use Figjam

96

This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.

Skill
figma

C4 Architecture Skill

95

Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, create C4 diagrams, or generate context/container/component/deployment diagrams. Triggers include "architecture diagram", "C4 diagram", "system context", "container diagram", "component diagram", "deployment diagram", "document architecture", "visualize architecture".

Skill
davila7

© 2025 SkillRepo · Find the right skill, skip the noise.