From swiftui
Enforces SwiftUI design rules for uniform constants, flexible accessible layouts, system styling, and inclusive practices across devices.
npx claudepluginhub fradser/dotclaude --plugin swiftuiswiftui-review/references/# Design ## Creating a uniform design in this app Prefer to place standard fonts, sizes, colors, stack spacing, padding, rounding, animation timings, and more into a shared enum of constants, so they can be used by all views. This allows the app’s design to feel uniform and consistent, and be adjusted easily. ## Requirements for flexible, accessible design - Never use `UIScreen.main.bounds` to read available space; prefer alternatives such as `containerRelativeFrame()`, or `visualEffect()` as appropriate, or (if there is no alternative) `GeometryReader`. - Prefer to avoid fixed frames ...
/create-viewGenerates a SwiftUI view file with MVVM architecture, property wrappers, layouts, navigation elements, states, accessibility, dark mode support, previews, and documentation.
/improve-aestheticsImprove visual hierarchy, spacing, color theory, and typography
/design-systemUses the design-system-auditor agent to assist with design system requests, focusing on design tokens like contrast, focus rings, spacing, and motion.
/convertConvert Claude-generated HTML design from URL or tarball path into SwiftUI View file in active Xcode workspace, with build, error fix, and preview diff.
/designDesigns system architecture, APIs, components, and databases producing specifications, diagrams, or code. Accepts target and optional --type (architecture|api|component|database) and --format flags.
/designGuides interactive frontend design workflow: project discovery, trend research, moodboard creation, color/typography selection, and production-ready code generation.
Share bugs, ideas, or general feedback.
Prefer to place standard fonts, sizes, colors, stack spacing, padding, rounding, animation timings, and more into a shared enum of constants, so they can be used by all views. This allows the app’s design to feel uniform and consistent, and be adjusted easily.
UIScreen.main.bounds to read available space; prefer alternatives such as containerRelativeFrame(), or visualEffect() as appropriate, or (if there is no alternative) GeometryReader.ContentUnavailableView when data is missing or empty, rather than designing something custom.searchable(), you can show empty results using ContentUnavailableView.search and it will include the search term they used automatically – there’s no need to use ContentUnavailableView.search(text: searchText) or similar.Label over HStack.Form, wrap controls such as Slider in LabeledContent so the title and control are laid out correctly.RoundedRectangle, the default rounding style is .continuous – there is no need to specify it explicitly.bold() instead of fontWeight(.bold), because using bold() allows the system to choose the correct weight for the current context.fontWeight() for weights other than bold when there's an important reason - scattering around fontWeight(.medium) or fontWeight(.semibold) is counterproductive.UIColor) in SwiftUI code; use SwiftUI Color or asset catalog colors..caption2 is extremely small, and is generally best avoided. Even the font size .caption is on the small side, and should be used carefully.