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
1---2name: hig-project-context3description: 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. Also activates when other HIG skills need project context but none exists yet. This skill creates .claude/apple-design-context.md so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and hig-technologies can provide targeted advice without repetitive questions.4---5
6# Apple HIG: Project Context
7
8Create and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.
9
10Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.
11
12## Gathering Context
13
14Before asking questions, auto-discover context from:
15
161. **README.md** -- Product description, platform targets
172. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies
183. **Info.plist** -- App category, required capabilities, supported orientations
194. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)
205. **Assets.xcassets** -- Color assets, icon sets, dark mode variants
216. **Accessibility audit** -- Grep for accessibility modifiers/attributes
22
23Present findings and ask the user to confirm or correct. Then gather anything still missing:
24
25### 1. Product Overview
26- What does the app do? (one sentence)
27- Category (productivity, social, health, game, utility, etc.)
28- Stage (concept, development, shipped, redesign)
29
30### 2. Target Platforms
31- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)
32- Minimum OS versions
33- Universal or platform-specific?
34
35### 3. Technology Stack
36- UI framework: SwiftUI, UIKit, AppKit, or mixed?
37- Architecture: single-window, multi-window, document-based?
38- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)
39
40### 4. Design System
41- System defaults or custom design system?
42- Brand colors, fonts, icon style?
43- Dark mode and Dynamic Type support status
44
45### 5. Accessibility Requirements
46- Target level (baseline, enhanced, comprehensive)
47- Specific considerations (VoiceOver, Switch Control, etc.)
48- Regulatory requirements (WCAG, Section 508)
49
50### 6. User Context
51- Primary personas (1-3)
52- Key use cases and environments (desk, on-the-go, glanceable, immersive)
53- Known pain points or design challenges
54
55### 7. Existing Design Assets
56- Figma/Sketch files?
57- Apple Design Resources in use?
58- Existing component library?
59
60## Context Document Template
61
62Generate `.claude/apple-design-context.md` using this structure:
63
64```markdown
65# Apple Design Context
66
67## Product
68- **Name**: [App name]
69- **Description**: [One sentence]
70- **Category**: [Category]
71- **Stage**: [Concept / Development / Shipped / Redesign]
72
73## Platforms
74| Platform | Supported | Min OS | Notes |
75|----------|-----------|--------|-------|
76| iOS | Yes/No | | |
77| iPadOS | Yes/No | | |
78| macOS | Yes/No | | |
79| tvOS | Yes/No | | |
80| watchOS | Yes/No | | |
81| visionOS | Yes/No | | |
82
83## Technology
84- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]
85- **Architecture**: [Single-window / Multi-window / Document-based]
86- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]
87
88## Design System
89- **Base**: [System defaults / Custom design system]
90- **Brand Colors**: [List or reference]
91- **Typography**: [System fonts / Custom fonts]
92- **Dark Mode**: [Supported / Not yet / N/A]
93- **Dynamic Type**: [Supported / Not yet / N/A]
94
95## Accessibility
96- **Target Level**: [Baseline / Enhanced / Comprehensive]
97- **Key Considerations**: [List any specific needs]
98
99## Users
100- **Primary Persona**: [Description]
101- **Key Use Cases**: [List]
102- **Known Challenges**: [List]
103```
104
105## Updating Context
106
107When updating an existing context document:
108
1091. Read the current `.claude/apple-design-context.md`
1102. Ask what has changed
1113. Update only the changed sections
1124. Preserve all unchanged information
113
114## Related Skills
115
116- **hig-platforms** -- Platform-specific guidance
117- **hig-foundations** -- Color, typography, layout decisions
118- **hig-patterns** -- UX pattern recommendations
119- **hig-components-*** -- Component recommendations
120- **hig-inputs** -- Input method coverage
121- **hig-technologies** -- Apple technology relevance
122
123---
124
125*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*