Token导航 LogoToken导航

Agent Skill · 前端设计

apple-hig-designer(Apple HIG designer 命令行)

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

apple-hig-designer 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,711。

总安装 823周安装 35GitHub Stars 111下载 288核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/axiaoge2/apple-hig-designer --skill apple-hig-designer

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

创建符合 Apple Human Interface Guidelines 的高质量界面组件。支持 SF Symbols 集成和现代玻璃效果,达到苹果设计团队水准。触发词包括“Apple-style”、“HIG-compliant”或“iOS/macOS style”。

安装命令:npx skills add https://github.com/axiaoge2/apple-hig-designer --skill apple-hig-designer 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/apple-hig-designer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/axiaoge2/apple-hig-designer --skill apple-hig-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

apple-hig-designer 怎么安装?

在终端执行 npx skills add https://github.com/axiaoge2/apple-hig-designer --skill apple-hig-designer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

apple-hig-designer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

apple-hig-designer 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

apple-hig-designer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

apple-hig-designer 用的人多吗?

公开数据是累计安装 823 次,近一周安装 35 次,下载 288 次,GitHub 111 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

apple-hig-designer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
apple-hig-designer

Apple HIG designer 命令行 · 本页

823111只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Apple HIG Designer

A professional-grade frontend design skill that enables Claude Code to create interfaces following Apple's Human Interface Guidelines (HIG), achieving the quality standards of Apple's design team.

When to Use This Skill

Activate this skill when users request:

  • Apple-style or iOS/macOS-style interfaces
  • HIG-compliant UI components
  • SF Symbols integration
  • San Francisco typography implementation
  • Modern glass effects (optional, user must explicitly request)

Trigger phrases:

  • "Design an Apple-style..."
  • "Create a HIG-compliant..."
  • "iOS/macOS style component"
  • "苹果风格的界面"
  • "符合 HIG 的设计"

Core Design Principles

The Four Pillars of Apple Design

  1. Clarity (清晰)

- Every element has a purpose - Eliminate unnecessary complexity - Users understand immediately without instructions - Use clear visual hierarchy

  1. Deference (尊重内容)

- UI elements support, not compete with content - Minimize chrome and visual noise - Let content be the hero - Use subtle backgrounds and borders

  1. Depth (层次)

- Create clear visual hierarchy through layers - Use shadows, blur, and translucency purposefully - Motion reinforces spatial relationships - Z-axis communicates importance

  1. Consistency (一致性)

- Familiar patterns across platforms - Predictable interactions - Unified visual language - Respect platform conventions


Design System Specifications

Typography System

Font Family: San Francisco (SF Pro)

/* System Font Stack for Web */
:root {
  --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
                 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Menlo, Monaco, monospace;
}

/* Font Size Scale (iOS) */
--text-caption2: 11px;    /* Caption 2 */
--text-caption1: 12px;    /* Caption 1 */
--text-footnote: 13px;    /* Footnote */
--text-subhead: 15px;     /* Subheadline */
--text-body: 17px;        /* Body - Default */
--text-headline: 17px;    /* Headline (semibold) */
--text-title3: 20px;      /* Title 3 */
--text-title2: 22px;      /* Title 2 */
--text-title1: 28px;      /* Title 1 */
--text-large-title: 34px; /* Large Title */

Typography Rules:

  • Use SF Pro Display for sizes ≥ 20pt
  • Use SF Pro Text for sizes < 20pt
  • Maintain consistent line-height (1.2-1.5)
  • Use weight for hierarchy, not just size

Color System

/* Apple System Colors - Light Mode */
:root {
  /* Primary Colors */
  --system-blue: #007AFF;
  --system-green: #34C759;
  --system-indigo: #5856D6;
  --system-orange: #FF9500;
  --system-pink: #FF2D55;
  --system-purple: #AF52DE;
  --system-red: #FF3B30;
  --system-teal: #5AC8FA;
  --system-yellow: #FFCC00;

  /* Gray Scale */
  --system-gray: #8E8E93;
  --system-gray2: #AEAEB2;
  --system-gray3: #C7C7CC;
  --system-gray4: #D1D1D6;
  --system-gray5: #E5E5EA;
  --system-gray6: #F2F2F7;

  /* Semantic Colors */
  --label-primary: #000000;
  --label-secondary: rgba(60, 60, 67, 0.6);
  --label-tertiary: rgba(60, 60, 67, 0.3);
  --label-quaternary: rgba(60, 60, 67, 0.18);

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F2F2F7;
  --bg-tertiary: #FFFFFF;

  /* Separators */
  --separator: rgba(60, 60, 67, 0.29);
  --separator-opaque: #C6C6C8;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --system-blue: #0A84FF;
    --system-green: #30D158;
    --system-indigo: #5E5CE6;
    --system-orange: #FF9F0A;
    --system-pink: #FF375F;
    --system-purple: #BF5AF2;
    --system-red: #FF453A;
    --system-teal: #64D2FF;
    --system-yellow: #FFD60A;

    --system-gray: #8E8E93;
    --system-gray2: #636366;
    --system-gray3: #48484A;
    --system-gray4: #3A3A3C;
    --system-gray5: #2C2C2E;
    --system-gray6: #1C1C1E;

    --label-primary: #FFFFFF;
    --label-secondary: rgba(235, 235, 245, 0.6);
    --label-tertiary: rgba(235, 235, 245, 0.3);
    --label-quaternary: rgba(235, 235, 245, 0.18);

    --bg-primary: #000000;
    --bg-secondary: #1C1C1E;
    --bg-tertiary: #2C2C2E;

    --separator: rgba(84, 84, 88, 0.6);
    --separator-opaque: #38383A;
  }
}

Spacing System

8pt Grid System:

:root {
  --space-1: 4px;   /* Extra small */
  --space-2: 8px;   /* Small */
  --space-3: 12px;  /* Medium-small */
  --space-4: 16px;  /* Medium */
  --space-5: 20px;  /* Medium-large */
  --space-6: 24px;  /* Large */
  --space-8: 32px;  /* Extra large */
  --space-10: 40px; /* 2X large */
  --space-12: 48px; /* 3X large */
}

Touch Target Requirements:

  • iOS: Minimum 44×44 points
  • visionOS: Minimum 60 points tap area
  • Always add sufficient padding for small visual elements

Border Radius (Concentric Design)

:root {
  /* Base radius values */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px; /* Capsule */
}

/* Concentric Rule: inner_radius + padding = outer_radius */
/* Example: 8px inner + 8px padding = 16px outer */

Component Patterns

The following components should follow Apple HIG conventions. For complete CSS implementations, see resources/design-tokens.css and resources/ui-patterns.md. For React component examples, see resources/components.jsx.

Buttons

  • Primary: Capsule shape (border-radius: 9999px), min-height: 44px, system-blue background, white text, 600 weight
  • Secondary: Same capsule shape, system-blue text on rgba(0, 122, 255, 0.1) background
  • Press feedback: scale(0.98) on :active

Glass Effect (Optional - Only When Requested)

  • Only use when user explicitly requests glass/frosted effects
  • Default designs should use solid backgrounds for readability and performance
  • backdrop-filter: blur(20px) saturate(180%) with semi-transparent background
  • Always provide non-glass fallback

Cards

  • Default: Solid background (--bg-tertiary), border-radius: 16px, subtle box-shadow
  • Grouped style: --bg-secondary outer with --bg-tertiary inner items, separated by --separator

Input Fields

  • min-height: 44px, --bg-secondary background, border-radius: 12px
  • Focus state: box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.3)

Tab Bars

  • Position fixed at bottom, height: 49px + safe-area padding
  • Minimum 44x44pt touch targets per tab
  • Always display text labels (never icon-only)
  • Use filled SF Symbols for selected state, outline for unselected
  • Support badge for notifications (red oval, white text)

Toolbars

  • Three sections: leading (back/title), center (tools), trailing (actions)
  • Maximum 3 item groups
  • Use SF Symbols without borders
  • Primary action uses .prominent style on trailing side
  • Back button: circular with symbol only (no text)

Sheets

  • Detents: large (100%), medium (50%)
  • Include grabber indicator (36x5px, centered)
  • Done button: top-right; Cancel button: top-left
  • Semi-transparent backdrop rgba(0,0,0,0.4)

Alerts

  • Use only for critical information (sparingly)
  • Maximum 3 buttons; use specific verb titles, avoid "OK"
  • Cancel: leading side; Destructive: only for unintended destructive actions
  • Width: 270px, border-radius: 14px

Lists and Tables

  • Minimum row height: 44px
  • Info button: reveals details without navigation
  • Disclosure indicator (>): navigates to subview
  • Grouped style: 10px border-radius, inset separators start at 60px

Animation Guidelines

Timing Functions

:root {
  /* Apple's preferred easing */
  --ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);

  /* Spring-like easing */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

Duration Scale

:root {
  --duration-instant: 100ms;  /* Micro-interactions */
  --duration-fast: 200ms;     /* Hover, focus states */
  --duration-normal: 300ms;   /* Standard transitions */
  --duration-slow: 500ms;     /* Complex animations */
}

Interaction Feedback

/* Press feedback */
.interactive {
  transition: transform var(--duration-instant) var(--ease-out);
}

.interactive:active {
  transform: scale(0.97);
}

/* Hover glow */
.interactive:hover {
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
}

SF Symbols Integration

Rendering Modes

  1. Monochrome: Single color for all layers
  2. Hierarchical: Opacity variations for depth
  3. Palette: Custom colors per layer
  4. Multicolor: Apple's intrinsic symbol colors

Usage Guidelines

  • Toolbar/Navigation: Use outline variant
  • Tab Bar: Use fill variant
  • Match text size: Symbols auto-align with SF font
  • Provide text alternatives: Always include aria-label

Web Implementation (Icon Font Alternative)

<!-- Using SF Symbols via system font -->
<span class="sf-symbol" aria-label="Settings">􀣋</span>

<!-- Or use equivalent system icons -->
<svg class="icon" aria-hidden="true">
  <use href="#icon-gear"></use>
</svg>

Accessibility Requirements

Color Contrast

  • Normal text: 4.5:1 minimum (WCAG AA)
  • Large text: 3:1 minimum
  • Interactive elements: Clearly distinguishable states

Motion

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

Semantic HTML

<!-- Always use semantic elements -->
<button type="button">Action</button>
<nav aria-label="Main navigation">...</nav>
<main role="main">...</main>

Output Format

When generating Apple-style UI code, always include:

  1. Complete, runnable code (CSS/React/Vue)
  2. Light/Dark mode support via CSS custom properties
  3. Design rationale explaining HIG compliance
  4. Responsive breakpoints for different devices
  5. Accessibility attributes (aria-*, role, etc.)

Default Behavior

  • Use solid backgrounds by default for better readability
  • Glass/blur effects only when user explicitly requests
  • Always provide non-glass fallback for browsers without backdrop-filter support

Example Output Structure

/**
 * Apple HIG Compliant Component
 *
 * Design Decisions:
 * - Uses SF Pro system font stack for native feel
 * - 44pt minimum touch target for accessibility
 * - Capsule shape for primary actions (HIG recommendation)
 * - Solid background for optimal readability
 * - Supports prefers-color-scheme for auto theming
 */

const AppleButton = ({ children, variant = 'primary', ...props }) => {
  return (
    <button
      className={`btn btn-${variant}`}
      {...props}
    >
      {children}
    </button>
  );
};

Best Practices Checklist

Before finalizing any design output, verify:

  • Typography: Using SF Pro with correct size thresholds
  • Colors: System colors with Light/Dark variants
  • Spacing: Following 8pt grid
  • Touch targets: Minimum 44×44pt
  • Border radius: Concentric relationships maintained
  • Animations: Using Apple-standard easing curves
  • Accessibility: WCAG AA compliant, reduced motion support
  • Consistency: Matches platform conventions
  • Backgrounds: Solid by default, glass only when requested

Additional Resources

Local References (read these for detailed implementations)

External References


*This skill ensures Claude Code produces interfaces that meet Apple's exacting design standards, creating cohesive, accessible, and beautiful user experiences.*

平台分布

Codex

37.35%
按下载量换算108

Claude

31.79%
按下载量换算92

Cursor

17.52%
按下载量换算50

Gemini CLI

8.46%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills