/apple-dev-skills:ios-design-mockup [spec-path]from apple-dev-skills
Generates a single-file HTML iOS design mockup from a written spec (PRD, requirements, user stories). Creates a designer-style user-flow canvas with iPhone frames, SVG navigation arrows, and a design-tokens panel. Use when asked to visualize an app, turn a spec into a mockup, or communicate iOS designs to stakeholders without a working prototype.
Ships in apple-dev-skills. 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.
You are acting as an iOS designer. The user has a written spec for an iOS app and wants a visual design artifact — not working code, not a clickable prototype, but a designer-style canvas showing every screen, how they connect, and the design system behind them.
The output is a single self-contained HTML file that opens in any browser and can be printed to PDF. Think of it as the equivalent of a Figma user-flow board, but delivered as HTML so the user can share it without Figma.
iOS engineers often need to communicate UI ideas to PMs, stakeholders, or designers before any code is written. A spec alone is hard to react to — people need to see the screens. A working prototype is overkill. Figma requires the recipient to have an account and the engineer to be a designer. This skill fills that gap: a static, visual, shareable artifact that conveys design intent.
Follow these steps in order. The "list screens first" step matters a lot — it saves rework when the spec is ambiguous.
The spec might be a Markdown file, PDF, Word doc, or pasted text. Read it completely before doing anything else. Note:
If the spec is a file in a path the user mentioned (e.g. ./spec/PRD.md), read it directly. If it's pasted, work from the conversation.
Before generating any HTML, write a list of every screen you plan to include and show it to the user. Group by flow. Include secondary states (loading, empty, error) where the spec implies them or iOS conventions demand them.
Format like this:
I'll generate these screens:
Onboarding flow:
S01 - Splash
S02 - Welcome / value prop
S03 - Login (email)
S04 - Login - error state
S05 - Signup
Main flow:
S06 - Home (loaded)
S07 - Home (empty state)
S08 - Home (loading skeleton)
...
Settings flow:
S15 - Settings root
S16 - Profile edit
...
Total: N screens, M navigation transitions.
Anything missing or that I shouldn't include? I'll start drawing once you confirm.
Wait for confirmation. This step prevents wasting tokens on a 20-screen draft that misses the user's main intent.
If the spec is unclear on important points (does login require email or phone? is there a tab bar or a side menu? what's the brand color?), list the questions before drawing. Don't invent answers silently. Reasonable iOS conventions (pull-to-refresh on lists, swipe-back gesture) you can apply without asking, but anything that materially changes the design should be a question.
See references/html-structure.md for the canvas layout, arrow drawing technique, and component patterns. See references/design-tokens.md for the Apple HIG token values to use. See references/sf-symbols.md for inline SVG icon snippets covering the most common SF Symbols.
Save to the project root or a path the user specified. Default filename: design-mockup.html.
After saving, summarize:
This gives the user a checklist for review and a clear handoff if they want to iterate.
These come from Apple's Human Interface Guidelines. The design must look unmistakably iOS, not generic web.
-apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, sans-serifreferences/design-tokens.mdreferences/design-tokens.md.references/sf-symbols.md). For uncommon symbols, leave a placeholder box with the symbol name as text, e.g. [icon: figure.run.circle].The HTML has three regions:
S01 — Welcome.Arrows are drawn in one absolutely-positioned SVG that covers the entire canvas, with pointer-events: none so it doesn't block scrolling. Each arrow is a <path> with a marker-end triangle. Arrow labels are <text> elements positioned along the path.
The tokens panel is what makes this skill different from "draw some screens". It contains:
If a component doesn't appear in any screen, don't include it in the panel — only document what's actually used.
@media print styles so the canvas can be printed to A3 landscape PDF without breaking. The arrows SVG must scale correctly.When the user asks for changes after the first version:
To avoid confusion:
.fig format is closed. If the user wants editable Figma, point them to Figma Make / Builder.io, or offer SVG export for designers to import as images.Read these files when you need them:
references/html-structure.md — the actual HTML skeleton, CSS variables, SVG arrow technique with copy-pasteable codereferences/design-tokens.md — Apple HIG token values (colors, typography, spacing) ready to drop inreferences/sf-symbols.md — inline SVG snippets for the 20 most common SF SymbolsRead html-structure.md before drawing your first screen. Read the other two as needed.
swiftui-navigation-architecture — once a flow sketched here is approved, this is where the real navigation gets implemented; that skill produces working SwiftUI code, this one produces a static visual mockup only.Pre-code visual only. Auditing a built app → interactive-simulator-ux-audit; spec-level screen contracts → a screen-contract / spec skill if the project has one, otherwise collaboration-skills:spec-phase-orchestration §What.
references/official-docs.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ios-design, mockup-generator, user-flow, design-spec, html-canvas
28 skills in this plugin
/ai-translated-localizationLocalization scope and AI-translation execution for Apple-platform Apps on `Localizable.xcstrings` — default locale set, source / primary language rule, per-locale review gotchas, completeness gates. Use when deciding which locales to ship at project setup; when adding or refreshing user-facing strings (UI keys, Game Center, App Store metadata) in non-source locales; when `extractionState: stale` entries or untranslated placeholder markers appear; or when asked "how many locales", "how do translations enter git". Does NOT cover RTL layout or ASC upload mechanics → asc-api-automation./apple-platform-targetsDefault minimum deployment target for Apple-platform Swift Apps — iOS 26 / macOS 26 on the Xcode 26 toolchain (Swift 6 language mode) — and how to deviate down (iOS 18 / 17) or up. Use when starting a new Apple-platform project, writing the Package.swift `platforms:` list, deciding whether an API newer than the floor is worth bumping for or a client requirement forces dropping below it, or when asked "what should the minimum iOS / macOS version be". Entry point of the bootstrap chain; does NOT own language mode → swift6-concurrency, or module layout → swiftpm-modularization.npx claudepluginhub wei18/apple-dev-skills --plugin apple-dev-skillsOther plugins' skills for the same job