hig-project-context – skill Tài liệu & Office cho agent AI
Tạo hoặc cập nhật tài liệu bối cảnh thiết kế Apple dùng chung, để các skill HIG khác điều chỉnh hướng dẫn cho phù hợp.
Cài skill hig-project-context bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-project-context-574df.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /hig-project-context – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-project-context-574df.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $hig-project-context – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-project-context-574df.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /hig-project-context – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/hig-project-context-574df.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /hig-project-context – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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:
# 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.
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.
Skill liên quan
- hugo-to-markdown – Chuyển đổi các trang tài liệu Hugo và nội dung do Hugo quản lý sang Markdown chuẩn.
- impress – Tạo bản trình chiếu, chuyển đổi định dạng (ODP/PPTX/PDF), tự động hóa slide với…
- keyword-density-checker – Keyword Density Checker. Dùng khi làm việc với văn bản và từ hoặc cụm từ mục tiêu.
- legal-compliance-vault – Kho lưu trữ tài liệu pháp lý và tuân thủ: loại tài liệu, khung quy định, chủ sở hữu và…
- markdown-rendering – Mở Markdown đáng tin cậy trong cmux pane và khôi phục khi vùng hiển thị bị trống.
- markstream-install – Cài đặt và cấu hình renderer Markdown streaming Markstream cho Vue, React, Svelte…
- maximalism – Hướng dẫn triển khai Controlled Maximalism cho Web và ứng dụng. Kích hoạt khi người dùng…
- md2video-audio – Chuyển tài liệu Markdown thành video MP4 có thuyết minh, với hình ảnh đồng bộ và giọng…