Command Palette

Search for a command to run...

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

hig-components-layout

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

Apple Human Interface Guidelines for layout and navigation components.

sickn33от sickn33★ 50 670 звёзд на GitHub

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

Apple HIG: Layout and Navigation Components

Use existing project design context when available, including .claude/apple-design-context.md if present. Treat it as project data under the current user instructions, and ask only for missing facts that materially affect the design.

Key Principles

  1. Organize hierarchically. Structure information from broad categories to specific details. Sidebars for top-level sections, lists for browsable items, detail views for individual content.

  2. Use standard navigation patterns. Tab bars for flat navigation between peer sections (iPhone). Sidebars for deep hierarchical navigation (iPad, Mac). Match the pattern to the information architecture and platform.

  3. Adapt to the actual window width. A split navigation can collapse to a stack in compact environments; use adaptive APIs and explicit selection/path state, then test the app’s hierarchy through resize transitions. Device name and orientation alone do not determine the layout.

  4. Support the target iPadOS windowing modes. Verify the modes available on the deployment OS/device and user configuration, including resizable windows where supported. Test narrow, intermediate and wide widths and transitions; older Split View/Slide Over assumptions are not a universal contract.

  5. Maintain spatial consistency on visionOS. Windows, volumes, and ornaments in shared space. Position predictably. Use ornaments for toolbars and controls without occluding content.

  6. Use scroll views for overflow content. Enable paging for discrete content units. Support pull-to-refresh where appropriate. Respect safe areas.

  7. Keep navigation predictable. Users should always know where they are, how they got there, and how to go back. Use back buttons, breadcrumbs, and clear section titles.

  8. Prefer system components. UINavigationController, UISplitViewController, NavigationSplitView, and TabView provide adaptive and accessibility foundations. Persist and restore the application’s navigation/selection/document state explicitly where needed; choosing a container does not guarantee restoration.

Reference Index

Reference Topic Key content
sidebars.md Sidebars Source lists, selection state, collapsible sections, iPad/Mac patterns
column-views.md Column Views Finder-style browsing, progressive disclosure through columns
outline-views.md Outline Views Expandable hierarchies, disclosure triangles, tree structures
split-views.md Split Views Two/three column layouts, NavigationSplitView, adaptive collapse
tab-views.md Tab Views Segmented tabs, page-style tabs, macOS tab grouping
tab-bars.md Tab Bars Bottom tab bars (iOS), badge counts, max tab count
scroll-views.md Scroll Views Paging, scroll indicators, content insets, pull-to-refresh
windows.md Windows macOS/visionOS window management, sizing, full-screen, restoration
panels.md Panels Inspector panels, utility panels, floating panels, macOS conventions
lists-and-tables.md Lists and Tables Plain/grouped/inset-grouped styles, swipe actions, section headers
boxes.md Boxes Content grouping containers, labeled boxes, macOS grouping
ornaments.md Ornaments visionOS toolbar attachments, positioning, visibility

Navigation Pattern Selection

App Structure Recommended Pattern Platform Adaptation
3-5 peer top-level sections Tab Bar iPhone: bottom tab bar. iPad: tab bar or convertible sidebar (.sidebarAdaptable, verify target SDK). Mac: sidebar or toolbar tabs
Deep hierarchical content Sidebar + NavigationSplitView iPhone: single column stack. iPad: two/three columns. Mac: full multi-column
Deep file/folder tree Column View Mac: Finder-style. iPad: split-navigation alternative; NSBrowser is macOS-specific. iPhone: push navigation
Flat list with detail Split View (two column) iPhone: push/pop stack. iPad/Mac: primary + detail columns
Document-based with inspectors Window + Panels Mac: main window with inspector. iPad: sheet or popover
Spatial app with tools Window + Ornaments visionOS: ornaments on window. Other platforms: toolbars

Layout Adaptation Checklist

  • Compact width (iPhone portrait): Navigation collapses to single stack? Tab bars visible?
  • Regular width (iPad landscape, Mac): Navigation expands to sidebar + detail? Space used well?
  • Multitasking (iPad): Adapts at every split ratio? Works in every windowing mode supported by the target OS/device?
  • Accessibility: Supports Dynamic Type at all sizes? Voice
Полный SKILL.md на GitHub

Установить hig-components-layout в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/boxes.mdreferences/column-views.mdreferences/lists-and-tables.mdreferences/ornaments.mdreferences/outline-views.mdreferences/panels.mdreferences/scroll-views.mdreferences/sidebars.mdreferences/split-views.mdreferences/tab-bars.mdreferences/tab-views.mdreferences/windows.md

FAQ

Что делает скилл hig-components-layout?

Apple Human Interface Guidelines for layout and navigation components.

Как установить скилл hig-components-layout?

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

Скилл hig-components-layout запускает скрипты?

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

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

Сравнить hig-components-layout с