swiftui-design-engineering

swiftui-design-engineering is a skill for Claude Code, Codex from memi-design/design-skills. It costs 37 tokens per session (512 once invoked), scanned A, original, MIT.

A practical guide for designing and building SwiftUI interfaces, Apple's framework for creating app screens. It covers state, navigation, accessibility, previews, and checking the result in an iOS simulator.

In plain words
What is it for?
Use it to create, refactor, or review SwiftUI screens and their specifications. It helps define loading, empty, error, and populated states before verifying the screen in a simulator.
Why use it?
It helps keep screens maintainable and usable across different text sizes, themes, languages, and app states. It also reduces mistakes caused by unclear state ownership or untested layouts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to create, refactor, or review SwiftUI screens and their specifications. It helps define loading, empty, error, and populated states before verifying the screen in a simulator.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/memi-design/design-skills/swiftui-design-engineering
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 memi-design/design-skills --skill swiftui-design-engineering
Clone the repo
git clone --depth 1 https://github.com/memi-design/design-skills

Made for: Claude Code, Codex.

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 swiftui-design-engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/memi-design/design-skills/swiftui-design-engineering/github.svg)](https://agentmods.dev/skills/memi-design/design-skills/swiftui-design-engineering)
Your own site
<a href="https://agentmods.dev/skills/memi-design/design-skills/swiftui-design-engineering"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/swiftui-design-engineering/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 swiftui-design-engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/memi-design/design-skills/swiftui-design-engineering"><img src="https://agentmods.dev/badge/skills/memi-design/design-skills/swiftui-design-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 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.
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.00037 $0.00512
Opus 5.5 $0.00015 $0.00205
Sonnet 5.5 $0.00007 $0.00102
Haiku 4.5 $0.00004 $0.00051

Measured 2mo ago against content hash a1a568a24797, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

swiftui-design-engineering 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 2mo 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/swiftui-design-engineering/SKILL.md · 36 lines

How it starts

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

SwiftUI Design Engineering

Use this workflow when the deliverable is SwiftUI source, an iOS screen specification, or a review of an existing Apple-platform interface.

Workflow

  1. Inspect the project before choosing APIs: deployment targets, Swift language mode, nearby views, navigation ownership, dependency injection, test targets, and asset/token conventions.
  2. Write the screen contract first: user goal, states, navigation, data ownership, platform availability, Dynamic Type behavior, VoiceOver order, reduced-motion behavior, and acceptance checks.
  3. Reuse local components and semantic assets. Do not invent parallel button, card, spacing, color, or typography systems.
  4. Keep state at the narrowest owner. Prefer value state for local UI, explicit inputs for feature dependencies, and environment injection only for genuinely shared services.
  5. Compose small views around stable identities. Keep networking, persistence, formatting, and routing out of expensive body paths.
  6. Add previews or fixtures for loading, empty, populated, error, large text, dark appearance, and right-to-left layout when relevant.
  7. Build and test the smallest target, then run the critical simulator flow. Record commands and outcomes in the handoff.

Design contract

  • Use semantic system colors and asset catalog names, not raw repeated literals.
  • Treat Dynamic Type, safe areas, keyboard avoidance, localization, and orientation as layout inputs.
  • Use native controls before custom gestures. Preserve standard navigation, focus, selection, and dismissal behavior.
  • Give every interactive control an accessible name and at least a 44 by 44 point practical hit region.
  • Gate newer APIs with explicit availability and a behaviorally equivalent fallback.
  • Do not claim a preview, build, test, or simulator flow passed unless it ran.

Load on demand

Read references/verification.md for the state matrix, source organization, and verification receipt.

Route custom Shader, colorEffect, distortionEffect, layerEffect, Metal, dithering, or GPU-effect work through shader-design-engineering. Use creative-rendering-audit when the outcome is a scored, evidence-backed rendering review.

Read the full file on GitHub · 36 lines

Files

What ships with it

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

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. 2mo ago First seen · 36 lines · 37 tokens per session scan A a1a568a24797

Subscribe to this mod's changes

swiftui-design-engineering is a skill published in the GitHub repository memi-design/design-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 512 once invoked, about $0.0001 per session on Opus 5.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-09-03.

Related

swiftui-design-engineering compared with skills from other repositories

swiftui-design-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
swiftui-design-engineeringmemi-design/design-skillsSkill71mo agoMITA37Claude Code, Codex
swiftui-native-firsttroyjthomas/ios-agent-skillsSkill25mo agoMITA65Claude Code, Codex
uikit-bridgingtroyjthomas/ios-agent-skillsSkill25mo agoMITA70Claude Code, Codex
dark-mode-legibilitytroyjthomas/ios-agent-skillsSkill25mo agoMITA84Claude Code, Codex
pixel-and-stroke-geometrytroyjthomas/ios-agent-skillsSkill25mo agoMITA104Claude Code, Codex
polish-and-refinementtroyjthomas/ios-agent-skillsSkill25mo agoMITA80Claude Code, Codex
app-store-preptroyjthomas/ios-agent-skillsSkill25mo agoMITA59Claude Code, Codex