/bawa:design-from-app <app name or screenshot paths>from bawa
Rebuilds an app's visual design as a WinUI 3 design kit by measuring screenshots pixel-by-pixel. Use when the user names an app whose look they want or says "make it look like X".
Ships in bawa. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Look at an app, measure it, and rebuild its design system in WinUI 3. The
result is a design kit (design-kit skill) with the reference app's
numbers, and one reference screen that matches the screenshot.
Guessing gets close. Measuring gets it right. Two scripts do the measuring, next to this skill:
scripts/measure.ps1: sizes, positions, text heights, and colors from
a screenshot.scripts/compare.ps1: a side-by-side, a diff, and the share of pixels
that differ.Run them with & "${CLAUDE_SKILL_DIR}/scripts/measure.ps1" .... They run
in Windows PowerShell 5.1 and in pwsh 7. All coordinates are epx: pixels
divided by the display scale. -Scale sets it (1.25 at 125%). A BAWA
snapshot writes its scale into <page>-<mode>-layout.json, and both
scripts read it from there when you leave -Scale out.
Ask for screenshots, or take them with the clone skill. You need:
design/reference/.measure.ps1 info shot.png -Scale <display scale>.Check: info prints the window size in epx, and every screenshot uses
the same scale.
Look at each screenshot and name every distinct part: title bar, sidebar
row, section header, primary action, list row, checkbox, date chip, icon
button, divider. Start design/KIT.md from the design-kit skill's
kit-spec.md with one section per part.
Check: every visible element on the main screenshot belongs to a part.
Fill design/KIT.md with numbers, not estimates. The recipes and the
traps are in measuring.md. In short:
| To find | Command |
|---|---|
| Sidebar width, panes | hline shot.png <y in an empty area> |
| Row positions and pitch | rows shot.png <x0> <x1> [y0 y1] |
| Left edges, gaps | cols shot.png <y0> <y1> [x0 x1] |
| Selection pill, dividers | vline and hline through it, -Tolerance 4 |
| Text and icon colors | ink shot.png x y w h |
| Surface colors | palette shot.png x y w h |
| A close look | crop shot.png x y w h out.png 4 |
Check: every token and every part size in design/KIT.md has a number
from a command.
PathIcon shapes (design-kit parts.md,
Icons).Check: design/KIT.md names the font, the icon source, and the icon size
and weight.
Call the Skill tool with design-kit and build the tokens, the parts, the
title bar, and the gallery from design/KIT.md. Then build the main
screenshot's screen from kit parts only, with the same data and the same
window size.
Check: a snapshot of that screen (tools/snap.ps1 -Pages <page>) has the
same size in pixels as the reference.
& "${CLAUDE_SKILL_DIR}/scripts/compare.ps1" design/reference/main.png "$env:TEMP\<App>-shots\<page>-light.png" "$env:TEMP\<App>-compare"
& "${CLAUDE_SKILL_DIR}/scripts/compare.ps1" ... "$env:TEMP\<App>-compare-sidebar" 0 0 320 300
Open side-by-side.png and diff.png with the Read tool. Then measure
the same rows, edges, and words in both images, and fix the tokens, not
the views. Order: window size, text sizes, columns and left edges, row
heights, colors, icons.
Check: under 2% of pixels differ on the whole window, and every row and left edge is within 1.5 epx of the reference.
Before the app ships to anyone else, replace what belongs to the other
company: its name, logo, illustrations, and any font or icon it owns.
Keep the structure, the spacing, and the feel. Write the replacements in
design/KIT.md.
Done when design/KIT.md has a measured number for every token and part,
the kit's gallery shows every part, the reference screen passes step 6,
and step 7 lists what was replaced.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub daveebbelaar/bawa --plugin bawa22 skills in this plugin
/agent-cliOptional command line and MCP server for a Windows app, so Claude Code, Codex, and scripts can drive it (list, add, change, search, act) through the running app. Use when the user wants agents to work with their app or its data, asks for a CLI, an MCP server, or automation for the app, or says "Claude should be able to use my app"./app-briefOne-page brief (docs/BRIEF.md) for a new Windows app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done./app-iconWindows app icon drawn as an SVG (Icon/AppIcon.svg), rendered by tools/make-icon.ps1 into a multi-size AppIcon.ico and AppIcon.png, and reviewed on light and dark taskbar and Start backgrounds, with hand-tuned small sizes. Use when the user wants an app icon, a better icon, or a taskbar or Start icon./bawaBuild any Windows app. Start here to pick the next skill for a native Windows app./build-and-verifyBuild a WinUI 3 app from the command line, install it, and check light and dark window snapshots of every page before calling a change done. Use after any UI code change, when a build fails, or when the user asks to run, screenshot, or check the app./cloneWalk through any existing app (native Windows app with computer use, web app with a browser), screenshot every screen, menu, and dialog, write a screen index, and turn it into user stories. Use when the user wants to clone, rebuild, replace, or copy the design of an app, or says "screenshot every screen".Other plugins' skills for the same job