Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ios-navigation

БесплатноБез исполняемых скриптовНе проверен

Opinionated SwiftUI navigation enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps. Enforces Domain coordinator protocols, App-target…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

iOS Navigation (Modular MVVM-C)

Opinionated navigation enforcement for SwiftUI apps using the clinic modular architecture. Focus on coordinator + route shell wiring, feature isolation, and resilient push/sheet/deep-link flows.

Non-Negotiable Constraints (iOS 26 / Swift 6.2)

  • @Equatable macro on every navigation view, AnyView never
  • @Observable everywhere, ObservableObject / @Published never
  • App-target coordinators own NavigationPath; route shells own .navigationDestination mappings
  • Coordinator-owned modal state, inline @State booleans for sheets never
  • Domain layer defines coordinator protocols; concrete coordinators stay out of feature modules

Clinic Architecture Contract (iOS 26 / Swift 6.2)

All guidance in this skill assumes the clinic modular MVVM-C architecture:

  • Feature modules import Domain + DesignSystem only (never Data, never sibling features)
  • App target is the convergence point and owns DependencyContainer, concrete coordinators, and Route Shell wiring
  • Domain stays pure Swift and defines models plus repository, *Coordinating, ErrorRouting, and AppError contracts
  • Data owns 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:

  • Designing navigation hierarchies with NavigationStack or NavigationSplitView
  • Choosing between push, sheet, and fullScreenCover
  • Implementing hero animations, zoom transitions, or gesture-driven dismissals
  • Building multi-step flows (onboarding, checkout, registration)
  • Using @Observable with @Environment and @Bindable for shared navigation state
  • Reviewing code for navigation anti-patterns and modular architecture compliance
  • Adding deep linking, state restoration, or tab persistence
  • Ensuring VoiceOver and reduce motion support for navigation

Rule Categories by Priority

Priority Category Impact Prefix
1 Navigation Architecture CRITICAL arch-
2 Navigation Anti-Patterns CRITICAL anti-

| 3 | Transition & Animation | HIGH | anim- | | 4 | Modal Presentation | HIGH | modal- | | 5 | Flow Orchestration | HIGH | flow- | | 6 | Navigation Performance | MEDIUM-HIGH | perf- | | 7 | Navigation Accessibility | MEDIUM | ally- | | 8 | State & Restoration | MEDIUM | state- |

Quick Reference

1. Navigation Architecture (CRITICAL)

2. Navigation Anti-Patterns (CRITICAL)

Полный SKILL.md на GitHub

Установить ios-navigation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/ally-focus-after-navigation.mdreferences/ally-group-navigation-elements.mdreferences/ally-hide-decorative-navigation.mdreferences/ally-keyboard-focus.mdreferences/ally-rotor-headers.mdreferences/anim-gesture-driven.mdreferences/anim-matched-geometry-same-view.mdreferences/anim-reduce-motion-transitions.mdreferences/anim-scroll-driven.mdreferences/anim-spring-config.mdreferences/anim-transition-source-styling.mdreferences/anim-zoom-transition.mdreferences/anti-hamburger-menu.mdreferences/anti-hidden-back-button.mdreferences/anti-mixed-link-styles.mdreferences/anti-navigation-in-init.mdreferences/anti-programmatic-tab-switch.mdreferences/anti-scattered-destinations.mdreferences/anti-shared-stack.mdreferences/arch-coordinator-modals.mdreferences/arch-coordinator.mdreferences/arch-deep-linking.mdreferences/arch-destination-item.mdreferences/arch-destination-registration.mdreferences/arch-equatable-views.mdreferences/arch-navigation-path.mdreferences/arch-navigation-stack.mdreferences/arch-no-anyview.mdreferences/arch-observable-environment.mdreferences/arch-observable-only.mdreferences/arch-route-enum.mdreferences/arch-split-view.mdreferences/arch-value-based-links.mdreferences/flow-multi-step.mdreferences/flow-pop-to-root.mdreferences/flow-screen-independence.mdreferences/flow-sidebar-navigation.md

FAQ

Что делает скилл ios-navigation?

Opinionated SwiftUI navigation enforcement for iOS 26 / Swift 6.2 clinic modular MVVM-C apps. Enforces Domain coordinator protocols, App-target `DependencyContainer` + concrete coordinators + route shells, `NavigationPath` ownership, coordinator-owned modal state, deep-link/state-restoration readiness, and stale-while-revalidate/optimistic queued flow compatibility. Use when designing or refactoring clinic navigation flows.

Как установить скилл ios-navigation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ios-navigation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ios-navigation с