Back to list
ben-mad-jlp

using-gui-wireframes

by ben-mad-jlp

Real-time Mermaid diagram collaboration server with MCP integration for Claude Code

0🍴 0📅 Jan 26, 2026

SKILL.md


name: using-gui-wireframes description: Use when creating or editing UI mockups, screen layouts, or interface designs. Use INSTEAD of ASCII art for any visual UI representation. allowed-tools: mcp__plugin_mermaid-collab_mermaid__*, Read

Using GUI Wireframes

Overview

ALWAYS use mermaid wireframe syntax for UI mockups. Never use ASCII art boxes, tables, or text representations for UI layouts.

When to Use

Use wireframe syntax when:

  • User asks for a "mockup", "wireframe", "UI design", or "screen layout"
  • Visualizing app screens, forms, dashboards, or navigation flows
  • Showing multi-screen user flows or journeys
  • Any situation where you'd otherwise draw ASCII boxes for UI

NEVER use ASCII art for UI. Wireframe syntax renders as actual visual diagrams.

Quick Syntax Reference

wireframe [viewport] [direction]
  [component] ["label"] [modifiers]

Viewports: mobile (375×600), tablet (768×1024), desktop (1200×800)

Direction: LR (horizontal screens), TD (vertical screens)

Containers:

ComponentPurpose
colStack children vertically
rowPlace children horizontally
CardBordered container
screen "label"Separate viewport (for flows)

Components:

ComponentExample
AppBar "title"Top navigation bar
Title "text"Large heading
Text "text"Body text
Input "placeholder"Text field
Button "label"Clickable button
Checkbox "label"Checkbox
Switch "label"Toggle
Dropdown "label"Select menu
AvatarUser avatar
ImageImage placeholder
spacerFlexible space
dividerHorizontal line

Modifiers: primary, secondary, danger, disabled, flex=N, width=N, height=N, padding=N

Critical Syntax Rules

  1. Indentation = hierarchy - Use 2 spaces per level, no tabs
  2. Labels in quotes - Button "Submit" not Button Submit
  3. Modifiers after label - Button "Save" primary not primary Button "Save"
  4. Grid uses pipes - header "Col1 | Col2" and row "Val1 | Val2"

Common Patterns

Mobile form:

wireframe mobile
  col
    AppBar "Form Title"
    col padding=24
      Input "Field 1"
      Input "Field 2"
      spacer
      Button "Submit" primary

Multi-screen flow:

wireframe mobile LR
  screen "Login"
    col
      AppBar "Sign In"
      col padding=24
        Input "Email"
        Button "Login" primary
  screen "Home"
    col
      AppBar "Dashboard"
      Title "Welcome"

Desktop sidebar layout:

wireframe desktop
  col
    AppBar "App"
    row flex
      col width=200
        List "Nav 1"
        List "Nav 2"
      col flex
        Title "Content"

Common Mistakes

MistakeFix
Using ASCII boxes [Button]Use Button "label"
Missing quotes on labelsTitle "Hello" not Title Hello
Wrong indentationExactly 2 spaces per level
Tabs instead of spacesUse spaces only
Modifier before labelButton "X" primary not primary Button "X"

Red Flags - You're Doing It Wrong

If you find yourself:

  • Drawing +----+ boxes → Use wireframe syntax
  • Writing | Button | → Use Button "label"
  • Making ASCII tables for UI → Use Grid with header/row
  • Describing UI in prose → Create a wireframe diagram

These all mean: Use wireframe syntax instead.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon