{"id":"1c846e75-b7f7-45a0-8272-1a4cc31c83c9","shortId":"dxhebJ","kind":"skill","title":"hig-components-dialogs","tagline":">-","description":"# Apple HIG: Presentation Components\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Alerts: sparingly, for critical situations.** Errors needing attention, destructive action confirmations, or information requiring acknowledgment. They interrupt flow and demand a response.\n\n2. **Sheets: focused tasks that maintain context.** Slides in from the edge (or attaches to a window on macOS). Use for creating items, editing settings, multi-step forms.\n\n3. **Popovers: non-modal on iPad and Mac.** Appear next to the trigger element, dismissed by tapping outside. For additional information, options, or controls without taking over the screen.\n\n4. **Action sheets: choosing among actions.** Present when picking from multiple actions, especially if one is destructive. iPhone: slide up from bottom. iPad: appear as popovers.\n\n5. **Minimize interruptions.** Before reaching for a modal, consider inline presentation or making the action undoable instead.\n\n6. **Concise, actionable alert text.** Short descriptive title. Brief message body if needed. Button labels should be specific verbs (\"Delete\", \"Save\"), not \"OK\".\n\n7. **Mark destructive actions clearly.** Destructive button style (red text). Place destructive buttons where users are less likely to tap reflexively.\n\n8. **Provide a cancel option** for alerts and action sheets with multiple actions. On action sheets, cancel appears at the bottom, separated.\n\n9. **Digit entry: focused and accessible.** Appropriately sized input fields, automatic advancement between digits, support for paste and autofill.\n\n10. **Adapt presentation to platform.** The same interaction may use different components on iPhone, iPad, Mac, and visionOS.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [alerts.md](references/alerts.md) | Alerts | Button ordering, title/message text, confirmation, destructive actions |\n| [action-sheets.md](references/action-sheets.md) | Action sheets | Multiple actions, cancel option, destructive handling |\n| [popovers.md](references/popovers.md) | Popovers | Non-modal, dismiss on tap outside, iPad/Mac |\n| [sheets.md](references/sheets.md) | Sheets | Modal task, context preservation |\n| [digit-entry-views.md](references/digit-entry-views.md) | Digit entry | PIN input, autofill, auto-advance |\n\n## Output Format\n\n1. **Recommended presentation type with rationale** and why alternatives are less suitable.\n2. **Content guidelines** -- title, message, button labels per Apple's tone and brevity rules.\n3. **Dismiss behavior** -- how the user dismisses and what happens (save, discard, cancel).\n4. **Alternatives** -- when the scenario might not need a modal at all (inline feedback, undo, progressive disclosure).\n\n## Questions to Ask\n\n1. What information or action does the presentation need?\n2. Blocking or non-blocking?\n3. Which platforms?\n4. How often does this appear?\n\n## Related Skills\n\n- **hig-components-menus** -- Buttons and toolbar items triggering presentations\n- **hig-components-controls** -- Input controls within sheets and popovers\n- **hig-components-search** -- Search and navigation within presented views\n- **hig-patterns** -- Modality, interruptions, user flow management\n- **hig-foundations** -- Color, typography, layout for presentation components\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*","tags":["hig","components","dialogs","doctor","raintree-technology","accessibility","agent-skills","ai-agents","apple","apple-design","audit","claude-code"],"capabilities":["skill","source-raintree-technology","skill-hig-components-dialogs","topic-accessibility","topic-agent-skills","topic-ai-agents","topic-apple","topic-apple-design","topic-audit","topic-claude-code","topic-cursor","topic-hig","topic-ios","topic-macos","topic-skills"],"categories":["hig-doctor"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/raintree-technology/hig-doctor/hig-components-dialogs","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add raintree-technology/hig-doctor","source_repo":"https://github.com/raintree-technology/hig-doctor","install_from":"skills.sh"}},"qualityScore":"0.472","qualityRationale":"deterministic score 0.47 from registry signals: · indexed on github topic:agent-skills · 45 github stars · SKILL.md body (3,508 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-02T00:57:09.245Z","embedding":null,"createdAt":"2026-04-18T22:18:05.326Z","updatedAt":"2026-05-02T00:57:09.245Z","lastSeenAt":"2026-05-02T00:57:09.245Z","tsv":"'1':28,312,371 '10':238 '2':51,324,380 '3':80,338,386 '4':110,351,389 '5':136 '6':153 '7':176 '8':197 '9':219 'access':224 'acknowledg':43 'action':38,111,115,121,150,155,179,205,209,211,271,274,277,375 'action-sheets.md':272 'adapt':239 'addit':100 'advanc':230,309 'alert':29,156,203,264 'alerts.md':262 'alreadi':24 'altern':320,352 'among':114 'appear':89,133,214,394 'appl':5,332 'appropri':225 'ask':13,20,370 'attach':64 'attent':36 'auto':308 'auto-adv':307 'autofil':237,306 'automat':229 'behavior':340 'block':381,385 'bodi':163 'bottom':131,217 'breviti':336 'brief':161 'built':444 'button':166,182,188,265,329,401 'cancel':200,213,278,350 'check':9 'choos':113 'claude/apple-design-context.md':11 'clear':180 'color':438 'compon':3,8,249,399,409,419,443 'concis':154 'confirm':39,269 'consid':144 'content':261,325 'context':17,57,298 'control':104,410,412 'cover':25 'creat':72 'critic':32 'delet':172 'demand':48 'descript':159 'destruct':37,126,178,181,187,270,280 'develop':450 'dialog':4 'differ':248 'digit':220,232,302 'digit-entry-views.md':300 'discard':349 'disclosur':367 'dismiss':95,288,339,344 'edg':62 'edit':74 'element':94 'entri':221,303 'error':34 'especi':122 'exist':16 'feedback':364 'field':228 'flow':46,433 'focus':53,222 'form':79 'format':311 'foundat':437 'guidelin':326 'handl':281 'happen':347 'hig':2,6,398,408,418,428,436 'hig-components-control':407 'hig-components-dialog':1 'hig-components-menus':397 'hig-components-search':417 'hig-found':435 'hig-pattern':427 'index':257 'inform':22,41,101,373 'inlin':145,363 'input':227,305,411 'instead':152 'interact':245 'interrupt':45,138,431 'ipad':86,132,252 'ipad/mac':292 'iphon':127,251 'item':73,404 'key':26,260 'label':167,330 'layout':440 'less':192,322 'like':193 'mac':88,253 'maco':69 'maintain':56 'make':148 'manag':434 'mark':177 'may':246 'menus':400 'messag':162,328 'might':356 'minim':137 'modal':84,143,287,296,360,430 'multi':77 'multi-step':76 'multipl':120,208,276 'navig':423 'need':35,165,358,379 'next':90 'non':83,286,384 'non-block':383 'non-mod':82,285 'often':391 'ok':175 'one':124 'option':102,201,279 'order':266 'output':310 'outsid':98,291 'past':235 'pattern':429 'per':331 'pick':118 'pin':304 'place':186 'platform':242,388 'popov':81,135,284,416 'popovers.md':282 'present':7,116,146,240,314,378,406,425,442 'preserv':299 'principl':27 'progress':366 'provid':198 'question':14,368 'raintre':446 'raintree.technology':448,452 'rational':317 'reach':140 'recommend':313 'red':184 'refer':256,258 'references/action-sheets.md':273 'references/alerts.md':263 'references/digit-entry-views.md':301 'references/popovers.md':283 'references/sheets.md':294 'reflex':196 'relat':395 'requir':42 'respons':50 'rule':337 'save':173,348 'scenario':355 'screen':109 'search':420,421 'separ':218 'set':75 'sheet':52,112,206,212,275,295,414 'sheets.md':293 'short':158 'situat':33 'size':226 'skill':396 'skill-hig-components-dialogs' 'slide':58,128 'source-raintree-technology' 'spare':30 'specif':170 'step':78 'style':183 'suitabl':323 'support':233 'take':106 'tap':97,195,290 'task':54,297 'technolog':447 'text':157,185,268 'titl':160,327 'title/message':267 'tone':334 'tool':451 'toolbar':403 'topic':259 'topic-accessibility' 'topic-agent-skills' 'topic-ai-agents' 'topic-apple' 'topic-apple-design' 'topic-audit' 'topic-claude-code' 'topic-cursor' 'topic-hig' 'topic-ios' 'topic-macos' 'topic-skills' 'trigger':93,405 'type':315 'typographi':439 'undo':365 'undoabl':151 'use':15,70,247 'user':190,343,432 'verb':171 'view':426 'visiono':255 'window':67 'within':413,424 'without':105","prices":[{"id":"8f374a99-b45a-4d9e-831e-842ddb867999","listingId":"1c846e75-b7f7-45a0-8272-1a4cc31c83c9","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"raintree-technology","category":"hig-doctor","install_from":"skills.sh"},"createdAt":"2026-04-18T22:18:05.326Z"}],"sources":[{"listingId":"1c846e75-b7f7-45a0-8272-1a4cc31c83c9","source":"github","sourceId":"raintree-technology/hig-doctor/hig-components-dialogs","sourceUrl":"https://github.com/raintree-technology/hig-doctor/tree/main/skills/hig-components-dialogs","isPrimary":false,"firstSeenAt":"2026-04-18T22:18:05.326Z","lastSeenAt":"2026-05-02T00:57:09.245Z"}],"details":{"listingId":"1c846e75-b7f7-45a0-8272-1a4cc31c83c9","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"raintree-technology","slug":"hig-components-dialogs","github":{"repo":"raintree-technology/hig-doctor","stars":45,"topics":["accessibility","agent-skills","ai-agents","apple","apple-design","audit","claude-code","cursor","hig","human-interface-guidelines","ios","macos","skills","swiftui","tvos","uikit","visionos","watchos"],"license":"other","html_url":"https://github.com/raintree-technology/hig-doctor","pushed_at":"2026-04-28T22:36:54Z","description":"Apple HIG audit CLI + 14 agent skills for AI coding assistants — score any project for HIG compliance across 12 frameworks","skill_md_sha":"464021a65d8ed474dbd6795291af36f8b3684ac6","skill_md_path":"skills/hig-components-dialogs/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/raintree-technology/hig-doctor/tree/main/skills/hig-components-dialogs"},"layout":"multi","source":"github","category":"hig-doctor","frontmatter":{"name":"hig-components-dialogs","description":">-"},"skills_sh_url":"https://skills.sh/raintree-technology/hig-doctor/hig-components-dialogs"},"updatedAt":"2026-05-02T00:57:09.245Z"}}