Audits and refactors existing SwiftUI interfaces using Rams, Segall, and Edson design principles. Provides 51 rules across 8 categories for evaluating visual quality, removing clutter, and ensuring system coherence.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:ios-ui-refactorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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:
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:
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.
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.
All guidance in this skill assumes the clinic modular MVVM-C architecture:
Domain + DesignSystem only (never Data, never sibling features)DependencyContainer, concrete coordinators, and Route Shell wiringDomain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contractsData owns SwiftData/network/sync/retry/background I/O and implements Domain protocolsReference these guidelines when:
| Priority | Category | Principle | Impact | Prefix | Rules |
|---|---|---|---|---|---|
| 1 | Less, But Better | Rams #10 + Segall "Think Minimal" | CRITICAL | less- | 7 |
| 2 | Self-Evident Design | Rams #4 + Segall "Think Human" | CRITICAL | evident- | 6 |
| 3 | Honest Interfaces | Rams #6 + Segall "Think Brutal" | CRITICAL | honest- | 6 |
| 4 | Invisible Design | Rams #5 + Edson "Product Is Marketing" | HIGH | invisible- | 6 |
| 5 | Systems, Not Pieces | Edson "Systems Thinking" + Rams #8 | HIGH | system- | 6 |
| 6 | Thorough to the Last Detail | Rams #8 + Rams #2 | HIGH | thorough- | 7 |
| 7 | Enduring Over Trendy | Rams #7 + Edson "Design With Conviction" | MEDIUM-HIGH | enduring- | 5 |
| 8 | Refined Through Iteration | Edson "Design Out Loud" + Rams #1/#3 | MEDIUM | refined- | 8 |
Rams #10: "Good design is as little design as possible." Segall: Apple succeeded by saying no to a thousand things.
less-single-focal - One primary focal point per screenless-type-restraint - Limit to 3-4 distinct type treatments per screenless-one-typeface - One typeface per app, differentiate with weight and sizeless-color-restraint - Reserve saturated colors for small interactive elementsless-one-color-purpose - Each semantic color serves exactly one purposeless-purposeful-motion - Every animation must communicate state change or provide feedbackless-fewer-controls - Remove controls that do not serve the core taskRams #4: "Good design makes a product understandable." Segall: interfaces must speak in terms people understand.
evident-visual-weight - Combine size, weight, and contrast for hierarchyevident-whitespace-grouping - Use whitespace to separate conceptual groupsevident-progressive-disclosure - Use progressive disclosure for dense informationevident-reading-order - Align visual weight with logical reading orderevident-navigation-intent - Sheets for tasks and creation, push for drill-down hierarchyevident-label-clarity - Use clear labels over ambiguous iconsRams #6: "Good design is honest." Segall: clarity without sugar-coating.
honest-semantic-colors - Use semantic colors, never hard-coded black or whitehonest-contrast - Ensure WCAG AA contrast ratioshonest-dark-mode - Define light and dark variants for every custom colorhonest-foreground-style - Use foregroundStyle over foregroundColorhonest-depth-cues - Use materials for layering, not drop shadows for depthhonest-loading-states - Show real progress, not indefinite spinnersRams #5: "Good design is unobtrusive." Edson: the product itself is the marketing.
invisible-spring-physics - Default to spring animations for all UI transitionsinvisible-spring-presets - Use .smooth for routine, .snappy for interactive, .bouncy for delightinvisible-no-easing - Prefer springs over linear and easeInOut for UI elementsinvisible-system-materials - Use system materials, not custom semi-transparent backgroundsinvisible-symbol-effects - Use built-in symbolEffect, not manual symbol animationinvisible-content-transitions - Use contentTransition for changing text and numbersEdson: "Design is systems thinking." Rams #8: nothing must be arbitrary or left to chance.
system-spacing-grid - Use a 4pt base unit for all spacingsystem-consistent-padding - Use consistent padding across all screenssystem-corner-radii - Standardize corner radii per component typesystem-alignment - Consistent alignment per content type within a screensystem-color-naming - Name custom colors by role, not huesystem-brand-integration - Map brand palette onto iOS semantic color rolesRams #8: "Care and accuracy in the design process show respect for the user." Rams #2: if the user cannot reliably use it, the product has failed.
thorough-reduce-motion - Always provide reduce motion fallbackthorough-touch-targets - All interactive elements at least 44x44 pointsthorough-safe-areas - Always respect safe areasthorough-readable-weights - Avoid light font weights for body textthorough-vibrancy-levels - Match vibrancy level to content importancethorough-material-thickness - Choose material thickness by contrast needsthorough-background-interaction - Enable background interaction for peek-style sheetsRams #7: "Good design is long-lasting." Edson: commit to a voice that persists across product generations.
enduring-system-text-styles - Use Apple text styles, never fixed font sizesenduring-weight-not-caps - Use weight for emphasis, not ALL CAPSenduring-swipe-back - Never break the system back-swipe gestureenduring-zoom-navigation - Use zoom transitions for collection-to-detail navigationenduring-card-modularity - Use self-contained cards for dashboard layoutsEdson: "Design out loud" — prototype relentlessly until every interaction feels inevitable. Rams #1: innovation serves genuine purpose.
refined-scroll-transitions - Use scrollTransition for scroll-position visual effectsrefined-phase-animator - Use PhaseAnimator for multi-step animation sequencesrefined-mesh-gradients - Use MeshGradient for premium dynamic backgroundsrefined-text-renderer - Use TextRenderer for hero text animations onlyrefined-inspector - Use inspector for trailing-edge detail panelsrefined-multi-detent - Provide multiple sheet detents with drag indicatorrefined-matched-geometry - Use matchedGeometryEffect for contextual origin transitionsrefined-no-hard-cuts - Always animate between states, even minimallyRead individual reference files for detailed explanations and code examples:
| File | Description |
|---|---|
| references/_sections.md | Category definitions and principle grounding |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
npx claudepluginhub pproenca/dot-skillsBuilds new SwiftUI views and screens following Apple-quality patterns aligned with iOS 26 / Swift 6.2 modular MVVM-C architecture. Covers state management, navigation, layout, accessibility, and design principles from Creative Selection and Design Like Apple.
Reviews SwiftUI and Swift code for modern APIs, best practices, performance, accessibility, data flow, navigation, and Clean Architecture.
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.