Wireframe

From bendrucker/claude · View interactive version

Wireframe is an AI agent skill from the GitHub repository bendrucker/claude. Create wireframes for UI mockups. Supports SVG (precise layouts) and HTML/Tailwind (standard UI patterns). Use when creating wireframes, mockups, or skeletal UI layouts.

How to use this skill

Skill file

Wireframe

Create wireframes for UI mockups with two approaches.

Wireframes are skeletal, black-and-white representations of UI layout, focused on structure, content priority, and function—not visual design. No colors, no styling, minimal fidelity.

Choose Your Approach

| Use | When | Render Script |

|-----|------|---------------|

| SVG | Precise positioning, overlapping elements, custom shapes, artistic layouts | render.ts |

| HTML/Tailwind | Standard UI patterns (forms, grids, navigation, modals), flexbox layouts | render-html.ts |

Before creating a wireframe, read the reference file for your chosen approach. The references contain required patterns, component examples, and the rendering workflow.

References

Rendering

Use ONLY the provided render scripts. Do not improvise alternative methods (Chrome headless, third-party CLI tools, etc.).

| Format | Command |

|--------|---------|

| SVG | bun {SKILL_DIR}/scripts/render.ts [--scale N] <file.svg> [output.png] |

| HTML | bun {SKILL_DIR}/scripts/render-html.ts [--scale N] <file.html> [output.png] |

render-html.ts launches Chromium, which exits at startup under the command sandbox. It needs a bin/ shim listed in sandbox.excludedCommands, run as the whole Bash command.

Common Sizes

| Device | Width | Height |

|--------|-------|--------|

| iPhone | 375 | 667 |

| iPad | 768 | 1024 |

| Desktop | 1280 | 800 |

| Mobile web | 360 | 640 |

Iteration Process

  1. Create wireframe in the scratchpad directory
  2. Run validation (SVG) or render directly (HTML)
  3. Render to PNG (1x for quick verification)
  4. Read the PNG file to visually inspect
  5. Iterate until satisfied
  6. Render final version at 2x for sharing
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.