From swiftui
Enforces SwiftUI navigation best practices: prefers NavigationStack/SplitView over deprecated NavigationView, navigationDestination; optimizes alerts, sheets, and confirmation dialogs.
How this command is triggered — by the user, by Claude, or both
Slash command
/swiftui:navigationswiftui-review/references/The summary Claude sees in its command listing — used to decide when to auto-load this command
# Navigation and presentation - Use `NavigationStack` or `NavigationSplitView` as appropriate; flag all use of the deprecated `NavigationView`. - Strongly prefer to use `navigationDestination(for:)` to specify destinations; flag all use of the old `NavigationLink(destination:)` pattern where it should be replaced. - Never mix `navigationDestination(for:)` and `NavigationLink(destination:)` in the same navigation hierarchy; it causes significant problems. - `navigationDestination(for:)` must be registered once per data type; flag duplicates. ## Alerts, confirmation dialogs, and sheets - ...
NavigationStack or NavigationSplitView as appropriate; flag all use of the deprecated NavigationView.navigationDestination(for:) to specify destinations; flag all use of the old NavigationLink(destination:) pattern where it should be replaced.navigationDestination(for:) and NavigationLink(destination:) in the same navigation hierarchy; it causes significant problems.navigationDestination(for:) must be registered once per data type; flag duplicates.confirmationDialog() to the user interface that triggers the dialog. This allows Liquid Glass animations to move from the correct source..alert("Dismiss Me", isPresented: $isShowingAlert) { }.sheet(item:) over sheet(isPresented:) so the optional is safely unwrapped.sheet(item:) with a view that accepts the item as its only initializer parameter, prefer sheet(item: $someItem, content: SomeView.init) over sheet(item: $someItem) { someItem in SomeView(item: someItem) }.npx claudepluginhub fradser/dotclaude --plugin swiftui/create-viewGenerates a SwiftUI view file with MVVM architecture, property wrappers, layouts, navigation elements, states, accessibility, dark mode support, previews, and documentation.
/add-accessibilityBu komut SwiftUI dosyalarini tarayarak eksik accessibility identifier'lari otomatik ekler ve Dynamic Type uyumsuzluklarini raporlar.
/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.