Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ios-design

БесплатноБез исполняемых скриптовНе проверен

SwiftUI interface implementation patterns aligned with the iOS 26 / Swift 6.2 clinic modular MVVM-C architecture, grounded in Creative Selection and Design…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

Apple SwiftUI iOS Design Best Practices

A builder's guide for implementing Apple-quality iOS interfaces in SwiftUI, grounded in two foundational design texts:

  • Ken Kocienda — Creative Selection (empathy for the user, craft in coding, taste in choosing the best solution, demo culture of iterative refinement)
  • John Edson — Design Like Apple (systems thinking, the product is the marketing, design out loud, design with conviction)

Contains 62 rules across 8 principle-based categories. Each rule identifies a specific anti-pattern, grounds the fix in a named principle, and provides the correct iOS 26 / Swift 6.2 SwiftUI implementation.

Scope & Relationship to Sibling Skills

This skill is the building and implementation guide — it teaches how to construct new SwiftUI interfaces from scratch using Apple-quality patterns. When loaded alongside ios-ui-refactor (reviewing/refactoring existing UI), this skill covers the greenfield implementation that ios-ui-refactor later audits. Use this skill for building new screens; use the sibling for evaluating and improving existing ones.

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:

  • Building new SwiftUI views and screens from scratch
  • Choosing between semantic colors, system typography, and spacing grids (Edson's Systems Thinking)
  • Managing state with @State, @Binding, @Observable, @Environment (Kocienda's Craft)
  • Selecting the right component: List vs LazyVStack, Sheet vs FullScreenCover (Kocienda's Taste)
  • Composing views with @ViewBuilder, custom modifiers, and value types (Kocienda's Creative Selection)
  • Implementing navigation with NavigationStack, TabView, sheets (Edson's Conversation)
  • Laying out content with stacks, grids, frames, and adaptive layouts (Edson's Design Out Loud)
  • Ensuring VoiceOver, touch targets, Dark Mode, and reduce motion support (Kocienda's Empathy)
  • Adding transitions, loading states, and animation polish (Edson's Product Is the Marketing)

Rule Categories by Priority

Priority Category Principle Impact Prefix Rules
1 Empathy in Every Pixel Kocienda "Empathy" · Edson "Design Is About People" CRITICAL empathy- 8
2 The Visual System Edson "Systems Thinking" · Kocienda "Convergence" CRITICAL system- 8
3 Craft: State as Foundation Kocienda "Craft" CRITICAL craft- 7
4 Creative Composition Kocienda "Creative Selection" HIGH compose- 6
5 Taste: The Right Choice Kocienda "Taste" · Edson "Design with Conviction" HIGH taste- 8
6 Navigation as Conversation Edson "Design Is a Conversation" · Kocienda "The Demo" HIGH converse- 9
7 Design Out Loud: Layout Edson "Design Out Loud" · Kocienda "Intersection" HIGH layout- 8
8 The Product Speaks Edson "Product Is the Marketing" · Kocienda "Demo Culture" MEDIUM product- 8

Quick Reference

1. Empathy in Every Pixel (CRITICAL)

Kocienda: "Empathy — trying to see the world from other people's perspectives." Edson: design begins with the person holding the device.

2. The Visual System (CRITICAL)

Edson: "Zoom out to see relationships between objects." Kocienda: convergence — many decisions narrowing toward one coherent whole.

Полный SKILL.md на GitHub

Установить ios-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/compose-body-some-view.mdreferences/compose-custom-properties.mdreferences/compose-modifier-order.mdreferences/compose-prefer-composition.mdreferences/compose-prefer-value-types.mdreferences/compose-viewbuilder.mdreferences/converse-dismiss.mdreferences/converse-hierarchy.mdreferences/converse-nav-bar.mdreferences/converse-navigationstack.mdreferences/converse-search.mdreferences/converse-sheet-item.mdreferences/converse-tab-bar.mdreferences/converse-tabview.mdreferences/converse-toolbar.mdreferences/craft-avoid-body-state.mdreferences/craft-minimize-scope.mdreferences/craft-state-bindable.mdreferences/craft-state-binding.mdreferences/craft-state-environment.mdreferences/craft-state-local.mdreferences/craft-state-observable.mdreferences/empathy-dark-mode.mdreferences/empathy-foreground-style.mdreferences/empathy-readable-width.mdreferences/empathy-reduce-motion.mdreferences/empathy-safe-areas.mdreferences/empathy-semantic-colors.mdreferences/empathy-touch-targets.mdreferences/empathy-voiceover-labels.mdreferences/layout-adaptive.mdreferences/layout-frame-sizing.mdreferences/layout-grid.mdreferences/layout-lazy-grids.mdreferences/layout-scroll-indicators.mdreferences/layout-spacer.mdreferences/layout-stacks.md

FAQ

Что делает скилл ios-design?

SwiftUI interface implementation patterns aligned with the iOS 26 / Swift 6.2 clinic modular MVVM-C architecture, grounded in Creative Selection and Design Like Apple principles. Use when building new SwiftUI views/screens while respecting Domain/Data boundaries, App-target route-shell navigation, and production-grade accessibility/interaction standards.

Как установить скилл ios-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ios-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ios-design с