{
  "schema": "https://ai-atoms.com/schemas/skill-v1.json",
  "type": "skill",
  "id": "skill/hig-project-context",
  "version": "1.0.1",
  "name": "Hig Project Context",
  "description": "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.",
  "system_prompt_fragment": "# Apple HIG: Project Context\n\nCreate and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Gathering Context\n\nBefore asking questions, auto-discover context from:\n\n1. **README.md** -- Product description, platform targets\n2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies\n3. **Info.plist** -- App category, required capabilities, supported orientations\n4. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)\n5. **Assets.xcassets** -- Color assets, icon sets, dark mode variants\n6. **Accessibility audit** -- Grep for accessibility modifiers/attributes\n\nPresent findings and ask the user to confirm or correct. Then gather anything still missing:\n\n### 1. Product Overview\n- What does the app do? (one sentence)\n- Category (productivity, social, health, game, utility, etc.)\n- Stage (concept, development, shipped, redesign)\n\n### 2. Target Platforms\n- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)\n- Minimum OS versions\n- Universal or platform-specific?\n\n### 3. Technology Stack\n- UI framework: SwiftUI, UIKit, AppKit, or mixed?\n- Architecture: single-window, multi-window, document-based?\n- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)\n\n### 4. Design System\n- System defaults or custom design system?\n- Brand colors, fonts, icon style?\n- Dark mode and Dynamic Type support status\n\n### 5. Accessibility Requirements\n- Target level (baseline, enhanced, comprehensive)\n- Specific considerations (VoiceOver, Switch Control, etc.)\n- Regulatory requirements (WCAG, Section 508)\n\n### 6. User Context\n- Primary personas (1-3)\n- Key use cases and environments (desk, on-the-go, glanceable, immersive)\n- Known pain points or design challenges\n\n### 7. Existing Design Assets\n- Figma/Sketch files?\n- Apple Design Resources in use?\n- Existing component library?\n\n## Context Document Template\n\nGenerate `.claude/apple-design-context.md` using this structure:\n\n```markdown\n# Apple Design Context\n\n## Product\n- **Name**: [App name]\n- **Description**: [One sentence]\n- **Category**: [Category]\n- **Stage**: [Concept / Development / Shipped / Redesign]\n\n## Platforms\n| Platform | Supported | Min OS | Notes |\n|----------|-----------|--------|-------|\n| iOS      | Yes/No    |        |       |\n| iPadOS   | Yes/No    |        |       |\n| macOS    | Yes/No    |        |       |\n| tvOS     | Yes/No    |        |       |\n| watchOS  | Yes/No    |        |       |\n| visionOS | Yes/No    |        |       |\n\n## Technology\n- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]\n- **Architecture**: [Single-window / Multi-window / Document-based]\n- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]\n\n## Design System\n- **Base**: [System defaults / Custom design system]\n- **Brand Colors**: [List or reference]\n- **Typography**: [System fonts / Custom fonts]\n- **Dark Mode**: [Supported / Not yet / N/A]\n- **Dynamic Type**: [Supported / Not yet / N/A]\n\n## Accessibility\n- **Target Level**: [Baseline / Enhanced / Comprehensive]\n- **Key Considerations**: [List any specific needs]\n\n## Users\n- **Primary Persona**: [Description]\n- **Key Use Cases**: [List]\n- **Known Challenges**: [List]\n```\n\n## Updating Context\n\nWhen updating an existing context document:\n\n1. Read the current `.claude/apple-design-context.md`\n2. Ask what has changed\n3. Update only the changed sections\n4. Preserve all unchanged information\n\n## Related Skills\n\n- **hig-platforms** -- Platform-specific guidance\n- **hig-foundations** -- Color, typography, layout decisions\n- **hig-patterns** -- UX pattern recommendations\n- **hig-components-*** -- Component recommendations\n- **hig-inputs** -- Input method coverage\n- **hig-technologies** -- Apple technology relevance\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.",
  "applicable_domains": [
    "frontend"
  ],
  "category": "frontend",
  "invocation": [
    "/hig-project-context"
  ],
  "authored_by": "claudeskills.in community",
  "source_url": "https://claudeskills.in/skill/hig-project-context",
  "provenance": {
    "source": "claudeskills.in",
    "source_url": "https://claudeskills.in/skill/hig-project-context",
    "license": "unknown",
    "imported_at": "2026-09-03",
    "notes": "Aggregated by claudeskills.in from community GitHub lists."
  },
  "tags": [
    "claudeskills",
    "frontend"
  ],
  "lifecycle": "draft"
}