# Hig Patterns > Patrones HIG de Apple: onboarding, launch, loading, modalidad, feedback, undo, settings y notificaciones. Fuente: https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-patterns Markdown: https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-patterns.md Repositorio: https://github.com/raintree-technology/hig-doctor Autor: raintree-technology Licencia: MIT Actualizado: hace 3 meses Coste de contexto: 227 tok instalada, 2k tok al activarse, 14.6k tok con todos los archivos del bundle Bundle: 26 archivos, 57 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent claude-code # Cursor npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent cursor # Codex npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent codex # Gemini CLI npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent gemini # Windsurf npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent windsurf # Cline npx -y skills add raintree-technology/hig-doctor --skill hig-patterns --agent cline ``` ## Qué hace - Aplica patrones HIG de interacción: onboarding, launch, loading, drag and drop, settings, modalidad, feedback y undo. - Minimiza modalidad; prefiere undo a «¿estás seguro?»; launch rápido sin splash; onboarding breve y saltables. - Aplaza el sign-in; no uses notificaciones para marketing. ## Cuándo usarla - El usuario pregunta por onboarding, loading, modal, errores, permisos, progreso o confirmar un delete. - Hay que diseñar settings, haptics, drag and drop, sharing o gestión de cuentas. ## Qué la activa - "¿Cómo debe ser el onboarding?" - "¿Debo usar un modal aquí?" - "Cuándo pedir permisos" - "La forma correcta de confirmar un borrado" ## Archivos - SKILL.md — 8 KB - references/charting-data.md — 2 KB - references/collaboration-and-sharing.md — 2 KB - references/drag-and-drop.md — 3 KB - references/entering-data.md — 2 KB - references/feedback.md — 2 KB - references/file-management.md — 3 KB - references/going-full-screen.md — 2 KB - references/launching.md — 2 KB - references/live-viewing-apps.md — 3 KB - references/loading.md — 1 KB - references/managing-accounts.md — 3 KB - references/managing-notifications.md — 2 KB - references/modality.md — 2 KB - references/multitasking.md — 2 KB - references/offering-help.md — 2 KB - references/onboarding.md — 2 KB - references/playing-audio.md — 2 KB - references/playing-haptics.md — 3 KB - references/playing-video.md — 4 KB - references/printing.md — 1 KB - references/ratings-and-reviews.md — 1 KB - references/searching.md — 1 KB - references/settings.md — 2 KB - references/undo-and-redo.md — 1 KB - references/workouts.md — 1 KB ## SKILL.md Reproducido tal cual desde raintree-technology/hig-doctor bajo MIT. Esta sección es el documento original y está en inglés. # Apple HIG: Interaction Patterns Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered. ## Key Principles 1. **Minimize modality.** Use modality only when it is critical to get attention, a task must be completed or abandoned, or saving changes is essential. Prefer non-modal alternatives. 2. **Provide clear feedback.** Every action should produce visible, audible, or haptic response. Activity indicators for indeterminate waits, progress bars for determinate, haptics for physical confirmation. 3. **Support undo over confirmation dialogs.** Destructive actions should be reversible when possible. Undo is almost always better than "Are you sure?" 4. **Launch quickly.** Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state. 5. **Defer sign-in.** Let users explore before requiring account creation. Support Sign in with Apple and passkeys. 6. **Keep onboarding brief.** Three screens max. Let users skip. Teach through progressive disclosure and contextual hints. 7. **Use progressive disclosure.** Show essentials first, let users drill into details. Don't overwhelm with every option on one screen. 8. **Respect user attention.** Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing. ## Reference Index | Reference | Topic | Key content | |---|---|---| | [charting-data.md](references/charting-data.md) | Charting Data | Data visualization patterns, accessible charts, interactive elements | | [collaboration-and-sharing.md](references/collaboration-and-sharing.md) | Collaboration & Sharing | Share sheets, activity views, collaborative editing, SharePlay | | [drag-and-drop.md](references/drag-and-drop.md) | Drag and Drop | Drag sources, drop targets, spring loading, multi-item drag, visual feedback | | [entering-data.md](references/entering-data.md) | Entering Data | Text fields, pickers, steppers, input validation, keyboard types, autofill | | [feedback.md](references/feedback.md) | Feedback | Alerts, action sheets, haptic patterns, sound feedback, visual indicators | | [file-management.md](references/file-management.md) | File Management | Document browser, file providers, iCloud integration, document lifecycle | | [going-full-screen.md](references/going-full-screen.md) | Going Full Screen | Full-screen transitions, immersive content, exiting full screen | | [launching.md](references/launching.md) | Launching | Launch screens, state restoration, cold vs warm launch | | [live-viewing-apps.md](references/live-viewing-apps.md) | Live Viewing Apps | Live content display, real-time updates, Live Activities, Dynamic Island | | [loading.md](references/loading.md) | Loading | Activity indicators, progress views, skeleton screens, lazy loading, placeholders | | [managing-accounts.md](references/managing-accounts.md) | Managing Accounts | Sign in with Apple, passkeys, account creation, credential autofill, account deletion | | [managing-notifications.md](references/managing-notifications.md) | Managing Notifications | Permission requests, grouping, actionable notifications, provisional delivery | | [modality.md](references/modality.md) | Modality | Sheets, alerts, popovers, full-screen modals, when to use each | | [multitasking.md](references/multitasking.md) | Multitasking | iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions | | [offering-help.md](references/offering-help.md) | Offering Help | Contextual tips, onboarding hints, help menus, support links | | [onboarding.md](references/onboarding.md) | Onboarding | Welcome screens, feature highlights, progressive onboarding, skip options | | [playing-audio.md](references/playing-audio.md) | Playing Audio | Audio sessions, background audio, Now Playing, audio routing, interruptions | | [playing-haptics.md](references/playing-haptics.md) | Playing Haptics | Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics | | [playing-video.md](references/playing-video.md) | Playing Video | Video player controls, picture-in-picture, AirPlay, full-screen video | | [printing.md](references/printing.md) | Printing | Print dialogs, page setup, AirPrint integration | | [ratings-and-reviews.md](references/ratings-and-reviews.md) | Ratings & Reviews | SKStoreReviewController, timing, frequency limits, in-app feedback | | [searching.md](references/searching.md) | Searching | Search bars, suggestions, scoped search, results display, recents | | [settings.md](references/settings.md) | Settings | In-app vs Settings app, preference organization, toggles, defaults | | [undo-and-redo.md](references/undo-and-redo.md) | Undo and Redo | Shake to undo, undo/redo stack, multi-level undo | | [workouts.md](references/workouts.md) | Workouts | Workout sessions, live metrics, Always On display, summaries, HealthKit | ## Pattern Selection Guide | User Goal | Recommended Pattern | Avoid | |---|---|---| | First app experience | Brief onboarding (max 3 screens) + progressive disclosure | Long tutorials, mandatory sign-up | | Waiting for content | Skeleton screens or progress indicators | Blocking spinners with no context | | Confirming destructive action | Undo support | Excessive "Are you sure?" dialogs | | Collecting user input | Inline validation, smart defaults, autofill | Modal forms for simple inputs | | Requesting permissions | Contextual, just-in-time with explanation | Requesting all permissions at launch | | Providing feedback | Haptics + visual indicator | Silent actions with no confirmation | | Organizing preferences | In-app settings for frequent items | Burying all settings in system Settings app | ## Output Format 1. **Recommended pattern with rationale**, citing the relevant reference file. 2. **Step-by-step implementation** covering each screen or state. 3. **Platform variations** for targeted platforms. 4. **Common pitfalls** that violate HIG for this pattern. ## Questions to Ask 1. Where in the app does this pattern appear? What comes before and after? 2. Which platforms? 3. Designing from scratch or improving an existing flow? 4. Does this involve sensitive actions? (Destructive operations, payments, permissions) ## Related Skills - **hig-foundations** -- Accessibility, color, typography, and privacy principles underlying every pattern - **hig-platforms** -- Platform-specific pattern implementations - **hig-components-layout** -- Structural components (tab bars, sidebars, split views) for navigation patterns - **hig-components-content** -- Content display within patterns (charts, collections, search results) --- *Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)* ## Dónde encaja - Categoría: [Diseño y UI](https://skillsagentes.com/categorias/diseno-ui.md) — Sistemas de diseño, trabajo con componentes y acabado visual. - Creador: [raintree-technology](https://skillsagentes.com/creators/raintree-technology.md) — 14 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Hig Components System](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-system.md): HIG de Apple para experiencias de sistema: widgets, Live Activities, notificaciones, complications, App Clips y shortcuts. - [Hig Components Controls](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-controls.md): HIG de Apple para controles de selección y entrada: pickers, toggles, sliders, steppers, segmented controls, campos de texto y teclados virtuales. - [Hig Components Dialogs](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-dialogs.md): HIG de Apple para presentación: alerts, action sheets, popovers, sheets y digit entry. Cuándo interrumpir y cómo confirmar acciones destructivas. - [Hig Components Layout](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-layout.md): HIG de Apple para layout y navegación: sidebars, split views, tab bars, lists, tables y windows, adaptados a cada tamaño de pantalla. - [Hig Components Content](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-content.md): HIG de Apple para componentes de contenido: charts, collection views, imágenes, web views, lockups y visualización de datos. ## Skills relacionadas - [Hig Components Content](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-content.md): HIG de Apple para componentes de contenido: charts, collection views, imágenes, web views, lockups y visualización de datos. - [Hig Components System](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-system.md): HIG de Apple para experiencias de sistema: widgets, Live Activities, notificaciones, complications, App Clips y shortcuts. - [Hig Components Controls](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-controls.md): HIG de Apple para controles de selección y entrada: pickers, toggles, sliders, steppers, segmented controls, campos de texto y teclados virtuales. - [Hig Components Dialogs](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-dialogs.md): HIG de Apple para presentación: alerts, action sheets, popovers, sheets y digit entry. Cuándo interrumpir y cómo confirmar acciones destructivas. - [Hig Components Layout](https://skillsagentes.com/skills/raintree-technology/hig-doctor/hig-components-layout.md): HIG de Apple para layout y navegación: sidebars, split views, tab bars, lists, tables y windows, adaptados a cada tamaño de pantalla. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)