ios-hig-design-guide
Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data. Use when a task asks for iOS UI/UX rules, Apple design standards, component behavior, accessibility constraints, interaction patterns, or feature-level design-spec writing grounded in official HIG pages.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- ios-hig-design-guide
- description
- Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data. Use when a task asks for iOS UI/UX rules, Apple design standards, component behavior, accessibility constraints, interaction patterns, or feature-level design-spec writing grounded in official HIG pages.
02 资源文件 2
- 参考文档references/ios-design-spec-workflow.md3.5 KB
- 脚本scripts/sync_apple_hig_sources.py13.0 KB
03 SKILL.md 正文
iOS HIG Design Guide
Use this skill to produce iOS design recommendations that stay close to official Apple guidance.
Quick start
- Sync official sources.
- Read only relevant sections.
- Produce a feature-specific spec (not a generic style dump).
Run:
python3 scripts/sync_apple_hig_sources.py --skill-dir .
Source of truth
- Full raw index with links and abstracts:
references/apple-hig-ios-raw.md - Consolidated text dump of all downloaded pages:
references/apple-hig-ios-fulltext.md - Curated text dump for iOS spec writing:
references/apple-hig-ios-curated.md - Workflow for selecting relevant HIG pages:
references/ios-design-spec-workflow.md - Per-page JSON sources:
references/raw/pages/design/human-interface-guidelines/*.json - Crawl metadata and fetch status:
references/raw/catalog.json
Workflow
1) Sync and verify
- Run sync script before answering "latest" or "current" requests.
- Confirm
download_erroris 0 inreferences/raw/catalog.json. - If errors exist, report failed paths and continue with successfully downloaded pages.
2) Narrow scope
- Start from
/design/human-interface-guidelines/designing-for-ios. - Add only sections directly related to the requested feature.
- Prioritize foundational constraints (accessibility, layout, typography, color, writing, privacy).
- Prefer
references/apple-hig-ios-curated.mdfor day-to-day use; use full dump only when needed.
3) Extract constraints
For each selected page, pull concrete rules into implementable statements:
- When to use component/pattern
- Required states (loading, empty, error, destructive confirmation)
- Accessibility behavior (labels, hints, touch target, dynamic type)
- Localization/layout behavior (RTL, truncation, multiline)
- Platform-specific caveats (iOS-only vs cross-platform)
4) Produce deliverable
Default output structure:
- Feature goal and user scenario
- Information architecture and screen inventory
- Interaction and state model
- Component specification
- Accessibility and localization checklist
- Open questions and tradeoffs
Output style rules
- Cite source page paths for each major rule.
- Translate HIG guidance into actionable product decisions.
- Avoid copying large raw passages.
- Mark inferred recommendations explicitly as inference.
Maintenance
- Re-run sync script whenever Apple updates HIG content.
- Keep generated raw files in
references/; do not hand-edit generated outputs. - Update this SKILL.md only for workflow or quality improvements.
04 同仓库更多 Skills
vercel-sandbox
Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.
slack
Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.
electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.
dogfood
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.