# Design from app

> Design from app is an open-source agent skill for design and media. Rebuilds a reference app's look as a native SwiftUI design kit, measured from screenshots. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/daveebbelaar/bama/tree/main/skills/design/design-from-app
- **Repository:** https://github.com/daveebbelaar/bama
- **GitHub stars:** 2,009
- **License:** MIT
- **Skill name:** design-from-app
- **Collection:** https://github.com/daveebbelaar/bama
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-01

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Swift scripts](https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/design-from-app)
- [No network calls found in its scripts](https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/design-from-app)
- [License: MIT](https://github.com/daveebbelaar/bama/tree/HEAD/skills/design/design-from-app)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

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

## Alternatives

- [Design kit](https://ai-powered.com/skills/design-kit): Design kit is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-daveebbelaar): Design system is an open-source agent skill for design and media.
- [Design](https://ai-powered.com/skills/design-toss): Design is an open-source agent skill for design and media.
- [UX design](https://ai-powered.com/skills/ux-design): UX design is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-smartworldarafath): Design system is an open-source agent skill for design and media.
- [Tastemaker](https://ai-powered.com/skills/tastemaker-codeswithroh): Tastemaker is an open-source agent skill for design and media.
- [Screenshot optimization](https://ai-powered.com/skills/screenshot-optimization): Screenshot optimization is an open-source agent skill for marketing and seo.
- [Anti UI slop](https://ai-powered.com/skills/anti-ui-slop): Anti UI slop is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/design-from-app
