Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

hig-foundations高基础

Agent Skill

hig-foundations 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,450

周安装

180

GitHub Stars

45

下载量

1,397
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:hig-foundations(高基础)
来源仓库:https://github.com/raintree-technology/apple-hig-skills
仓库路径:skills/hig-foundations
安装命令:
npx skills add https://github.com/raintree-technology/apple-hig-skills --skill hig-foundations
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/raintree-technology/apple-hig-skills --skill hig-foundations

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装方式:npx skills add https://github.com/raintree-technology/apple-hig-skills --skill hig-foundations。
  • 建议确认权限范围、维护状态及是否触发联网或文件读写。

SKILL.md

Apple HIG: Design Foundations

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

Key Principles

  1. Prioritize content over chrome. Reduce visual clutter. Use system-provided materials and subtle separators rather than heavy borders and backgrounds.
  2. Build in accessibility from the start. Design for VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, and Switch Control from day one. Every interactive element needs an accessible label.
  3. Use system colors and materials. System colors adapt to light/dark mode, increased contrast, and vibrancy. Prefer semantic colors (label, secondaryLabel, systemBackground) over hard-coded values.
  4. Use platform fonts and icons. SF Pro, SF Compact, SF Mono by default. New York for serif. Follow the type hierarchy at recommended sizes. Use SF Symbols for iconography.
  5. Match platform conventions. Align look and behavior with system standards. Provide direct, responsive manipulation and clear feedback for every action.
  6. Respect privacy. Request permissions only when needed, explain why clearly, provide value before asking for data. Design for minimal data collection.
  7. Support internationalization. Accommodate text expansion, right-to-left scripts, and varying date/number formats. Use Auto Layout for dynamic content sizing.
  8. Use motion purposefully. Animation should communicate meaning and spatial relationships. Honor Reduce Motion by providing crossfade alternatives.

Reference Index

ReferenceTopicKey content
accessibility.mdAccessibilityVoiceOver, Dynamic Type, color contrast, motor accessibility, Switch Control, audio descriptions
app-icons.mdApp IconsIcon grid, platform-specific sizes, single focal point, no transparency
branding.mdBrandingIntegrating brand identity within Apple's design language, subtle branding, custom tints
color.mdColorSystem colors, Dynamic Colors, semantic colors, custom palettes, contrast ratios
dark-mode.mdDark ModeElevated surfaces, semantic colors, adapted palettes, vibrancy, testing in both modes
icons.mdIconsGlyph icons, SF Symbols integration, custom icon design, icon weights, optical alignment
images.mdImagesImage resolution, @2x/@3x assets, vector assets, image accessibility
immersive-experiences.mdImmersive ExperiencesAR/VR design, spatial immersion, comfort zones, progressive immersion levels
inclusion.mdInclusionDiverse representation, non-gendered language, cultural sensitivity, inclusive defaults
layout.mdLayoutMargins, spacing, alignment, safe areas, adaptive layouts, readable content guides
materials.mdMaterialsVibrancy, blur, translucency, system materials, material thickness
motion.mdMotionAnimation curves, transitions, continuity, Reduce Motion support, physics-based motion
privacy.mdPrivacyPermission requests, usage descriptions, privacy nutrition labels, minimal data collection
right-to-left.mdRight-to-LeftRTL layout mirroring, bidirectional text, icons that flip, exceptions
sf-symbols.mdSF SymbolsSymbol categories, rendering modes, variable color, custom symbols, weight matching
spatial-layout.mdSpatial LayoutvisionOS window placement, depth, ergonomic zones, Z-axis design
typography.mdTypographySF Pro, Dynamic Type sizes, text styles, custom fonts, font weight hierarchy, line spacing
writing.mdWritingUI copy guidelines, tone, capitalization rules, error messages, button labels, conciseness

Applying Foundations Together

Consider how principles interact:

  1. Color + Dark Mode + Accessibility -- Custom palettes must work in both modes while maintaining WCAG contrast ratios. Start with system semantic colors.
  2. Typography + Accessibility + Layout -- Dynamic Type must scale without breaking layouts. Use text styles and Auto Layout for the full range of type sizes.
  3. Icons + Branding + SF Symbols -- Custom icons should match SF Symbols weight and optical sizing. Brand elements should integrate without overriding system conventions.
  4. Motion + Accessibility + Feedback -- Every animation must have a Reduce Motion alternative. Motion should reinforce spatial relationships, not decorate.
  5. Privacy + Writing + Onboarding -- Permission requests need clear, specific usage descriptions. Time them to when the user will understand the benefit.

Output Format

  1. Cite the specific HIG foundation with file and section.
  2. Note platform differences for the user's target platforms.
  3. Provide concrete code patterns (SwiftUI/UIKit/AppKit).
  4. Explain accessibility impact (contrast ratios, Dynamic Type scaling, VoiceOver behavior).

Questions to Ask

  1. Which platforms are you targeting?
  2. Do you have existing brand guidelines?
  3. What accessibility level are you targeting? (WCAG AA, AAA, Apple baseline?)
  4. System colors or custom?

Related Skills

  • hig-platforms -- How foundations apply per platform (e.g., type scale differences on watchOS vs macOS)
  • hig-patterns -- Interaction patterns where foundations like writing and accessibility are critical
  • hig-components-layout -- Structural components implementing layout principles
  • hig-components-content -- Content display using color, typography, and images

*Built by Raintree Technology · More developer tools*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.01%
按下载量换算517

Claude

26.65%
按下载量换算372

Cursor

17.94%
按下载量换算251

Gemini CLI

9.74%
按下载量换算136

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills