Tooluck logoTooluck
SKILL.md

design-from-app

Agent skill fromdaveebbelaar/bama

Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".

How to install design-from-app

install design-from-app
# install the bama pack with the skills CLI
npx skills add daveebbelaar/bama

# or add only this skill to Claude Code: copy the folder

skills/design/design-from-app/

# into

~/.claude/skills/design-from-app/ (all projects)

.claude/skills/design-from-app/ (one project)

skills/design/design-from-app/SKILL.md

MITFull file
1# Design from app
2
3Look at an app, measure it, and rebuild its design system in SwiftUI. The
4result is a design kit (`design-kit` skill) with the reference app's
5numbers, and one reference screen that matches the screenshot.
6
7Guessing gets close. Measuring gets it right. Two scripts do the
8measuring, next to this skill:
9
10- `scripts/measure.swift`: sizes, positions, text heights, and colors from
11 a screenshot.
12- `scripts/compare.swift`: a side-by-side, a diff, and the share of pixels
13 that differ.
14
15Run them with `swift "${CLAUDE_SKILL_DIR}/scripts/measure.swift" ...`.
16All coordinates are points (pixels / 2 for a Retina capture).
17
18## 1. Get the screenshots
19
20Ask for screenshots, or take them with the `clone` skill. You need:
21
22- The window only, at 2x, no desktop. Save them in `design/reference/`.
23- One screen with the most parts on it (a sidebar, a list, a toolbar),
24 plus close-ups of menus, dialogs, and dark mode if they matter.
25- The window size: `measure.swift info shot.png`.
26
27Check: `info` prints the window size in points, and every screenshot uses
28the same scale.
29
30## 2. List the parts
31
32Look at each screenshot and name every distinct part: window chrome,
33sidebar row, section header, primary action, list row, checkbox, date
34chip, icon button, divider. Start `design/KIT.md` from the `design-kit`
35skill's kit-spec.md with one section per part.
36
37Check: every visible element on the main screenshot belongs to a part.
38
39## 3. Measure
40…

Excerpt shown under the repository's MIT license.

More skills in bama

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Leonxlnx /

taste-skill
113k

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

CCCXCU1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates