Skip to content
Skills Library
Design & UX · Building & coding

wireframe

/wireframe

Plan a UI page as a hand-drawn sketch, then build it for real. The person draws plain shapes (rect, ellipse, diamond, text, wireframe kinds such as button, input and card, arrows on a split/pack layout, on the project's grid) in a local studio, optionally tagging a shape with a component from the project's component catalog; the agent builds or changes the real page on a branch with the real component library, commits, and serves the running page beside the sketch; the person sends feedback and approves the commit and the sketch in one click; the agent hands off by path. Works for new pages an

Repository
wireframe ↗
Licence
MIT
Last repository change
31.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
35
Scripts
11
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 11 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/approval.py, scripts/design.py, scripts/feedback.py, scripts/grid.py, scripts/mapping.py, scripts/render.py, scripts/serve.py, scripts/shoot.py, scripts/storybook.py, scripts/wireframe.py, ui/assets/index-DhOPadUT.js

What it does and when to use it

Plan a UI page as a hand-drawn sketch, then build it for real. The person draws plain shapes (rect, ellipse, diamond, text, wireframe kinds such as button, input and card, arrows on a split/pack layout, on the project's grid) in a local studio, optionally tagging a shape with a component from the project's component catalog; the agent builds or changes the real page on a branch with the real component library, commits, and serves the running page beside the sketch; the person sends feedback and approves the commit and the sketch in one click; the agent hands off by path. Works for new pages an

Original author description

Plan a UI page as a hand-drawn sketch, then build it for real. The person draws plain shapes (rect, ellipse, diamond, text, wireframe kinds such as button, input and card, arrows on a split/pack layout, on the project's grid) in a local studio, optionally tagging a shape with a component from the project's component catalog; the agent builds or changes the real page on a branch with the real component library, commits, and serves the running page beside the sketch; the person sends feedback and approves the commit and the sketch in one click; the agent hands off by path. Works for new pages an

How it works

  1. Commands
  2. The document in brief
  3. Workflow
  4. Rules
Original SKILL.md headings · 158 lines, 1,745 words
SKILL.md preview
---
name: wireframe
description: Plan a UI page as a hand-drawn sketch, then build it for real. The person draws plain shapes (rect, ellipse, diamond, text, wireframe kinds such as button, input and card, arrows on a split/pack layout, on the project's grid) in a local studio, optionally tagging a shape with a component from the project's component catalog; the agent builds or changes the real page on a branch with the real component library, commits, and serves the running page beside the sketch; the person sends feedback and approves the commit and the sketch in one click; the agent hands off by path. Works for new pages and for editing existing ones (sketched from their code). uv-only CLI. Use for "wireframe this page", "sketch the layout", "draft a screen", "change the layout of this page".
license: MIT
compatibility: Needs uv and git; the studio page ships prebuilt (no Node). `render` downloads Chromium on first use.
metadata:
  version: "1.0.0"
---

# Wireframe

A wireframe is a JSON **design document**: one or more artboards (a viewport, a theme, a
state), each laid out as panes and packing grids that hold plain shapes. It says what goes
where, not how it looks in code. The sketch never renders components: the real page, built by
the agent in the project's app, shows **beside** it in the studio. The skill is project- and
library-agnostic; what a repo knows about its screens lives in its own docs (a README, an AGENTS.md).

Files:

- `scripts/wireframe` — the CLI (`wireframe help`). It needs only `uv` and `git`: on first
  use it copies itself to `~/.cache/wireframe/` and runs its stdlib-only Python
  through uv. No Node or npm: the studio page is prebuilt. The skill folder is never modified.
- `schemas/design.schema.json`, `references/design-format.md` — **the document**: every field and rule
- `schemas/mapping.schema.json`, `references/mapping.md` — component catalogs: per library, its
  components, the shapes each fits, a summary, props as documentation; the Storybook importer
- `references/approval.md`, `schemas/approval.schema.json`, `schemas/feedback.schema.json` — the
  review loop: feedback, approval pinned to the commit and the sketch's hash, the hand-off
- `schemas/grid.schema.json`, `references/grid.md` — the project's grid (`grid.json`): the columns,
  row unit, spacing scale and pane widths every design keeps; off-grid values are validate errors
- `examples/dashboard/design.json` — a dashboard using the basic shapes, both layouts, arrows and
  tags from `examples/libraries/ui.json` (a generic catalog)
- `ui/` — the studio page, prebuilt (its source is `apps/studio` in the wireframe repository)
- designs: `<repo>/.wireframe/<name>/design.json`, one folder per design
- catalogs: `<repo>/.wireframe/libraries/<library>.json`, one per component library
- the grid: `<repo>/.wireframe/grid.json`, optional; without it no grid rules apply

Below, `wireframe` means `<this skill dir>/scripts/wireframe`. The project root is the git
toplevel; set `WIREFRAME_PROJECT_ROOT` to use another.

## Commands

```bash
wireframe new <name> [--page <path>]   # one empty desktop artboard; --page: the existing page it edits
wireframe validate <name>   # the design and every catalog: exit 0, or exit 1 with one line per problem
wireframe path <name>       # the design's folder
wireframe serve [--port 4180] [--app <loopback url>] [<name>]   # the studio, on http://127.0.0.1:<port>/
wireframe render <name> [--out DIR]   # one PNG per artboard (default .wireframe/local/<name>/)
wireframe import storybook --library <id> (--path <built storybook dir> | --url <loopback url>)
wireframe wait <name> [--timeout 30m]   # until the person acts: exit 0 approved, 10 open feedback, 4 timeout
wireframe feedback <name> [--all] [--json]   # the person's open notes (--all: addressed too)
wireframe feedback <name> --resolve <id>|all [--reply "<text>"]   # mark notes addressed
wireframe approve <name> [--as <who>]   # approval.json: HEAD commit + one sha256 over the sketch
wireframe status <name>     # exit 0 approved, 1 edited after approval (commit and/or sketch), 3 not approved
wireframe handoff <name> [--ticket <ref>] [--dry-run]   # the hand-off: path, page, commit, hash
```

A name is lowercase letters, digits, `-` and `_` (`libraries` is reserved). `new` never
overwrites; `--page` takes the repo-relative path of the page's source file, which must exist.
`validate` also takes a path to a `design.json`; it only reads, never rewrites.

**The studio.** `serve` prints a loopback URL (in a remote workspace, forward the port). The page
draws the sketch like a whiteboard, in each artboard's theme, and the person edits it on the canvas:
drags shapes in from a palette of every kind (or draws a box on a grid's empty cells), drags a shape
into another cell, grid or pane, resizes it from any edge or corner in whole cells, reorders a pane by
its header tab, drags dividers, double-clicks to type a label, and uses the bar on the selection to tag
it with a catalog component that fits (the tag shows beside the label), split or delete. A collapsed
details panel holds the pane size, the grid settings and the theme. With `grid.json` every drag, divider
and setting stays on the project's grid. Every edit autosaves to `design.json`
after the same checks as `validate`; an invalid edit is refused and the file left as it was. If
the file changed on disk meanwhile, the studio reloads it, so you and the person can take turns.
With `--app <url>` (the project's dev server: http(s) on 127.0.0.1, ::1 or localhost, else exit 2)
the studio shows the running page beside the sketch, at the artboard's width, with the commit it
is at, or "uncommitted changes" while the worktree is dirty.

**Stills.** `render` screenshots each artboard's sketch with headless Chromium through a pinned
Playwright that uv fetches (Chromium downloads on first use; `WIREFRAME_INSTALL_CHROMIUM=0`
refuses). Stills are media for questions only: approval is the commit and the hash, never a picture.

## The document in brief

```json
{"schema_version": 1, "name": "demo", "artboards": [{
  "id": "desktop", "viewport": {"width": 1440, "height": 900},
  "theme": "dark", "state": {"id": "default"},
  "root": {"id": "root", "layout": {"type": "split", "direction": "row"}, "children": [
    {"id": "nav", "pane": {"px": 240}, "shape": "rect", "label": "Navigation",
     "layout": {"type": "pack", "cols": 1, "row": 40}, "children": []},
    {"id": "body", "pane": {"fr": 1}, "layout": {"type": "pack", "cols": 12, "row": 40, "gap": 16}, "children": [
      {"id": "title", "shape": "text", "text": "Overview", "style": "heading", "cell": {"col": 1, "row": 1, "w": 6, "h": 1}},
      {"id": "save", "shape": "rect", "label": "Save", "component": {"library": "ui", "id": "button"},
       "cell": {"col": 11, "row": 1, "w": 2, "h": 1}}]}]}}]}
```

- **Artboard:** `viewport` (240–7680 × 240–4320 px), `theme` (`dark` or
  `light`), `state` (`{id, label?}`: `empty`, `loading`, …).
- **Layout:** a **split** divides its box into 1–12 panes (`{px}` or `{fr, min?}`, at least one
  `fr`); a **pack** is a grid of `cols` columns and `row`-px rows, each child in a 1-based
  `cell {col, row, w, h}`, never overlapping. Containers nest up to 8 deep.
- **Shapes:** `rect`, `ellipse`, `diamond` (optional one-line `label`), `text` (`text`, optional
  `style`), and the wireframe kinds `button`, `input`, `image`, `icon`, `avatar`, `divider`,
  `checkbox`, `toggle`, `text-lines`, `card` (optional `label`); a container's outline is `rect` or
  `card`. **Arrows** in the artboard's `arrows` list join two nodes or points.
- **Grid:** with the project's `grid.json`, pack `cols`, `row`, `gap`, `padding` and `px` panes
  must be on it ([grid.md](references/grid.md)); `new` starts on it.
- **Tag:** a leaf shape may carry `"component": {"library", "id"}`, a hint naming a catalog
  component that fits it. Nothing else: no props on shapes.
- **Page:** optional top-level `page`, the repo-relative source path of the page the design edits.
- **Ids** are stable and unique across the document: keep them through every edit.

Positions and sizes are never stored: the studio derives them from the layout and the viewport.

## Workflow

1. **Understand the screen.** Read the request (a ticket, an issue, the person's words) and the project's docs. Find the project's
   component library and its catalog (`.wireframe/libraries/`). No catalog yet: write
   one from the library's docs or types, or `wireframe import storybook` and fill in labels and
   shapes ([mapping.md](references/mapping.md)). Never put a project's components in the skill.
2. **Start the design.**
   - **New page:** `wireframe new <name>`. **The person draws the sketch** in the studio; draft
     one yourself only when they ask.
   - **Edit an existing page:** `wireframe new <name> --page <path of its source file>`, then
     **sketch the page as it is today from its code**: read its template and components, and
     write `design.json` by hand: panes and pack grids for its layout, one shape per component,
     each with a readable id (`filter-tabs`, not `n12`), a short label and the component tag when
     the component is in the catalog. No screenshots. CSS off the project's grid (a 10px gap on a
     4/8/12 scale): write the nearest allowed value and name each rounded value in the thread or
     your report ([grid.md](references/grid.md)). Validate, then the person edits the sketch.
3. **Validate** after each edit of yours: `wireframe validate <name>`. Each line names the node
   id, the problem and its JSON Pointer, e.g.
   `error: save: button fits rect, not diamond (/artboards/0/root/children/1/children/1/component/id)`.
4. **Build the page for real**, on a branch, with the project's real component
   library: use the tagged component for a tagged shape, your pick from the catalog for the rest.
   For an existing page, change it to match the edited sketch. When the page needs data the
   workspace can't provide (a backend, a login), write realistic **sample data into the app** in
   the project's usual way (a mock module, a sample-data file), never production data. **Commit.**
5. **Review together:** run the project's dev server and `wireframe serve <name> --app <its url>`
   in the background, give the person the studio URL, then run `wireframe wait <name>` in the
   foreground. They compare the running page with the sketch, edit the sketch, send **Feedback**
   (a note, optionally about the selected shape) or **Approve**.
6. **Address feedback:** `wait` exits **10** and prints the open notes. Change the page (and the
   sketch if asked), commit, then mark each note addressed with a short reply the person sees:
   `wireframe feedback <name> --resolve <id> --reply "…"`. Run `wait` again until it exits **0**.
   Approve pins the branch's HEAD commit and one sha256 over `design.json` and the catalogs its
   tags use, with the machine's git user as the approver (a claim, not an authentication). It is
   disabled while the worktree has uncommitted changes outside `.wireframe/`. A later commit or
   sketch edit shows as **edited after approval** in the studio and `wireframe status`, naming
   which. On exit **4** (timeout), ask the person ([approval.md](references/approval.md)).
7. **Hand it over:** `wireframe handoff <name> [--ticket <ref>]` writes the hand-off naming the
   design's folder, the page (when set), the commit, the hash, the approver and the time. With a
   `[handoff] command` in `.wireframe/config.toml` (e.g. `gh issue comment "$1" --body-file
   "$WIREFRAME_HANDOFF"`) it runs it once; without one it prints the text for you to pass on
   (`--dry-run` shows it first). It refuses (exit 1, runs nothing) unless the design validates,
   is approved at the current commit and hash, and has no open feedback. It never commits or
   moves a ticket ([approval.md](references/approval.md)).

## Rules

- Never store coordinates or sizes on shapes; change panes and cells instead.
- Labels are plain text, one line, at most 160 characters; `text` may have line breaks.
- The sketch is shapes only: real components appear only in the running page, never in the sketch.
- Unknown fields are errors: the schema is the contract, and the CLI enforces it.
- Designs and catalogs are project data, not skill data: they live in the consuming repo.
  `approval.json` and `feedback.json` are the reviewer's runtime files: never commit them.
- Never approve for the person: they approve in the studio. `approve --as` is only for acting
  on their explicit word, and for tests. Never resolve a note you haven't addressed.
Files in this package (35)
  • SKILL.md 12 KB
  • examples/dashboard/design.json 4 KB
  • examples/libraries/ui.json 2 KB
  • references/approval.md 10 KB
  • references/design-format.md 6 KB
  • references/grid.md 4 KB
  • references/mapping.md 7 KB
  • schemas/approval.schema.json 2 KB
  • schemas/design.schema.json 8 KB
  • schemas/feedback.schema.json 2 KB
  • schemas/grid.schema.json 2 KB
  • schemas/mapping.schema.json 4 KB
  • scripts/approval.py 14 KB
  • scripts/design.py 23 KB
  • scripts/feedback.py 6 KB
  • scripts/grid.py 7 KB
  • scripts/mapping.py 11 KB
  • scripts/render.py 3 KB
  • scripts/serve.py 13 KB
  • scripts/shoot.py 3 KB
  • scripts/storybook.py 8 KB
  • scripts/wireframe 2 KB
  • scripts/wireframe.py 25 KB
  • ui/.source-hash 1 KB
  • ui/index.html 1 KB
  • ui/assets/caveat-latin-400-normal-BU5fPzN2.woff 59 KB
  • ui/assets/caveat-latin-400-normal-Cpea_MUX.woff2 48 KB
  • ui/assets/caveat-latin-700-normal-CVUj8z8z.woff 61 KB
  • ui/assets/caveat-latin-700-normal-Cd46LEPQ.woff2 50 KB
  • ui/assets/index-DhOPadUT.js 212 KB
  • ui/assets/index-DhdQOq3H.css 19 KB
  • ui/assets/inter-latin-400-normal-C38fXH4l.woff2 23 KB
  • ui/assets/inter-latin-400-normal-CyCys3Eg.woff 30 KB
  • ui/assets/inter-latin-600-normal-CiBQ2DWP.woff 31 KB
  • ui/assets/inter-latin-600-normal-LgqL8muc.woff2 24 KB

Versions

RepositoryScoreLicence
This page · kurtstohrer/wireframe100MIT
paperclipai/paperclip100MIT
bendrucker/claude100MIT
teezeit/wiremd100MIT
event4u-app/agent-config90MIT
manalkaff/opendesign90MIT
yesith0106/craft3d87MIT

Database snapshot: 13.11.2026 · package version 7617e1de4608 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100local-wireframe-sketch-bc2b641e
    A hand-drawn wireframe exploration — graph-paper background, marker / pencil tone, multiple tab labels for variants, sticky-note annotations, scribbled chart placeholders, hatched fills. Reads like a designer's whiteboard before any pixels are committed. Use when the brief asks…
  • 90wireframe-spec
    Specify wireframe layout — content priority, component placement, and annotation. Use when defining structure before visual design. For grid mechanics, use `layout-grid` (ui-design).
  • 100wireframe-sketch
    A hand-drawn wireframe exploration — graph-paper background, marker / pencil tone, multiple tab labels for variants, sticky-note annotations, scribbled chart placeholders, hatched fills. Reads like a designer's whiteboard before any pixels are committed. Use when the brief asks…
  • 100generate-wireframe
    Generates a high-quality wireframe as a single-page HTML file showing all screens, their spatial layout, and navigation flow. The wireframe establishes screen structure, component placement, and information hierarchy with production-grade visual design powered by the…
  • 100draft-wireframe
    Wireframe a screen — text/ASCII by default, or hand-drawn HTML when the user says "sketch", "hand-drawn", "lo-fi HTML", "whiteboard", "graph paper", or "visual wireframe". Text mode produces a buildable ASCII spec Form and Prism can act on. HTML mode produces a single…
  • 90wireframe-reviewer
    Use when reviewing or critiquing an existing website wireframe, landing page, or page structure for any niche or business — when you need structured feedback on narrative flow, visual hierarchy, clarity, and conversion path, plus concrete fixes per section. For building a new…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.