SwipeUI
DocsAI & MCP

Design skill

The swipeui-design skill teaches agents to build mobile screens with your tokens, presets and SwipeUI items.

The skill follows the open Agent Skills format, so it works in Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and other agents that support skills. It's free and MIT-licensed.

What it adds to your repo

Everything the skill writes is a normal file you commit and review.

FileWhat it holds
DESIGN.mdYour tokens, type, spacing and the reasons behind them
.swipeui/profile.jsonYour mobile design profile: preset, motion feel, density, haptics, preferred tab bar, header and sheet, and preferred variants
.swipeui/generated.jsonWhich files the skill generated, from which items, at which commit

The skill asks before it changes your profile.

Workflows

  • build (the default for UI requests): reads your profile, finds items through the MCP server, installs them with the CLI, wires them in, runs the audit and fixes what it reports.
  • audit: checks a screen for raw colours, spacing and radii off the scale, missing safe areas, small touch targets, unlabelled icon buttons and hard-coded motion.
  • init: for an existing app, reads your theme and code and proposes a profile and the closest preset; for a new app, asks a few questions instead. Nothing is written until you approve it.
  • learn (only when you ask): compares generated files with your edits and proposes preferences, such as "prefers tighter list rows".

What's inside

  • SKILL.md: the entry point, with its workflows and rules.
  • INSTRUCTIONS.md: a few always-on rules you can paste into AGENTS.md, CLAUDE.md or Cursor rules.
  • references/: design, motion, composition, copy, accessibility, layout and platform notes, loaded only when a task needs them.
  • scripts/: the extract, audit and learn scripts, each a single file with no install step.

Rules the skill follows

  • Use your profile's tokens and never raw values.
  • Install SwipeUI items rather than writing new UI from scratch.
  • Never invent props or APIs.
  • Run the audit before finishing.

Privacy

The skill runs locally. It only contacts the registry through the MCP server and the CLI, and it has no telemetry.

On this page