ios-design-system
Clinic-architecture-aligned iOS design system engineering for SwiftUI (iOS 26 / Swift 6.2) covering token architecture, color/typography/spacing systems…
Skill by pproenca
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/pproenca-ios-design-system
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ios-design-system
What's inside
- Skill name
ios-design-system- Description
- Clinic-architecture-aligned iOS design system engineering for SwiftUI (iOS 26 / Swift 6.2) covering token architecture, color/typography/spacing systems, component style libraries, asset governance, and theming. Enforces @Equatable on views and keeps design-system usage compatible with Feature-to-Domain+DesignSystem boundaries. Use when building or refactoring DesignSystem infrastructure for the clinic modular MVVM-C stack.
- License
- MIT
- Instructions
- 155 lines in SKILL.md · view on GitHub
Files (54)
- SKILL.md
- _template.md · assets/templates/
- metadata.json
- _sections.md · references/
- asset-icon-export-format.md · references/
- asset-image-optimization.md · references/
- asset-naming-convention.md · references/
- asset-separate-catalogs.md · references/
- asset-sf-symbols-first.md · references/
- color-audit-script.md · references/
- color-complete-pairs.md · references/
- color-limit-palette.md · references/
- color-no-hex-in-views.md · references/
- color-organized-xcassets.md · references/
- color-system-first.md · references/
- color-tint-not-brand-everywhere.md · references/
- govern-design-system-directory.md · references/
- govern-lint-for-tokens.md · references/
- govern-migration-incremental.md · references/
- govern-naming-conventions.md · references/
- govern-prevent-local-tokens.md · references/
- govern-single-source-of-truth.md · references/
- govern-spm-package-boundary.md · references/
- space-insets-pattern.md · references/
- space-no-magic-numbers.md · references/
- space-radius-tokens.md · references/
- space-size-tokens.md · references/
- space-token-enum.md · references/
- style-accessibility-first.md · references/
- style-catalog-file.md · references/
- style-configuration-over-parameters.md · references/
- style-dls-protocol-pattern.md · references/
- style-environment-awareness.md · references/
- style-equatable-views.md · references/
- style-preview-catalog.md · references/
- style-protocol-over-wrapper.md · references/
- style-static-member-syntax.md · references/
- style-view-for-containers-modifier-for-styling.md · references/
- theme-brand-layer-separation.md · references/
- theme-dont-over-theme.md · references/
- theme-environment-key.md · references/
- theme-light-dark-only.md · references/
- theme-tint-for-brand.md · references/
- token-asset-catalog-source.md · references/
- token-avoid-over-abstraction.md · references/
- token-enum-over-struct.md · references/
- token-shapestyle-extensions.md · references/
- token-single-file-per-domain.md · references/
- token-three-layer-hierarchy.md · references/
- type-avoid-font-design-mixing.md · references/
- type-custom-font-registration.md · references/
- type-max-styles-per-screen.md · references/
- type-scale-enum.md · references/
- type-system-styles-first.md · references/
SKILL.md (first lines)
# Airbnb iOS Design System Best Practices Opinionated, strict design system engineering for SwiftUI iOS 26 / Swift 6.2 apps. Contains 50 rules across 8 categories, prioritized by impact. Derived from Airbnb's Design Language System (DLS), Airbnb Swift Style Guide, Apple Human Interface Guidelines, and WWDC sessions. Mandates @Equatable on every view, @Observable for state, and style protocols as the primary component API. ## Mandated Architecture Alignment This skill is designed to work alongside `swift-ui-architect`. All code examples follow the same non-negotiable constraints: - Feature modules depend on `Domain` + `DesignSystem`; no direct `Data` dependency - `@Observable` for mutable UI state, `ObservableObject` / `@Published` never - `@Equatable` macro on every view - Style protocols as the primary component styling API (Airbnb DLS pattern) - Asset catalog as the source of truth for color values - Local SPM package for design system module boundary ## Scope & Relationship to Sibling Skills This skill is the **infrastructure layer** — it teaches how to BUILD the design system itself. When loaded alongside sibling skills: | Sibling Skill | Its Focus | This Skill's Focus | |---------------|-----------|-------------------| | `swift-ui-architect` | **Architecture** (modular MVVM-C, route shells, protocol boundaries) | **Design system infrastructure** (tokens, styles, governance) | | `ios-design` | **Using** design primitives (semantic colors, typography) | **Engineering** the token system that provides those primitives | | `ios-ui-refactor` | **Auditing/fixing** visual quality issues | **Preventing** those issues via governance and automation | | `ios-hig` | **HIG compliance** patterns | **Asset and component infrastructure** that makes compliance easy | ## Clinic Architecture Contract (iOS 26 / Swift 6.2) All guidance in this skill assumes the clinic modular MVVM-C architecture: - Feature modules import `Domain` + `DesignSystem` only (never `Data`, never sibling features) - App target is the convergence point and owns `DependencyContainer`, concrete coordinators, and Route Shell wiring - `Domain` stays pure Swift and defines models plus repository, `*Coordinating`, `ErrorRouting`, and `AppError` contracts - `Data` owns SwiftData/network/sync/retry/background I/O and implements Domain protocols - Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes - ViewModels call repository protocols directly (no default use-case/interactor layer) ## When to Apply Reference these guidelines when: - Setting up a design system for a new iOS app - Building token architecture (colors, typography, spacing, sizing) - Creating reusable component styles (ButtonStyle, LabelStyle, custom DLS protocols) - Organizing asset catalogs (colors, images, icons) - Migrating from ad-hoc styles to a governed token system - Preventing style drift and enforcing consistency via automation - Building theming infrastructure for whitelabel or multi-brand apps - Reviewing PRs for ungoverned colors, hardcoded values, or shadow tokens ## Rule Categories by Priority | Priority | Category | Impact | Prefix | Rules | |----------|----------|--------|--------|-------| | 1 | Token Architecture | CRITICAL | `token-` | 6 | | 2 | Color System Engineering | CRITICAL | `color-` | 7 | | 3 | Component Style Library | CRITICAL | `style-` | 10 | | 4 | Typography Scale | HIGH | `type-` | 5 | | 5 | Spacing & Sizing System | HIGH | `space-` | 5 | | 6 | Consistency & Governance | HIGH | `govern-` | 7 | | 7 | Asset Management | MEDIUM-HIGH | `asset-` | 5 | | 8 | Theme & Brand Infrastructure | MEDIUM | `theme-` | 5 | ## Quick Reference ### 1. Token Architecture (CRITICAL) - [`token-three-layer-hierarchy`](references/token-three-layer-hierarchy.md) - Use Raw → Semantic → Component token layers - [`token-enum-over-struct`](references/token-enum-over-struct.md) - Use caseless enums for token namespaces - [`token-single-file-per-domain`](references/token-single-file-per-domain.md) - One token file per design domain - [`token-shapestyle-extensions`](references/token-shapestyle-extensions.md) - Extend ShapeStyle for dot-syntax colors - [`token-asset-catalog-source`](references/token-asset-catalog-source.md) - Source color tokens from asset catalog - [`token-avoid-over-abstraction`](references/token-avoid-over-abstraction.md) - Avoid over-abstracting beyond three layers ### 2. Color System Engineering (CRITICAL) - [`color-organized-xcassets`](references/color-organized-xcassets.md) - Organize color assets with folder groups by role - [`color-complete-pairs`](references/color-complete-pairs.md) - Define both appearances for every custom color - [`color-limit-palette`](references/color-limit-palette.md) - Limit custom colors to under 20 semantic tokens - [`color-no-hex-in-views`](references/color-no-hex-in-views.md) - Never use Color literals or hex in view code - [`color-system-first`](references/color-system-first.md) - Prefer system colors before custom tokens - [`color-tint-not-brand-everywhere`](references/color-tint-not-brand-everywhere.md) - Set brand color as app tint, don't scatter it - [`color-audit-script`](references/color-audit-script.md) - Audit for ungoverned colors with a build script ### 3. Component Style Library (CRITICAL) - [`style-dls-protocol-pattern`](references/style-dls-protocol-pattern.md) - Define custom style protocols for complex DLS components - [`style-equatable-views`](references/style-equatable-views.md) - Apply @Equatable to every design system view - [`style-accessibility-first`](references/style-accessibility-first.md) - Build accessibility into style protocols, not individual views - [`style-protocol-over-wrapper`](references/style-protocol-over-wrapper.md) - Use Style protocols instead of wrapper views - [`style-static-member-syntax`](references/style-static-member-syntax.md) - Provide static member syntax for custom styles - [`style-environment-awareness`](references/style-environment-awareness.md) - Make styles responsive to environment values - [`style-view-for-containers-modifier-for-styling`](references/style-view-for-containers-modifier-for-styling.md) - Views for containers, modifiers for styling - [`style-catalog-file`](references/style-catalog-file.md) - One style catalog file per component type - [`style-configuration-over-parameters`](references/style-configuration-over-parameters.md) - Prefer configuration structs over many parameters - [`style-preview-catalog`](references/style-preview-catalog.md) - Create a preview catalog for all styles ### 4. Typography Scale (HIGH) - [`type-scale-enum`](references/type-scale-enum.md) - Define a type scale enum wrapping system styles - [`type-system-styles-first`](references/type-system-styles-first.md) - Use system text styles before custom ones - [`type-custom-font-registration`](references/type-custom-font-registration.md) - Register custom fonts with a centralized extension - [`type-max-styles-per-screen`](references/type-max-styles-per-screen.md) - Limit typography variations to 3-4 per screen - [`type-avoid-font-design-mixing`](references/type-avoid-font-design-mixing.md) - Use one font design per app ### 5. Spacing & Sizing System (HIGH) - [`space-token-enum`](references/space-token-enum.md) - Define spacing tokens as a caseless enum - [`space-radius-tokens`](references/space-radius-tokens.md) - Define corner radius tokens by component type - [`space-no-magic-numbers`](references/space-no-magic-numbers.md) - Zero hardcoded numbers in view layout code - [`space-insets-pattern`](references/space-insets-pattern.md) - Use EdgeInsets constants for composite padding - [`space-size-tokens`](references/space-size-tokens.md) - Define size tokens for common dimensions ### 6. Consistency & Governance (HIGH) - [`govern-naming-conventions`](references/govern-naming-conventions.md) - Enforce consistent naming conventions across all tokens - [`govern-spm-package-boundary`](references/govern-spm-package-boundary.md) - Isolate the design system as a local SPM package - [`govern-single-source-of-truth`](references/govern-single-source-of-truth.md) - Every visual value has one definition point - [`govern-lint-for-tokens`](references/govern-lint-for-tokens.md) - Use SwiftLint rules to enforce token usage
From pproenca/dot-skills, MIT.
More from pproenca/dot-skills
- 0.694score
tanstack-query
community
TanStack Query v5 performance optimization for data fetching, caching, mutations, and query patterns.
SkillCFreshness: C★ 218Claude Code +9 - 0.596score
mlflow-3
pproenca
MLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray
pproenca
Production Ray (open-source, pinned to 2.57) for classic-ML workloads from training to serving — Ray Train, Tune, Data, Serve, Core, and cluster deployment on…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-mlops-migration
pproenca
Guided workflow for taking any ML codebase — including one with no experiment tracking at all, or one full of MLflow 2-era idioms — to a production-grade…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray-llm
pproenca
LLM workloads on open-source Ray (pinned to 2.57) — OpenAI-compatible serving with ray.serve.llm (vLLM-backed LLMConfig + build_openai_app) and batch…
SkillBFreshness: B★ 218Claude Code +9 - 0.550score
expo-ui
pproenca
Library reference for @expo/ui SwiftUI components on iOS — covers Host boundaries, modifier composition, iOS 26 Liquid Glass and Human Interface Guidelines…
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
debug
pproenca
Comprehensive debugging methodology for finding and fixing bugs (formerly debugging).
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
bug-review
pproenca
Use this skill when a user asks to review a pull request for bugs, wants AI code review focused on correctness issues, or runs /bug-review.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
ios-taste
pproenca
Designs iOS 18+ SwiftUI experiences with real taste — starting from user goals, not pixels.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
implementation-functional-patterns
pproenca
TypeScript's functional answers to the 22 Gang of Four classes — factory functions (Factory Method, Abstract Factory, Prototype, Memento), module-scope…
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
expo
pproenca
Expo React Native performance optimization guidelines.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
deterministic-metric-design
pproenca
Inventing deterministic metrics — turning a fuzzy property like 'maintainability', 'risk', or 'how reducible this code is' into a deterministic, computable…
SkillCFreshness: C★ 218Claude Code +9
Signals
- Stars
- 218
- Forks
- 19
- Open issues
- 3
- Last commit (this folder)
- May 27, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pproenca/dot-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pproenca
- 0.596score
ray-llm
pproenca
LLM workloads on open-source Ray (pinned to 2.57) — OpenAI-compatible serving with ray.serve.llm (vLLM-backed LLMConfig + build_openai_app) and batch…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-mlops-migration
pproenca
Guided workflow for taking any ML codebase — including one with no experiment tracking at all, or one full of MLflow 2-era idioms — to a production-grade…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
mlflow-3
pproenca
MLflow 3 (open-source, pinned to 3.15) for classic-ML MLOps — logging and registering models, promoting versions across dev/staging/prod, standing up a…
SkillBFreshness: B★ 218Claude Code +9 - 0.596score
ray
pproenca
Production Ray (open-source, pinned to 2.57) for classic-ML workloads from training to serving — Ray Train, Tune, Data, Serve, Core, and cluster deployment on…
SkillBFreshness: B★ 218Claude Code +9 - 0.550score
expo
pproenca
Expo React Native performance optimization guidelines.
SkillCFreshness: C★ 218Claude Code +9 - 0.550score
debug
pproenca
Comprehensive debugging methodology for finding and fixing bugs (formerly debugging).
SkillCFreshness: C★ 218Claude Code +9
Cite this page
ios-design-system skill. Agent Mart. https://agentmart.dev/skills/pproenca-ios-design-system (last updated 2026-10-24)