hig-project-context

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

31,392 stars
Complexity: easy

About this skill

This skill enables an AI agent to intelligently gather and synthesize critical project context into a shared `.claude/apple-design-context.md` document. It prioritizes reusing existing context, checking for the document's presence before asking redundant questions. The agent auto-discovers information from key project files like `README.md` (for product description and platform targets), `Package.swift` or `.xcodeproj` (for supported platforms and minimum OS versions), and `Info.plist` (for app category and required capabilities). This established context allows other HIG-focused AI skills to provide more accurate and relevant design recommendations without repeatedly querying the user for basic project details.

Best use case

Streamlining Apple HIG compliance checks and design recommendations by providing a centralized, pre-filled context document for AI agents. It reduces repetitive questioning and ensures consistent project understanding across various HIG-related AI interactions.

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

A comprehensive and up-to-date `.claude/apple-design-context.md` file containing relevant project details, automatically extracted from project files or gathered through minimal user interaction. This document serves as a reliable source of truth for other HIG-related AI skills.

Practical example

Example input

The user wants to set up the Apple design context for their new iOS app project. The project repository is at 'https://github.com/myorg/myiosapp'.

Example output

// Content of .claude/apple-design-context.md
# My iOS App Project Context

## Product Description
A productivity application for managing tasks and reminders, focused on a minimalist design and intuitive user experience. (Discovered from README.md)

## Platform Targets
- iOS (Discovered from Package.swift)

## Minimum OS Versions
- iOS 16.0 (Discovered from Package.swift)

## App Category
- Productivity (Discovered from Info.plist)

## Required Capabilities
- Background App Refresh
- Push Notifications (Discovered from Info.plist)

## Supported Orientations
- Portrait (Discovered from Info.plist)

## Dependencies
- SwiftUI
- CoreData (Discovered from Package.swift)

## Additional Context
The primary target audience is professionals and students who need efficient task management.

When to use this skill

  • When beginning a new Apple platform development project and needing consistent design guidance.
  • When integrating AI agents for Apple HIG reviews or design critiques.
  • To save time by pre-populating common project details for subsequent AI interactions.
  • When working on a project with multiple AI agents or skills that require an understanding of the project's technical and design context.

When not to use this skill

  • For projects not targeting Apple platforms.
  • If the project context is extremely dynamic and changes frequently, requiring constant updates that might be better handled interactively.
  • If there are no other HIG-related AI skills planned for use.
  • For non-design or non-development related AI tasks.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/hig-project-context/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/hig-project-context/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/hig-project-context/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How hig-project-context Compares

Feature / Agenthig-project-contextStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Create or update a shared Apple design context document that other HIG skills use to tailor guidance.

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

SKILL.md Source

# 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:

1. **README.md** -- Product description, platform targets
2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies
3. **Info.plist** -- App category, required capabilities, supported orientations
4. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)
5. **Assets.xcassets** -- Color assets, icon sets, dark mode variants
6. **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:

```markdown
# 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:

1. Read the current `.claude/apple-design-context.md`
2. Ask what has changed
3. Update only the changed sections
4. 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](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-technologies

31392
from sickn33/antigravity-awesome-skills

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Design AssistantClaude

hig-inputs

31392
from sickn33/antigravity-awesome-skills

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Design AssistantClaude

new-rails-project

31392
from sickn33/antigravity-awesome-skills

Create a new Rails project

Code GenerationClaude

filesystem-context

31392
from sickn33/antigravity-awesome-skills

Use for file-based context management, dynamic context discovery, and reducing context window bloat. Offload context to files for just-in-time loading.

Memory & Context ManagementClaude

ddd-context-mapping

31392
from sickn33/antigravity-awesome-skills

Map relationships between bounded contexts and define integration contracts using DDD context mapping patterns.

Developer ToolsClaude

context7-auto-research

31392
from sickn33/antigravity-awesome-skills

Automatically fetch latest library/framework documentation for Claude Code via Context7 API. Use when you need up-to-date documentation for libraries and frameworks or asking about React, Next.js, Prisma, or any other popular library.

Developer ToolsClaude

context-optimization

31392
from sickn33/antigravity-awesome-skills

Context optimization extends the effective capacity of limited context windows through strategic compression, masking, caching, and partitioning. The goal is not to magically increase context windows but to make better use of available capacity.

Agent UtilityClaude

context-management-context-save

31392
from sickn33/antigravity-awesome-skills

Use when working with context management context save

Agent Management & PersonalizationClaude

context-management-context-restore

31392
from sickn33/antigravity-awesome-skills

Use when working with context management context restore

Memory ManagementClaude

context-guardian

31392
from sickn33/antigravity-awesome-skills

Guardiao de contexto que preserva dados criticos antes da compactacao automatica. Snapshots, verificacao de integridade e zero perda de informacao.

Agent Utilities & MonitoringClaudeCursorGemini

context-driven-development

31392
from sickn33/antigravity-awesome-skills

Guide for implementing and maintaining context as a managed artifact alongside code, enabling consistent AI interactions and team alignment through structured project documentation.

Software DevelopmentClaude

context-compression

31392
from sickn33/antigravity-awesome-skills

When agent sessions generate millions of tokens of conversation history, compression becomes mandatory. The naive approach is aggressive compression to minimize tokens per request.

Context ManagementClaude