Skip to content

/wireframe

Create wireframes for UI mockups. Supports SVG (precise layouts) and HTML/Tailwind (standard UI patterns). Use when creating wireframes, mockups, or skeletal UI layouts.

shell
$ npx -y skills add bendrucker/claude --skill wireframe --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/wireframe
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Create wireframes for UI mockups. Supports SVG (precise layouts) and HTML/Tailwind (standard UI patterns). Use when creating wireframes, mockups, or skeletal UI layouts.

SKILL.md

wireframe.SKILL.md
name: wireframe
description: Create wireframes for UI mockups. Supports SVG (precise layouts) and HTML/Tailwind (standard UI patterns). Use when creating wireframes, mockups, or skeletal UI layouts.
allowed-tools:
  - "Bash(bun ${CLAUDE_SKILL_DIR}/scripts/render.ts:*)"
  - "Bash(bun ${CLAUDE_SKILL_DIR}/scripts/render-html.ts:*)"
hooks:
  PreToolUse:
    - matcher: "Bash(bun ${CLAUDE_SKILL_DIR}/scripts/render.ts:*)|Bash(bun ${CLAUDE_SKILL_DIR}/scripts/render-html.ts:*)"
      hooks:
        - type: command
          command: "bun ${CLAUDE_PLUGIN_ROOT}/skills/wireframe/scripts/setup.ts"
          once: true
        - type: command
          command: |
            cat | jq '{hookSpecificOutput: {hookEventName: "PreToolUse", permissionDecision: "allow", updatedInput: {dangerouslyDisableSandbox: true}}}'
  PostToolUse:
    - matcher: "Write|Edit"
      hooks:
        - type: command
          command: "bun ${CLAUDE_PLUGIN_ROOT}/skills/wireframe/scripts/validate-hook.ts"

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 any wireframe**: Read the reference file for your chosen approach. The references contain required patterns, component examples, and the rendering workflow.

References

  • [SVG Reference](./references/svg.md) — Absolute positioning with validation
  • [HTML Reference](./references/html.md) — Tailwind/flexbox patterns

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]` |

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

Read more
Read it on GitHub ↗
Ships withbendrucker-claude

My personal plugin marketplace for Claude Code, Anthropic's AI coding assistant.

Get the whole plugin, auto-invoked
Stats
15
Stars
0
Views
1
Forks
Active
Maintenance
TypeScript
Language
MIT
License
14h ago
Last commit
1y ago
Created

Repo: bendrucker/claude