Apple HIG: Project Context
Create and maintain .claude/apple-design-context.md so other HIG skills can skip redundant questions.
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Gathering Context
Before asking questions, auto-discover context from:
- README.md -- Product description, platform targets
- Package.swift / .xcodeproj -- Supported platforms, minimum OS versions, dependencies
- Info.plist -- App category, required capabilities, supported orientations
- Existing code -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)
- Assets.xcassets -- Color assets, icon sets, dark mode variants
- Accessibility audit -- Grep for accessibility modifiers/attributes
Present findings and ask the user to confirm or correct. Then gather anything still missing:
1. Product Overview
- What does the app do? (one sentence)
- Category (productivity, social, health, game, utility, etc.)
- Stage (concept, development, shipped, redesign)
2. Target Platforms
- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)
- Minimum OS versions
- Universal or platform-specific?
3. Technology Stack
- UI framework: SwiftUI, UIKit, AppKit, or mixed?
- Architecture: single-window, multi-window, document-based?
- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)
4. Design System
- System defaults or custom design system?
- Brand colors, fonts, icon style?
- Dark mode and Dynamic Type support status
5. Accessibility Requirements
- Target level (baseline, enhanced, comprehensive)
- Specific considerations (VoiceOver, Switch Control, etc.)
- Regulatory requirements (WCAG, Section 508)
6. User Context
- Primary personas (1-3)
- Key use cases and environments (desk, on-the-go, glanceable, immersive)
- Known pain points or design challenges
7. Existing Design Assets
- Figma/Sketch files?
- Apple Design Resources in use?
- Existing component library?
Context Document Template
Generate .claude/apple-design-context.md using this structure:
# Apple Design Context
## Product
- **Name**: [App name]
- **Description**: [One sentence]
- **Category**: [Category]
- **Stage**: [Concept / Development / Shipped / Redesign]
## Platforms
| Platform | Supported | Min OS | Notes |
|----------|-----------|--------|-------|
| iOS | Yes/No | | |
| iPadOS | Yes/No | | |
| macOS | Yes/No | | |
| tvOS | Yes/No | | |
| watchOS | Yes/No | | |
| visionOS | Yes/No | | |
## Technology
- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]
- **Architecture**: [Single-window / Multi-window / Document-based]
- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]
## Design System
- **Base**: [System defaults / Custom design system]
- **Brand Colors**: [List or reference]
- **Typography**: [System fonts / Custom fonts]
- **Dark Mode**: [Supported / Not yet / N/A]
- **Dynamic Type**: [Supported / Not yet / N/A]
## Accessibility
- **Target Level**: [Baseline / Enhanced / Comprehensive]
- **Key Considerations**: [List any specific needs]
## Users
- **Primary Persona**: [Description]
- **Key Use Cases**: [List]
- **Known Challenges**: [List]
Updating Context
When updating an existing context document:
- Read the current
.claude/apple-design-context.md
- Ask what has changed
- Update only the changed sections
- Preserve all unchanged information
Related Skills
- hig-platforms -- Platform-specific guidance
- hig-foundations -- Color, typography, layout decisions
- hig-patterns -- UX pattern recommendations
- hig-components-* -- Component recommendations
- hig-inputs -- Input method coverage
- hig-technologies -- Apple technology relevance
Built by Raintree Technology · More developer tools
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: hig-project-context3description: Create or update a shared Apple design context document that other HIG skills use to tailor guidance.4---567# Apple HIG: Project Context89Create and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.1011Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.1213## Gathering Context1415Before asking questions, auto-discover context from:16171. **README.md** -- Product description, platform targets182. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies193. **Info.plist** -- App category, required capabilities, supported orientations204. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)215. **Assets.xcassets** -- Color assets, icon sets, dark mode variants226. **Accessibility audit** -- Grep for accessibility modifiers/attributes2324Present findings and ask the user to confirm or correct. Then gather anything still missing:2526### 1. Product Overview27- What does the app do? (one sentence)28- Category (productivity, social, health, game, utility, etc.)29- Stage (concept, development, shipped, redesign)3031### 2. Target Platforms32- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)33- Minimum OS versions34- Universal or platform-specific?3536### 3. Technology Stack37- UI framework: SwiftUI, UIKit, AppKit, or mixed?38- Architecture: single-window, multi-window, document-based?39- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)4041### 4. Design System42- System defaults or custom design system?43- Brand colors, fonts, icon style?44- Dark mode and Dynamic Type support status4546### 5. Accessibility Requirements47- Target level (baseline, enhanced, comprehensive)48- Specific considerations (VoiceOver, Switch Control, etc.)49- Regulatory requirements (WCAG, Section 508)5051### 6. User Context52- Primary personas (1-3)53- Key use cases and environments (desk, on-the-go, glanceable, immersive)54- Known pain points or design challenges5556### 7. Existing Design Assets57- Figma/Sketch files?58- Apple Design Resources in use?59- Existing component library?6061## Context Document Template6263Generate `.claude/apple-design-context.md` using this structure:6465```markdown66# Apple Design Context6768## Product69- **Name**: [App name]70- **Description**: [One sentence]71- **Category**: [Category]72- **Stage**: [Concept / Development / Shipped / Redesign]7374## Platforms75| Platform | Supported | Min OS | Notes |76|----------|-----------|--------|-------|77| iOS | Yes/No | | |78| iPadOS | Yes/No | | |79| macOS | Yes/No | | |80| tvOS | Yes/No | | |81| watchOS | Yes/No | | |82| visionOS | Yes/No | | |8384## Technology85- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]86- **Architecture**: [Single-window / Multi-window / Document-based]87- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]8889## Design System90- **Base**: [System defaults / Custom design system]91- **Brand Colors**: [List or reference]92- **Typography**: [System fonts / Custom fonts]93- **Dark Mode**: [Supported / Not yet / N/A]94- **Dynamic Type**: [Supported / Not yet / N/A]9596## Accessibility97- **Target Level**: [Baseline / Enhanced / Comprehensive]98- **Key Considerations**: [List any specific needs]99100## Users101- **Primary Persona**: [Description]102- **Key Use Cases**: [List]103- **Known Challenges**: [List]104```105106## Updating Context107108When updating an existing context document:1091101. Read the current `.claude/apple-design-context.md`1112. Ask what has changed1123. Update only the changed sections1134. Preserve all unchanged information114115## Related Skills116117- **hig-platforms** -- Platform-specific guidance118- **hig-foundations** -- Color, typography, layout decisions119- **hig-patterns** -- UX pattern recommendations120- **hig-components-*** -- Component recommendations121- **hig-inputs** -- Input method coverage122- **hig-technologies** -- Apple technology relevance123124---125126*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*127128## When to Use129This skill is applicable to execute the workflow or actions described in the overview.130131## Limitations132- Use this skill only when the task clearly matches the scope described above.133- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.134- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.