[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-ad131498-7965-427b-9b5e-62c913bb8439":3,"$fcuG9HvLhPaVjrr8e-XGAbfhUDTFKRk1aqMFr9TM2qa8":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"ad131498-7965-427b-9b5e-62c913bb8439","hig-inputs","检查在提问之前是否已查看.claude\u002Fapple-design-context.md。使用现有上下文，只询问尚未涵盖的信息。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: hig-inputs\ndescription: \"Check for .claude\u002Fapple-design-context.md before asking questions. Use existing context and only ask for information not already covered.\"\nrisk: unknown\nsource: community\ndate_added: '2026-02-27'\n---\n\n# Apple HIG: Inputs\n\nCheck for `.claude\u002Fapple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n### General\n\n1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.\n\n2. **Consistent feedback for every input action.** Visible, audible, or haptic response.\n\n### Gestures\n\n3. **Standard gestures must behave consistently.** Tap to activate, swipe to scroll\u002Fnavigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).\n\n4. **Use standard recognizers; keep custom gestures discoverable.** Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.\n\n### Apple Pencil\n\n5. **Precision drawing, markup, and selection.** Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).\n\n6. **Support Scribble in text fields.** Users expect to write with Pencil in any text input.\n\n### Keyboards\n\n7. **Keyboard shortcuts and full navigation.** Standard shortcuts (Cmd+C\u002FV\u002FZ) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.\n\n8. **Respect the software keyboard.** Adjust layout when keyboard appears. Use keyboard-avoidance APIs.\n\n### Game Controllers\n\n9. **MFi controllers with on-screen fallbacks.** Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.\n\n### Pointer and Trackpad\n\n10. **Native feel.** Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.\n\n### Digital Crown\n\n11. **Primary scrolling and value-adjustment input on watchOS.** Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.\n\n### Eyes and Spatial (visionOS)\n\n12. **Look and pinch.** Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.\n\n### Focus System\n\n13. **Critical for tvOS and visionOS.** Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.\n\n### Remotes\n\n14. **Siri Remote: limited surface.** Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.\n\n### Motion and Nearby\n\n15. **Gyroscope, accelerometer, UWB: use judiciously.** Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [gestures.md](references\u002Fgestures.md) | Touch gestures | Tap, swipe, pinch, long press, drag, system gestures |\n| [apple-pencil-and-scribble.md](references\u002Fapple-pencil-and-scribble.md) | Apple Pencil | Precision, pressure, tilt, hover, handwriting |\n| [keyboards.md](references\u002Fkeyboards.md) | Keyboards | Shortcuts, navigation, software keyboard, Command key |\n| [game-controls.md](references\u002Fgame-controls.md) | Game controllers | MFi, extended gamepad, remapping, fallbacks |\n| [pointing-devices.md](references\u002Fpointing-devices.md) | Pointer\u002Ftrackpad | Hover, cursor morphing, trackpad gestures |\n| [digital-crown.md](references\u002Fdigital-crown.md) | Digital Crown | Scrolling, value adjustment, haptic detents |\n| [eyes.md](references\u002Feyes.md) | Eye tracking | Look and tap, gaze targeting, hit target sizing |\n| [spatial-interactions.md](references\u002Fspatial-interactions.md) | Spatial input | Hand gestures, direct manipulation, immersive input |\n| [focus-and-selection.md](references\u002Ffocus-and-selection.md) | Focus system | tvOS\u002FvisionOS navigation, focus indicators, groups |\n| [remotes.md](references\u002Fremotes.md) | Remotes | Touch surface, clickpad, simple interactions |\n| [gyro-and-accelerometer.md](references\u002Fgyro-and-accelerometer.md) | Motion sensors | Gyroscope, accelerometer, calibration, gaming |\n| [nearby-interactions.md](references\u002Fnearby-interactions.md) | Nearby interactions | U1 chip, directional finding, proximity triggers |\n| [camera-control.md](references\u002Fcamera-control.md) | Camera Control | iPhone camera hardware button, quick launch |\n\n## Output Format\n\n1. **Input method recommendations by platform** and how they interact.\n2. **Gesture specification table** -- standard and custom gestures with expected behaviors.\n3. **Keyboard shortcut recommendations** following system conventions.\n4. **Accessibility input alternatives** for VoiceOver, Switch Control, etc.\n\n## Questions to Ask\n\n1. Which platforms and input devices?\n2. Productivity or casual app?\n3. Custom gestures in the design?\n4. Game controller support needed?\n\n## Related Skills\n\n- **hig-components-status** -- Progress indicators responding to input (pull-to-refresh)\n- **hig-components-system** -- System experiences with unique input constraints\n- **hig-technologies** -- VoiceOver, Siri voice input, ARKit spatial gesture context\n\n---\n\n*Built by [Raintree Technology](https:\u002F\u002Fraintree.technology) · [More developer tools](https:\u002F\u002Fraintree.technology)*\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,86,1253,"2026-05-16 13:22:06",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"cb93fe8a-b1a9-4ee7-a6f9-71dd52a0b408","1.0.0","hig-inputs.zip",64880,"uploads\u002Fskills\u002Fad131498-7965-427b-9b5e-62c913bb8439\u002Fhig-inputs.zip","ff4c1e53d3d0076e62d230d66644572b5ea8e261d14e081012ddd478112bbff2","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":6021},{\"path\":\"references\u002Fapple-pencil-and-scribble.md\",\"isDirectory\":false,\"size\":20768},{\"path\":\"references\u002Fcamera-control.md\",\"isDirectory\":false,\"size\":10142},{\"path\":\"references\u002Fdigital-crown.md\",\"isDirectory\":false,\"size\":6860},{\"path\":\"references\u002Feyes.md\",\"isDirectory\":false,\"size\":13617},{\"path\":\"references\u002Ffocus-and-selection.md\",\"isDirectory\":false,\"size\":16244},{\"path\":\"references\u002Fgame-controls.md\",\"isDirectory\":false,\"size\":17004},{\"path\":\"references\u002Fgestures.md\",\"isDirectory\":false,\"size\":22633},{\"path\":\"references\u002Fgyro-and-accelerometer.md\",\"isDirectory\":false,\"size\":3033},{\"path\":\"references\u002Fkeyboards.md\",\"isDirectory\":false,\"size\":20684},{\"path\":\"references\u002Fnearby-interactions.md\",\"isDirectory\":false,\"size\":7879},{\"path\":\"references\u002Fpointing-devices.md\",\"isDirectory\":false,\"size\":30764},{\"path\":\"references\u002Fremotes.md\",\"isDirectory\":false,\"size\":7685},{\"path\":\"references\u002Fspatial-interactions.md\",\"isDirectory\":false,\"size\":7880}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]