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.
npx skills add rshzrh/ui-design-skills --skill ui-iosgit clone --depth 1 https://github.com/rshzrh/ui-design-skillsWrote 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.
[](https://agentmods.dev/skills/rshzrh/ui-design-skills/ui-ios)<a href="https://agentmods.dev/skills/rshzrh/ui-design-skills/ui-ios"><img src="https://agentmods.dev/badge/skills/rshzrh/ui-design-skills/ui-ios/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.
<a href="https://agentmods.dev/skills/rshzrh/ui-design-skills/ui-ios"><img src="https://agentmods.dev/badge/skills/rshzrh/ui-design-skills/ui-ios.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.02246 |
| Opus 5 | $0.00051 | $0.01123 |
| Sonnet 5 | $0.00020 | $0.00449 |
| Haiku 4.5 | $0.00010 | $0.00225 |
Grade A, and why
ui-ios 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ui-ios — Slop-Free SwiftUI Skill
You are generating production-grade iOS UI in SwiftUI (iOS 17+) and Swift 5.9+. This skill exists because untouched LLMs produce AI slop: purple→pink LinearGradients, default centered VStack heros, three-card LazyVGrid features, magic numbers everywhere (.padding(13), .cornerRadius(7)), Inter on iOS, glassmorphism on every card, "Get Started" buttons, and the median of every SwiftUI tutorial scraped from GitHub. This skill replaces guesses with constraints.
The non-negotiable rule: NEVER use a buzzword in place of a token. Words like clean, modern, professional, sleek, premium are banned from your reasoning. Every aesthetic choice must trace back to a named anchor recipe in anchors.md and a value in Theme/Tokens.swift.
iOS adds a second non-negotiable: HIG mechanics are strict. 44pt minimum touch targets. SF Symbols only for system icons. Dynamic Type mandatory. Safe area respected. NavigationStack for navigation. .sheet / .fullScreenCover for modal presentation. Swipe-back gesture preserved. Brand has freedom over color, custom typography (with declared system fallback), accent, motion personality, and shape — not over the platform mechanics above.
Workflow (follow in order)
Step 0 — Project scan (decides bootstrap vs extend mode)
Before any other action, check for:
DESIGN_RULES.md # at repo root → if exists, you are in EXTEND mode
*/Theme/Tokens.swift # → if exists, you are in EXTEND mode
*/Theme/ThemeModifier.swift
.swiftlint.yml # check for custom slop rules
- If
DESIGN_RULES.mdexists: read it. Read the existingTokens.swift. Skip to Step 3 (Phase 2: UI). Use only existing tokens. NEVER add new colors/spacing/radii without asking. - If
Tokens.swiftexists but noDESIGN_RULES.md: read tokens, infer the closest matching anchor, ask the user to confirm the inferred anchor, then writeDESIGN_RULES.mdand proceed to Phase 2. - If neither exists: you are in bootstrap mode. Continue to Step 1.
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- anchors.md 11 KB
- ban-patterns.md 8.0 KB
- component-anatomy.md 9.7 KB
- copy-voice.md 5.6 KB
- icons-imagery.md 5.4 KB
- motion.md 4.6 KB
- templates/DESIGN_RULES.md.tmpl 3.8 KB
- templates/swiftlint.yml.tmpl 6.5 KB
- templates/ThemeModifier.swift.tmpl 2.1 KB
- templates/Tokens.swift.tmpl 6.5 KB
- verification.md 5.9 KB
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.
- 11d ago First seen · 109 lines · 102 tokens per session scan A 0a353a51232b
ui-ios is a skill published in the GitHub repository rshzrh/ui-design-skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 102 tokens to every session and 2,246 once invoked, about $0.0005 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-31.
Other skills, from other repositories
ios-accessibility
Production-grade iOS accessibility skill covering VoiceOver, Dynamic Type, color contrast, motion, Switch Control, Voice Control, and WCAG 2.2 compliance for both SwiftUI and UIKit. This skill should be used when creating new iOS screens or views, reviewing existing iOS code for accessibility, adding VoiceOver…
ui-mobile
Mobile UI patterns - React Native, iOS/Android, touch targets.
appllama-app-design-skill
Build native-feeling, benchmark-quality mobile app screens (Expo / React Native). Use when designing or implementing any mobile UI — screens, flows, onboarding, paywalls, tab bars, sheets, settings, empty states — or when polishing motion, navigation, typography, dark mode, or perceived performance. Enforces Apple HIG…
ss-audit
Audit screens for UX issues using Nielsen's heuristics and modern mobile UX best practices.
liquid-glass-design
Patterns for implementing Apple's Liquid Glass — a dynamic material that blurs content behind it, reflects color and light from surrounding content, and reacts to touch and pointer interactions. Covers SwiftUI, UIKit, and WidgetKit integration.
adapt
Responsive layout pass covering breakpoints, touch targets, safe areas, and fluid type. Use when the UI has layout or touch issues on mobile/tablet, when adding a new screen that hasn't been tested across viewports, or when the user says "make it responsive" / "fix mobile layout". Invoke when the user asks for adapt…