hig-inputs
Skill này làm gì
Công cụ này giúp thiết kế ứng dụng cho thiết bị Apple bằng cách xem xét cách mọi người tương tác với chúng. Nó bao gồm nhiều phương thức nhập như cảm ứng, bàn phím, bút và thậm chí giọng nói.
Khi nào nên dùng
- ✓Khi thiết kế một ứng dụng mới cho iPhone, iPad hoặc Mac.
- ✓Khi quyết định cách người dùng điều khiển ứng dụng của bạn.
- ✓Khi đảm bảo ứng dụng hoạt động tốt trên các thiết bị Apple khác nhau.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-inputs/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi nên thiết kế tương tác cho ứng dụng vẽ trên iPad như thế nào?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ kiểm tra hướng dẫn của Apple về tương tác người dùng với thiết bị. Nó gợi ý phương thức nhập tốt nhất (cảm ứng, bút, bàn phím, v.v.) cho từng nền tảng.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Apple HIG: Inputs
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Key Principles
General
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.
Consistent feedback for every input action. Visible, audible, or haptic response.
Gestures
Standard gestures must behave consistently. Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).
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.
Apple Pencil
Precision drawing, markup, and selection. Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).
Support Scribble in text fields. Users expect to write with Pencil in any text input.
Keyboards
Keyboard shortcuts and full navigation. Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.
Respect the software keyboard. Adjust layout when keyboard appears. Use keyboard-avoidance APIs.
Game Controllers
- MFi controllers with on-screen fallbacks. Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.
Pointer and Trackpad
- Native feel. Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.
Digital Crown
- Primary scrolling and value-adjustment input on watchOS. Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.
Eyes and Spatial (visionOS)
- Look and pinch. Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.
Focus System
- Critical for tvOS and visionOS. Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.
Remotes
- Siri Remote: limited surface. Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.
Motion and Nearby
- 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.
Reference Index
| Reference | Topic | Key content |
|---|---|---|
| gestures.md | Touch gestures | Tap, swipe, pinch, long press, drag, system gestures |
| apple-pencil-and-scribble.md | Apple Pencil | Precision, pressure, tilt, hover, handwriting |
| keyboards.md | Keyboards | Shortcuts, navigation, software keyboard, Command key |
| game-controls.md | Game controllers | MFi, extended gamepad, remapping, fallbacks |
| pointing-devices.md | Pointer/trackpad | Hover, cursor morphing, trackpad gestures |
| digital-crown.md | Digital Crown | Scrolling, value adjustment, haptic detents |
| eyes.md | Eye tracking | Look and tap, gaze targeting, hit target sizing |
| spatial-interactions.md | Spatial input | Hand gestures, direct manipulation, immersive input |
| focus-and-selection.md | Focus system | tvOS/visionOS navigation, focus indicators, groups |
| remotes.md | Remotes | Touch surface, clickpad, simple interactions |
| gyro-and-accelerometer.md | Motion sensors | Gyroscope, accelerometer, calibration, gaming |
| nearby-interactions.md | Nearby interactions | U1 chip, directional finding, proximity triggers |
| camera-control.md | Camera Control | iPhone camera hardware button, quick launch |
Output Format
…
Câu hỏi thường gặp
“Standard gestures” là gì?
Đây là các thao tác phổ biến mà người dùng đã quen, như chạm để chọn, vuốt để cuộn hoặc chụm để phóng to.
Tại sao cần xem xét các phương thức nhập khác nhau?
Vì mỗi thiết bị Apple (iPhone, iPad, Mac, Apple Watch) được dùng theo cách khác nhau, và ứng dụng cần hoạt động tốt trên tất cả.
“Focus System” là gì?
Đây là hệ thống giúp dẫn hướng sự chú ý của người dùng trên các thiết bị như Apple TV và visionOS, cho biết phần tử nào đang được chọn và cách di chuyển giữa chúng.
Chi tiết
Mô tả gốc của tác giả
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4819
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.