Skip to content
Skill

Design from app

Rebuilds a reference app's look as a native SwiftUI design kit, measured from screenshots

Design from app is an open-source agent skill for design and media. It is available on Claude Code.

Scripts
Swift
Platforms
Claude Code
GitHub stars
2K
Last commit
License
MIT
Listing updated

Similar skills

About Design from app

This skill takes screenshots of an app the user admires and reproduces its visual system in SwiftUI. It walks the agent through collecting window-only 2x captures, listing every distinct interface part, and filling a design spec with measured sizes, spacing, type, colors and icon details rather than estimates.

The workflow relies on two bundled Swift scripts. One measures positions, text heights, row pitch and colors from a screenshot, and the other produces side-by-side and diff images plus the percentage of pixels that differ. The agent uses these to correct design tokens until the rebuilt screen matches the reference within a small tolerance, then builds the parts and a reference screen from them.

It expects macOS with Swift available to run the scripts, and it hands off the actual kit construction to a separate design-kit skill. Before anything is shared, the skill asks the agent to replace the reference company's name, logo, illustrations and any owned fonts or icons while keeping the structure and feel.

When your agent uses it

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".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (20 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the bama plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add daveebbelaar/bama
/plugin install bama@bama

Or copy only this skill to ~/.claude/skills/design-from-app:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/design-from-app &&
cp -R "$tmp/skills/design/design-from-app" ~/.claude/skills/design-from-app &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/design-from-app inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/design-from-app to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/design-from-app &&
cp -R "$tmp/skills/design/design-from-app" ~/.agents/skills/design-from-app &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/design-from-app inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/design-from-app to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/design-from-app &&
cp -R "$tmp/skills/design/design-from-app" ~/.cursor/skills/design-from-app &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/design-from-app inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/daveebbelaar/bama.git --path skills/design/design-from-app

Or copy the folder to ~/.gemini/skills/design-from-app yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/design-from-app:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/daveebbelaar/bama.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/design-from-app &&
cp -R "$tmp/skills/design/design-from-app" ~/.copilot/skills/design-from-app &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/design-from-app inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/daveebbelaar/bama.git

Then copy bama/skills/design/design-from-app into your agent's skills folder as design-from-app. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Screenshot measurement
Uses a Swift script to read window size, sidebar widths, row positions and colors from captures.
Pixel comparison
Produces side-by-side and diff images and the share of differing pixels against the reference.
Parts inventory
Breaks a screen into named parts such as rows, headers, toolbars and icon buttons.
Font and icon matching
Identifies the typeface and matches icons with SF Symbols or drawn shapes.
Design kit build
Turns measured tokens into a SwiftUI kit with a gallery and one matching reference screen.
Brand replacement step
Lists logos, names and owned assets to swap out before the design is reused.

Good for

  • Recreate the look of a favorite Mac app in SwiftUI
  • Match a sidebar and list layout from a screenshot
  • Build a design system from measured reference screenshots
  • Check a SwiftUI screen against a reference image pixel by pixel

Design from app FAQ

What does the skill need to run?

It runs Swift scripts from the skill folder, so Swift must be available, and it expects 2x window-only screenshots saved in design/reference/.

What does Design from app change in a project?

It creates a design/KIT.md spec and builds design kit tokens, parts, a gallery and one reference screen in SwiftUI.

When does Design from app trigger?

When the user names an app whose look they want, shares screenshots of one, or asks to make something look like another app.

Does Design from app copy the original app's branding?

The skill asks the agent to replace the reference app's name, logo, illustrations and owned fonts or icons before sharing the result.

How do I install Design from app in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/design-from-app to use it in all your projects, or to .claude/skills/design-from-app in one project. Or install the bama plugin, which includes it: /plugin marketplace add daveebbelaar/bama, then /plugin install bama@bama.

Does Design from app run scripts?

Yes. It runs Swift scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Design from app?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Design from app?

The closest alternatives to Design from app are Design kit, Design system, Design, UX design and Design system.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from daveebbelaar/bama

  1. Gives a macOS app a CLI and optional MCP server so agents can drive it

    • Open source
    • 2K GitHub stars
    • Developer tools
  2. Runs a架构 check-in on a growing Swift app and refactors it in proven steps

    • Open source
    • 2K GitHub stars
    • Developer tools
  3. Guides a native macOS app through system entry points and their required permissions

    • Open source
    • 2K GitHub stars
    • Developer tools
  4. Measure and speed up a macOS app's hangs, stutter, memory and energy use

    • Open source
    • 2K GitHub stars
    • Developer tools
  5. Swift 6 and SwiftUI rules for macOS apps: concurrency, state, SwiftData and fixes

    • Open source
    • 2K GitHub stars
    • Developer tools
  6. Guides an agent to build a Liquid Glass macOS app icon as an Icon Composer file

    • Open source
    • 2K GitHub stars
    • Design and media