Individual skill
ios-ui-refactor
Principal-level SwiftUI UI review and refactoring patterns for iOS 26 / Swift 6.2 clinic-architecture apps, grounded in Rams, Segall, and Edson principles. Use when auditing or improving existing SwiftUI screens, transitions, animations, and visual systems while preserving brand identity and respecting clinic Domain/Data/App boundaries.
skills/.experimental/ios-ui-refactor/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
- design Derived category
- marketing Derived category
- data Derived category
- design-interface Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 11,883 bytesassets/templates/_template.mddoc · 923 bytesmetadata.jsonasset · 2,404 bytesreferences/_sections.mddoc · 6,165 bytesreferences/enduring-card-modularity.mddoc · 4,740 bytesreferences/enduring-swipe-back.mddoc · 4,918 bytesreferences/enduring-system-text-styles.mddoc · 2,961 bytesreferences/enduring-weight-not-caps.mddoc · 2,891 bytesreferences/enduring-zoom-navigation.mddoc · 6,097 bytesreferences/evident-label-clarity.mddoc · 4,176 bytesreferences/evident-navigation-intent.mddoc · 4,307 bytesreferences/evident-progressive-disclosure.mddoc · 7,049 bytesreferences/evident-reading-order.mddoc · 5,977 bytesreferences/evident-visual-weight.mddoc · 6,495 bytesreferences/evident-whitespace-grouping.mddoc · 7,506 bytesreferences/honest-contrast.mddoc · 4,629 bytesreferences/honest-dark-mode.mddoc · 4,526 bytesreferences/honest-depth-cues.mddoc · 7,755 bytesreferences/honest-foreground-style.mddoc · 3,693 bytesreferences/honest-loading-states.mddoc · 6,746 bytesreferences/honest-semantic-colors.mddoc · 3,333 bytesreferences/invisible-content-transitions.mddoc · 3,555 bytesreferences/invisible-no-easing.mddoc · 4,396 bytesreferences/invisible-spring-physics.mddoc · 5,450 bytesreferences/invisible-spring-presets.mddoc · 4,624 bytesreferences/invisible-symbol-effects.mddoc · 4,211 bytesreferences/invisible-system-materials.mddoc · 3,559 bytesreferences/less-color-restraint.mddoc · 6,784 bytesreferences/less-fewer-controls.mddoc · 4,968 bytesreferences/less-one-color-purpose.mddoc · 5,805 bytesreferences/less-one-typeface.mddoc · 3,711 bytesreferences/less-purposeful-motion.mddoc · 5,000 bytesreferences/less-single-focal.mddoc · 6,365 bytesreferences/less-type-restraint.mddoc · 4,150 bytesreferences/refined-inspector.mddoc · 2,902 bytesreferences/refined-matched-geometry.mddoc · 6,491 bytesreferences/refined-mesh-gradients.mddoc · 5,269 bytesreferences/refined-multi-detent.mddoc · 5,563 bytesreferences/refined-no-hard-cuts.mddoc · 3,933 bytesreferences/refined-phase-animator.mddoc · 6,719 bytesreferences/refined-scroll-transitions.mddoc · 4,160 bytesreferences/refined-text-renderer.mddoc · 3,446 bytesreferences/system-alignment.mddoc · 5,517 bytesreferences/system-brand-integration.mddoc · 4,814 bytesreferences/system-color-naming.mddoc · 4,035 bytesreferences/system-consistent-padding.mddoc · 4,350 bytesreferences/system-corner-radii.mddoc · 5,185 bytesreferences/system-spacing-grid.mddoc · 6,919 bytesreferences/thorough-background-interaction.mddoc · 3,928 bytesreferences/thorough-material-thickness.mddoc · 4,525 bytesreferences/thorough-readable-weights.mddoc · 3,404 bytesreferences/thorough-reduce-motion.mddoc · 3,860 bytesreferences/thorough-safe-areas.mddoc · 5,031 bytesreferences/thorough-touch-targets.mddoc · 5,506 bytesreferences/thorough-vibrancy-levels.mddoc · 3,689 bytes
Read excerpt
# Apple HIG SwiftUI iOS 26 / Swift 6.2 Best Practices
A principal designer's lens for evaluating and refactoring SwiftUI interfaces to Apple-quality standards, grounded in Rams, Segall, and Edson. Contains 51 rules across 8 categories, each grounded in specific principles from three foundational design texts:
- **Dieter Rams** — *Ten Principles for Good Design* ("less, but better," "design should be honest")
- **Ken Segall** — *Insanely Simple* (simplicity as a core principle for intuitive, beautiful products)
- **John Edson** — *Design Like Apple* (design-focused culture, prototyping to perfection, the product is the marketing)
Categories are ordered by a visual review process: start with what to remove, then what to clarify, then what to make honest, invisible, systematic, thorough, enduring, and finally what to refine.
## Scope & Relationship to Sibling Skills
This skill is the **refactoring and review lens** — it evaluates existing UI and identifies visual anti-patterns to fix. When loaded alongside `ios-design` (building new UI), `ios-hig` (HIG compliance), or `swift-refactor` (code-level refactoring), this skill supersedes overlapping rules with more detailed "incorrect -> correct" transformations and "When NOT to apply" guidance. Use this skill for auditing and improving existing screens; use the siblings for greenfield implementation.