ios-storyboard
БесплатноБез исполняемых скриптовНе проверенLegacy interoperability skill for Storyboard and Interface Builder maintenance in iOS 26 / Swift 6.2 clinic codebases. Use only for migration or maintenance…
от pproenca★ 231 звезда на GitHubОб этом скилле
iOS Storyboard Best Practices
Legacy interoperability guidance for storyboard-heavy code that still exists in clinic projects. Not for new SwiftUI clinic feature development.
Comprehensive UI design and architecture guide for Xcode Storyboard and Interface Builder, focused on building maintainable, adaptive, and accessible iOS interfaces. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns 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:
- Creating or modifying Storyboard scenes in Xcode Interface Builder
- Setting up Auto Layout constraints for adaptive layouts
- Designing navigation flows with segues and storyboard references
- Configuring size classes and trait variations for universal apps
- Reviewing storyboard XML diffs and resolving merge conflicts
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Storyboard Architecture | CRITICAL | arch- |
| 2 | Auto Layout Constraints | CRITICAL | layout- |
| 3 | Navigation & Segues | HIGH | nav- |
| 4 | Adaptive Layout & Size Classes | HIGH | adapt- |
| 5 | View Hierarchy & Stack Views | MEDIUM-HIGH | view- |
| 6 | Accessibility & VoiceOver | MEDIUM | ally- |
| 7 | Version Control & Collaboration | MEDIUM | vcs- |
| 8 | Debugging & Inspection | LOW-MEDIUM | debug- |
Quick Reference
1. Storyboard Architecture (CRITICAL)
arch-split-storyboards- Split Monolithic Storyboards into Feature Modulesarch-storyboard-references- Use Storyboard References for Cross-Module Navigationarch-one-scene-per-flow- Limit Each Storyboard to a Single User Flowarch-initial-view-controller- Set Initial View Controller Explicitly in Every Storyboardarch-avoid-hardcoded-identifiers- Avoid Hardcoded Storyboard and Cell Identifiersarch-scene-naming- Use Descriptive Scene Labels in Document Outlinearch-modular-xibs- Extract Reusable Views into Separate XIB Files
2. Auto Layout Constraints (CRITICAL)
layout-avoid-fixed-dimensions- Avoid Fixed Width and Height Constraintslayout-leading-trailing- Use Leading and Trailing Instead of Left and Rightlayout-safe-area- Constrain Views to Safe Area Guideslayout-content-hugging- Set Content Hugging and Compression Resistance Prioritieslayout-constraint-nearest-neighbor- Constrain to Nearest Neighbor Viewslayout-avoid-constant-offsets- Use Layout Margins Instead of Constant Offsetslayout-inequality-constraints- Use Inequality Constraints for Flexible Minimums and Maximumslayout-constraint-priorities- Assign Distinct Priorities to Optional Constraints
3. Navigation & Segues (HIGH)
nav-prepare-for-segue- Pass Data via prepare(for:sender:) Instead of Direct Property Accessnav-unwind-segues- Use Unwind Segues to Navigate Backwardnav-avoid-mixed-navigation- Avoid Mixing Segue and Programmatic Navigationnav-adaptive-segues- Use Show and Show Detail Instead of Push and Modalnav-perform-segue-validation- Validate Segue Conditions with shouldPerformSeguenav-container-view-controllers- Use Container Views for Embedded Child View Controllers
4. Adaptive Layout & Size Classes (HIGH)
adapt-size-classes- Configure Constraints per Siz
Установить ios-storyboard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ios-storyboard?
Legacy interoperability skill for Storyboard and Interface Builder maintenance in iOS 26 / Swift 6.2 clinic codebases. Use only for migration or maintenance of existing storyboard screens; not for new SwiftUI clinic feature development. Triggers on Auto Layout, segues, size classes, IB accessibility, storyboard merge conflicts, and storyboard-to-SwiftUI migration tasks.
Как установить скилл ios-storyboard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ios-storyboard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic