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 sean-sunagaku/claude-code-plugin --skill swiftui-ui-mockupgit clone --depth 1 https://github.com/sean-sunagaku/claude-code-pluginWrote 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/sean-sunagaku/claude-code-plugin/swiftui-ui-mockup)<a href="https://agentmods.dev/skills/sean-sunagaku/claude-code-plugin/swiftui-ui-mockup"><img src="https://agentmods.dev/badge/skills/sean-sunagaku/claude-code-plugin/swiftui-ui-mockup/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/sean-sunagaku/claude-code-plugin/swiftui-ui-mockup"><img src="https://agentmods.dev/badge/skills/sean-sunagaku/claude-code-plugin/swiftui-ui-mockup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00127 | $0.01855 |
| Opus 5 | $0.00063 | $0.00928 |
| Sonnet 5 | $0.00025 | $0.00371 |
| Haiku 4.5 | $0.00013 | $0.00186 |
Grade A, and why
swiftui-ui-mockup 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 9d 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SwiftUI UI Mockup
SwiftUIで「どんなUIにするか」の検討と、実際に操作できるネイティブモックの実装・表示確認までを行う。本番機能の完成ではなく、短い反復でUI判断を確定することを目的にする。
守備範囲
- UI構成、情報階層、導線、文言、主要操作を設計する。
- 迷いがある箇所は2〜3案を同じ条件で比較できるようにする。
- 実在感のあるサンプルデータと主要状態を用意する。
- Xcode Previewで静的な見た目を、Simulatorで操作・遷移・スクロールを確認する。
- 採用案と未決事項を短く残す。
認証、ネットワーク、永続化、分析、課金、通知配信などの本番基盤は実装しない。UI確認に必要な場合だけ、メモリ内のスタブで再現する。
ワークフロー
1. プロジェクトと依頼を読む
質問する前に、既存の一次情報を確認する。
.xcodeproj/.xcworkspace、scheme、deployment target- 対象画面、共通コンポーネント、テーマ、Asset Catalog、フォント
- プロダクト資料、既存スクリーンショット、類似画面
- プロジェクト固有の検証手順と
AGENTS.md/CLAUDE.md
情報が足りなくても安全な仮説で最初のモックを作れる場合は止まらない。プロダクト方向が大きく分岐する一点だけを質問し、それ以外は推奨案を明示して進める。
2. UIブリーフを決める
実装前に次を3〜8行でまとめる。
- この画面でユーザーが達成すること
- 最重要情報と主要アクション
- ナビゲーションまたは画面遷移
- 見た目の方向性
- 比較するUI案
- 検証する主要状態
UIの決め方は references/ui-design.md を読む。
3. モックを本番コードから分離する
既存プロジェクトでは、そのプロジェクトの慣習を優先する。慣習がなければ次を基準にする。
<App>/
└── Mockups/
└── <FeatureName>/
├── <FeatureName>MockupView.swift
├── <FeatureName>MockupData.swift
└── <FeatureName>MockupGallery.swift
- 本番の永続ストアやAPIを直接呼ばない。
- モック専用モデルは対象フォルダ内に閉じる。
- 本番ターゲットへの混入を避けたい場合は、Preview専用コードまたは独立したMockup targetを使う。
- 既存画面を再利用するときはprotocolやinitializerで依存を注入し、実サービスを起動しない。
プロジェクトがない場合は、最小のiOS Appプロジェクトを prototypes/<feature-slug>/ に作り、単一schemeで起動できる状態にする。雛形が必要なら assets/MockupGalleryView.swift をコピーして具体化する。
カレントディレクトリにiOSプロジェクトがあっても、依頼されたモックが別プロダクトなら既存アプリへ追加しない。「プロジェクトがない場合」と同様に独立した prototypes/<feature-slug>/ を使い、既存アプリのテーマ、bundle ID、データ、schemeを流用しない。
実装パターンは references/implementation.md を読む。
4. 比較可能なSwiftUIモックを実装する
最低限、次を満たす。
#Previewから対象画面を直接開ける。- 主要ボタン、選択、入力、追加・削除、sheet、遷移など、判断対象の操作が動く。
- 表示文言は具体的にし、「サンプル」「Lorem ipsum」だけで済ませない。
- SF Symbolsと標準SwiftUIを優先し、プロジェクトのデザインシステムがあれば合わせる。
- タップ領域は原則44pt以上にする。
- 固定サイズ前提にせず、長文、Dynamic Type、キーボード、Safe Area、スクロールを考慮する。
比較対象がある場合は、gallery画面で次を切り替えられるようにする。
Variant: レイアウト・コンポーネント・操作方式の案Scenario: 通常、空、少量、多量、長文、エラー、無効状態など- 必要に応じてLight/Dark、文字サイズ、端末幅
What ships with it
4 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.
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.
- 9d ago First seen · 133 lines · 127 tokens per session scan A 8919e45b10c3
swiftui-ui-mockup is a skill published in the GitHub repository sean-sunagaku/claude-code-plugin (36 stars, last pushed 1mo ago), licensed MIT. It adds 127 tokens to every session and 1,855 once invoked, about $0.0006 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.
Other skills, from other repositories
display-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…
expo-design-system
Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…
flutter-build-responsive-layout
Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.
omh-apple-design
This is a Hermes-native apple-design workflow skill.
axiom-audit-liquid-glass
Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.
axiom-audit-ux-flow
Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.