hig-components-controls
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
About this skill
The `hig-components-controls` skill provides a crucial directive for an AI agent: to first reference the `.claude/apple-design-context.md` file before generating responses or asking clarifying questions related to UI/UX design. This skill ensures that the agent's interactions and advice are consistently grounded in the principles and guidelines outlined in the Apple Human Interface Guidelines, particularly concerning selection and input controls. By leveraging this pre-existing context, the agent can avoid redundant questions, provide more accurate and consistent design recommendations, and enhance the quality of its guidance on topics like clear state indication, preference for standard system controls, and accessibility in UI/UX.
Best use case
An AI agent assisting developers or designers with UI/UX questions specific to Apple platforms; Ensuring consistency and adherence to Apple's design principles in an AI agent's design recommendations; Training an AI agent to leverage specific knowledge bases for domain-specific interactions.
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
The AI agent provides design advice that is well-aligned with Apple HIG principles; The agent asks fewer redundant questions related to design, having efficiently leveraged its internal context; More accurate, consistent, and helpful design recommendations are delivered to the user.
Practical example
Example input
How should I design a selection control for multiple items in an iOS app, adhering to Apple's guidelines?
Example output
*(Agent internally consults `.claude/apple-design-context.md`)* "According to Apple HIG, selection controls for multiple items should clearly indicate their current state. For lists, checkboxes are a common and intuitive choice. Ensure that selections are easily reversible and that the visual feedback is immediate. Remember to prefer standard system controls where possible for consistency and accessibility across the Apple ecosystem. If custom controls are necessary, they should meticulously follow HIG principles regarding clarity and ease of use."
When to use this skill
- When an AI agent is asked questions about UI/UX design, particularly concerning Apple products or the Apple Human Interface Guidelines; When the agent needs to provide design recommendations for interactive elements like selection and input controls; When it's crucial for the AI agent's responses to be consistent with established design principles and best practices.
When not to use this skill
- When the AI agent's task does not involve design-related inquiries or the application of Apple HIG; When the `.claude/apple-design-context.md` file is not available, irrelevant, or outdated; If the agent's primary function is not to answer questions or provide context-aware responses, but rather to perform direct actions.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/hig-components-controls/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How hig-components-controls Compares
| Feature / Agent | hig-components-controls | Standard Approach |
|---|---|---|
| Platform Support | Claude | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Which AI agents support this skill?
This skill is designed for Claude.
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agent for YouTube Script Writing
Find AI agent skills for YouTube script writing, video research, content outlining, and repeatable channel production workflows.
SKILL.md Source
# Apple HIG: Selection and Input Controls Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered. ## Key Principles 1. **Clear current state.** Users must always see what is selected. Toggles show on/off, segmented controls highlight the active segment, pickers display the current selection. 2. **Prefer standard system controls.** Built-in controls provide consistency and accessibility. Custom controls introduce a learning curve and may break assistive features. 3. **Toggles for binary states.** On or off. In Settings-style screens, changes take effect immediately. In modal forms, changes commit on confirmation. 4. **Segmented controls for mutually exclusive options.** 2-5 items, roughly equal importance, short labels. 5. **Sliders for continuous values.** When precise numeric input is not critical. Provide min/max labels or icons for range endpoints. 6. **Pickers for long option lists.** Too many options for a segmented control. Works well for dates, times, structured data. 7. **Steppers for small, precise adjustments.** Increment/decrement in fixed steps. Display current value next to the stepper with reasonable min/max bounds. 8. **Text fields for short, single-line input.** Text views for multi-line. Configure keyboard type to match expected input (email, URL, number). 9. **Combo boxes: text input + selection list.** macOS. Type a value or choose from a predefined list when custom values are valid. 10. **Token fields: discrete values as visual tokens.** macOS. For email recipients, tags, or collections of discrete items. 11. **Gauges and rating indicators display values.** Gauges show a value within a range. Rating indicators show ratings (often stars). Display-only; use interactive variants for input. ## Reference Index | Reference | Topic | Key content | |---|---|---| | [controls.md](references/controls.md) | General controls | States, affordance, system controls | | [toggles.md](references/toggles.md) | Toggles | On/off, immediate effect | | [segmented-controls.md](references/segmented-controls.md) | Segmented controls | 2-5 options, equal weight | | [sliders.md](references/sliders.md) | Sliders | Continuous range, min/max labels | | [steppers.md](references/steppers.md) | Steppers | Fixed steps, bounded values | | [pickers.md](references/pickers.md) | Pickers | Dates, times, long option sets | | [combo-boxes.md](references/combo-boxes.md) | Combo boxes | macOS, type or select, custom values | | [text-fields.md](references/text-fields.md) | Text fields | Short input, keyboard types, validation | | [text-views.md](references/text-views.md) | Text views | Multi-line, comments, descriptions | | [labels.md](references/labels.md) | Labels | Placement, VoiceOver support | | [token-fields.md](references/token-fields.md) | Token fields | macOS, chips, tags, recipients | | [virtual-keyboards.md](references/virtual-keyboards.md) | Virtual keyboards | Email, URL, number keyboard types | | [rating-indicators.md](references/rating-indicators.md) | Rating indicators | Star ratings, display-only | | [gauges.md](references/gauges.md) | Gauges | Level indicators, range display | ## Output Format 1. **Control recommendation with rationale** and why alternatives are less suitable. 2. **State management** -- how the control communicates current state and whether changes apply immediately or on confirmation. 3. **Validation approach** -- when to show errors and how to communicate rules. 4. **Accessibility** -- labels, traits, hints for VoiceOver. ## Questions to Ask 1. What type of data? (Boolean, choice from fixed set, numeric, free-form text?) 2. How many options? 3. Which platforms? (Combo boxes and token fields are macOS-only) 4. Settings screen or inline form? ## Related Skills - **hig-components-menus** -- Buttons and pop-up buttons complementing selection controls - **hig-components-dialogs** -- Sheets and popovers containing forms - **hig-components-search** -- Search fields sharing text input patterns - **hig-inputs** -- Keyboard, pointer, gesture interactions with controls - **hig-foundations** -- Typography, color, layout for control styling --- *Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)* ## When to Use This skill is applicable to execute the workflow or actions described in the overview.
Related Skills
hig-components-status
Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings.
hig-components-menus
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
hig-components-layout
Apple Human Interface Guidelines for layout and navigation components.
hig-components-system
Apple HIG guidance for system experience components: widgets, live activities, notifications, complications, home screen quick actions, top shelf, watch faces, app clips, and app shortcuts.
hig-components-dialogs
Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views.
hig-components-content
Apple Human Interface Guidelines for content display components.
core-components
Core component library and design system patterns. Use when building UI, using design tokens, or working with the component library.
nft-standards
Master ERC-721 and ERC-1155 NFT standards, metadata best practices, and advanced NFT features.
nextjs-app-router-patterns
Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.
new-rails-project
Create a new Rails project
networkx
NetworkX is a Python package for creating, manipulating, and analyzing complex networks and graphs.
network-engineer
Expert network engineer specializing in modern cloud networking, security architectures, and performance optimization.