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.
1---2name: hig-project-context3version: 1.0.04description: "Create or update a shared Apple design context document that other HIG skills use to tailor guidance. Use when the user says 'set up my project context,' 'what platforms am I targeting,' 'configure HIG settings,' or when starting a new Apple platform project."5risk: unknown6source: community7---89# Apple HIG: Project Context1011Create and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.1213Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.1415## Gathering Context1617Before asking questions, auto-discover context from:18191. **README.md** -- Product description, platform targets202. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies213. **Info.plist** -- App category, required capabilities, supported orientations224. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)235. **Assets.xcassets** -- Color assets, icon sets, dark mode variants246. **Accessibility audit** -- Grep for accessibility modifiers/attributes2526Present findings and ask the user to confirm or correct. Then gather anything still missing:2728### 1. Product Overview29- What does the app do? (one sentence)30- Category (productivity, social, health, game, utility, etc.)31- Stage (concept, development, shipped, redesign)3233### 2. Target Platforms34- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)35- Minimum OS versions36- Universal or platform-specific?3738### 3. Technology Stack39- UI framework: SwiftUI, UIKit, AppKit, or mixed?40- Architecture: single-window, multi-window, document-based?41- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)4243### 4. Design System44- System defaults or custom design system?45- Brand colors, fonts, icon style?46- Dark mode and Dynamic Type support status4748### 5. Accessibility Requirements49- Target level (baseline, enhanced, comprehensive)50- Specific considerations (VoiceOver, Switch Control, etc.)51- Regulatory requirements (WCAG, Section 508)5253### 6. User Context54- Primary personas (1-3)55- Key use cases and environments (desk, on-the-go, glanceable, immersive)56- Known pain points or design challenges5758### 7. Existing Design Assets59- Figma/Sketch files?60- Apple Design Resources in use?61- Existing component library?6263## Context Document Template6465Generate `.claude/apple-design-context.md` using this structure:6667```markdown68# Apple Design Context6970## Product71- **Name**: [App name]72- **Description**: [One sentence]73- **Category**: [Category]74- **Stage**: [Concept / Development / Shipped / Redesign]7576## Platforms77| Platform | Supported | Min OS | Notes |78|----------|-----------|--------|-------|79| iOS | Yes/No | | |80| iPadOS | Yes/No | | |81| macOS | Yes/No | | |82| tvOS | Yes/No | | |83| watchOS | Yes/No | | |84| visionOS | Yes/No | | |8586## Technology87- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]88- **Architecture**: [Single-window / Multi-window / Document-based]89- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]9091## Design System92- **Base**: [System defaults / Custom design system]93- **Brand Colors**: [List or reference]94- **Typography**: [System fonts / Custom fonts]95- **Dark Mode**: [Supported / Not yet / N/A]96- **Dynamic Type**: [Supported / Not yet / N/A]9798## Accessibility99- **Target Level**: [Baseline / Enhanced / Comprehensive]100- **Key Considerations**: [List any specific needs]101102## Users103- **Primary Persona**: [Description]104- **Key Use Cases**: [List]105- **Known Challenges**: [List]106```107108## Updating Context109110When updating an existing context document:1111121. Read the current `.claude/apple-design-context.md`1132. Ask what has changed1143. Update only the changed sections1154. Preserve all unchanged information116117## Related Skills118119- **hig-platforms** -- Platform-specific guidance120- **hig-foundations** -- Color, typography, layout decisions121- **hig-patterns** -- UX pattern recommendations122- **hig-components-*** -- Component recommendations123- **hig-inputs** -- Input method coverage124- **hig-technologies** -- Apple technology relevance125126---127128*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*129130## When to Use131This skill is applicable to execute the workflow or actions described in the overview.