ui-prototyping

ui-prototyping is a skill for Claude Code from rshankras/claude-code-apple-skills. It costs 21 tokens per session (2,514 once invoked), scanned A, original, MIT.

A SwiftUI prototyping guide for exploring several named interface layouts before choosing one. SwiftUI is Apple’s toolkit for building app screens in code.

In plain words
What is it for?
Use it to create and compare multiple directions for a screen, test specific requested features, and choose a layout before detailed implementation planning.
Why use it?
It prevents an early, arbitrary layout from locking in unwanted features or making later design changes harder.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the apple-skills plugin — 147 skills shipped together , and of apple-skills

Good fit Use it to create and compare multiple directions for a screen, test specific requested features, and choose a layout before detailed implementation planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rshankras/claude-code-apple-skills/ui-prototyping
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rshankras/claude-code-apple-skills --skill ui-prototyping
Clone the repo
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills

Made for: Claude Code.

Or install apple-skills, the plugin that ships this one along with the rest of its 147 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-prototyping

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/ui-prototyping/github.svg)](https://agentmods.dev/skills/rshankras/claude-code-apple-skills/ui-prototyping)
Your own site
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/ui-prototyping"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/ui-prototyping/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-prototyping

Your own site · 80×15
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/ui-prototyping"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/ui-prototyping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.02514
Opus 5 $0.00010 $0.01257
Sonnet 5 $0.00004 $0.00503
Haiku 4.5 $0.00002 $0.00251

Measured 10d ago against content hash 771ae3453cd6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ui-prototyping scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/design/ui-prototyping/SKILL.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI Prototyping Skill

Task lists and specs commit you to one layout before you've seen the alternatives. The cost is quiet but large: you anchor on the first arbitrary structure an agent guessed, then spend the rest of the phase fighting feature creep around it. This skill front-loads divergent exploration — many real, named SwiftUI variations you flip between in Xcode's canvas — so the layout you carry into /apple:plan is one you chose, not one you defaulted into.

Agents are collaborators, not designers. You always have final say. Go wide, remix, repeat.

Why this exists (the trap it removes)

A vague prompt — "make a UI for a book club" — produces one arbitrary layout, silently guesses at features you never asked for (polling? a photo gallery?), and anchors you on a flawed start. By the time you've bent it to the features you do want, it looks clunky and inelegant. Three disciplines remove the trap, and this skill enforces all three:

Discipline What it means What it prevents
Specificity Bake the exact features in; nothing extra Feature creep, arbitrary navigation elements
Stylistic intent Name the mood — warm coffee-shop palette? paper & typography? clean editorial? Point-of-view-less, generic layouts
Multiplicity Ask for many divergent options at once Anchoring on the first guess

Early is your only cheap chance to explore wide. Spend it.

Input

  • .planning/APP.md — features, audience, platform. The feature list is exactly what you bake into every variation.
  • Optional target screen (arg). If none, prototype the primary screen implied by <mvp-features>.
  • If APP.md is missing, that's fine — elicit the essentials first via AskUserQuestion (this is the novice front door): the one screen, its 3–5 must-have features, the mood, and 0–2 reference apps. You do not need to know how to write the "good prompt" — the skill assembles it from your answers.

The method — go wide → remix → make lived-in → tune

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 114 lines · 21 tokens per session scan A 771ae3453cd6

Subscribe to this mod's changes

ui-prototyping is a skill published in the GitHub repository rshankras/claude-code-apple-skills (713 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 2,514 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

apple-hig-ux

Apple-platform design and UX judgment — what a good iOS/iPadOS/macOS/watchOS/visionOS app FEELS like. Use whenever designing app screens or flows, answering Human Interface Guidelines (HIG) questions, judging "does this feel native", running a UX review of an Apple-platform app, choosing navigation patterns (tabs vs…

Dev869/swift-tothemax · 164 tokens

swift-accessibility-pro

Use when making SwiftUI/UIKit apps accessible — VoiceOver labels and traits, Dynamic Type, color contrast, Reduce Motion, and accessibility testing.

laxrajpurohit/swift-skills-pro · 33 tokens

mobile-design

Mobile UX patterns, touch interactions, gesture design, mobile-first principles, app navigation, and mobile performance.

manutej/luxor-claude-marketplace · 23 tokens

liquid-glass

Build iOS 26+ SwiftUI interfaces with Apple's Liquid Glass design language. Use when writing SwiftUI for iOS 26 / iPadOS 26 / macOS Tahoe (26) / watchOS 26 / tvOS 26 / visionOS 26, when the user mentions Liquid Glass, .glassEffect, GlassEffectContainer, iOS 26 design, glass material, glass button, or asks to redesign…

heyparsadev/liquid-glass-skill · 105 tokens

android-development

Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.

travisjneuman/.claude · 33 tokens

ios-development

Comprehensive guide for building native Apple platform applications.

travisjneuman/.claude · 43 tokens