apple-design
Skill3 starsChanged 33 days agoMITView on GitHub
apple.com 风格的讲解页 / 产品页 / 技术介绍页 HTML。定死的是它的配色和克制:白 #FFFFFF 与浅灰 #F5F5F7 交替、正文 #1D1D1F、次要字 #6E6E73、蓝 #0066CC 是全页唯一的强调色,层级靠灰阶和留白;版式、字体、动画由模型按内容自由发挥(推荐系统无衬线,Apple 设备上就是 SF Pro)。配图例库(templates/diagrams/ 33 张现成 SVG + diagram-craft.md + 图集页)和「让人看懂」三种做法的范例 demos/apple-design/explainer.html(首屏动画演示机制 · 证据模块 · 读者能点选的解释器)。检查只查客观缺陷:design-review/scripts/check_objective.mjs。TRIGGER: 'apple 风格' / 'apple style' / '苹果官网风格' / 'like apple.com' / SF Pro / apple 极简 / 产品叙事 / 巨字号统计. DO NOT TRIGGER: iOS / macOS 原生 App UI、深色玻璃展示(glass-design)、anthropic 配色(anthropic-design)。
112 other projects use a version of this.
Adopted by
Most recently taken up by
- open-slide/open-slidetheir own version, first seen Nov 8, 2026
- 1-Pankaj/AutonomousMarketingtheir own version, first seen Nov 8, 2026
- syv-ai/rulecasttheir own version, first seen Nov 8, 2026
- alunadev/ald-skillstheir own version, first seen Nov 8, 2026
- tekgnosis-net/apple-design-marketplacetheir own version, first seen Nov 8, 2026
- memi-design/design-skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use pick-ui-library, write-swift and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
cal1888Skillpick-ui-library
Pick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.
Also in 43 projects that use this
sanmidableSkillwrite-swift
Also in 26 projects that use this
wxyhgkSkillfind-animation-opportunities
Search a codebase or UI for places that don't animate but should, and reject everything that shouldn't. Read-only; it proposes motion with exact values, it does not implement it. Use when the user asks "what could be animated here?" or wants to "make this feel more alive". For fixing existing animations, use improve-animations or review-animations instead.
Also in 50 projects that use this
wxyhgkSkillimprove-animations
Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans for other agents (or cheaper models) to execute. Read-only on source code — it plans improvements, it does not apply them. Use when the user asks to "improve the animations", "audit the motion", "make this app feel better", or wants a roadmap of animation fixes rather than a review of a single diff.
Also in 56 projects that use this
sanmidableSkillask-sonner
Also in 24 projects that use this
attentiondotnetSkillanimation-vocabulary
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
Also in 57 projects that use this
- +2 more from sanmidable
Other versions112 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 112
- emilkowalski/skill★ 55ksame name
- emilkowalski/skills★ 55ksame name
- spree/spree★ 16ksame name
- mengxi-ream/read-frog★ 10ksame name
- usekaneo/kaneo★ 9.7ksame name
- 1weiho/open-slide★ 9.7ksame name
- open-slide/open-slide★ 9.7ksame name
- wxyhgk/retain-pdf★ 2.7ksame name
- dickwu/apple-design-skill★ 2.6ksame name
- KartikLabhshetwar/better-shot★ 2.4ksame name
102 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- anthropic-designSkill
- atelier-designSkill
- datasheet-readingSkill
- design-evolveSkill
- design-plannerSkill
- design-reviewSkill
- design-tasteSkill
- doc-review-loopSkill
- doc-to-markdownSkill
- eclat-designSkill
- ember-designSkill
- explain-ladderSkill
- gated-dual-clone-auditSkill
- gated-dual-cloneSkill
- glass-designSkill
- graphite-designSkill
- hardware-3dSkill
- kernel-explainSkill
- lectern-designSkill
- linux-kernel-devSkill
- md-to-pdfSkill
- primer-designSkill
- relief-designSkill
- sage-designSkill
- skills-syncSkill
- tech-pdf-readerSkill
- wechat-video-publisherSkill
The file
Files
Apple 风格的讲解页
配色和克制照 apple,其余自由。目标只有一个:读者看完能懂这件事。
2026-10-07 改版(user 定,和 anthropic-design 同一思路):原来有 10 行写着「必须」——
图密度配额、动笔前先跑 dr-cli --plan、交付前嵌 self-diff、critic ≥ 75、canonical 当评分标准、hero 必须用某个容器类。
现在只定死配色和「蓝色只用一处」的克制,其余改成指引和案例。references/ 里写的「MUST」当经验看;和本文件冲突时以本文件为准。
1. 定死的:配色和克制
| 用途 | 颜色 |
| 页面底 · 交替段落底 · 黑色章节 | #FFFFFF · #F5F5F7 · #000000 |
| 正文字 · 次要字 · 分隔线 | #1D1D1F · #6E6E73 · #D2D2D7 |
| 唯一的强调色 | 蓝 #0066CC:链接、主按钮、图里的焦点 |
| 状态(只在需要表达状态时用) | 绿 #1F7A37 · 橙 #B25000 · 红 #D70015(白底上 5.39 / 5.20 / 5.38,能当小字) |
| 深色框(终端 / 代码) | 底 #1D1D1F · 标题条 #2C2C2E · 字 #F5F5F7 · 次要字 #98989D |
- 蓝色只用一处:强调靠位置、字号和留白,不靠多加颜色。层级、分类用灰阶区分。
- 文字用色要过 WCAG AA。下面的数是 2026-10-07 按 WCAG 相对亮度公式算的:
- 次要字
#6E6E73在白底 5.07、在#F5F5F74.66,放到更深的灰块(代码块、选中态)上就不够了,那里用#636366(≥ 4.85)。 - 蓝底按钮上用白字(5.57);深字在
#0066CC上只有 3.0。 - 深色框里的次要字用
#98989D(在#2C2C2E上 4.85),#8E8E93只有 4.27。
- 次要字
assets/apple.css(apple-*组件)和assets/fonts.css可以用,不强制。
2. 让人看懂的三种做法(案例,不是规则)
范例:demos/apple-design/explainer.html —— whetstone 介绍站首页换成 apple 风格(白 / 浅灰交替、蓝色单一强调、系统无衬线粗标题)。
| 做法 | 为什么管用 | 范例里看哪 |
| 首屏用动画演示机制 | 读者第一眼看到的是这个东西怎么动 | 首屏右侧:经验被分进 L1–L4 四层 |
| 证据模块 | 页面越好看,内容越容易被当真;证据让读者能自己核对 | #evidence:命令输出终端、检查计数条、REFUSED 票据、局限一节 |
| 读者能点选的解释器 | 自己点一下,比读三段文字快 | #evidence 的置信度表、#layers 点选岩层、#flow 流程步进 |
- 示意图要注明是示意:范例
#why的曲线图下面写着 "illustration, not measured data"。 - 巨字号统计是 apple 的老办法,适合「一个数字说明一件事」;数字要有出处。
- 动画演示机制里的某一步,只是装饰的能删就删;打开「减少动态效果」时内容必须完整。
3. 图例库
先按内容选图型。下表是起点,结构按实际内容改,可以混搭,也可以自创:
| 内容 | 可以用 | 内容 | 可以用 |
| 数字对比 / 统计 | 巨字号统计(apple 的视觉主角,计入视觉元素) | ≥3 步流程 / 启动链 / 数据流 | 流程图或时序图 |
| 系统结构 / 分层 / 依赖 | 架构图 | 时间演进 / 版本 / 里程碑 | 时间线 |
| 产品 / UI 描述 | 设备线稿 mock(diagram-craft §8 + templates/diagrams/device-mock.svg) | 连续纯文字 > 2 屏 | ≥ 1 个视觉元素 |
| 函数控制流 / 寄存器位域 | 函数流程图 / 位域图 | SoC 结构 / 信号时序 / 编译链 / 调度 | 对应内核图型(diagram-craft §12) |
| 排查一个具体故障 / 论证「改这里会影响那里」 | 调用链定位图(§17.5,每层挂 file:line、关键行贴原文;不手画,gen_call_site_figure.py --style=apple 从源文本生成) | 两条链共用了一个东西但彼此不调用 | 同上,并排画 · 蓝只给那道耦合 |
templates/diagrams/:33 张现成 SVG(含device-mock.svg设备线稿底版),图集demos/apple-design/diagrams.html(每张带 Copy SVG)。references/diagram-craft.md:画图手法(灰阶为本、蓝色一处、柔影白卡、先定尺寸再画)。- 调用链定位图不手画:
python3 ~/.claude/skills/design-review/scripts/gen_call_site_figure.py <源文本> --style=apple。 - 手机上的宽图包进
<div class="apple-scroll" style="--pan-w:NNNpx">左右拖,--pan-w是最小字刚好 9px 时图的宽度;不需要读字的图片类标data-allow-shrink。
4. 检查:只查客观缺陷
node ~/.claude/skills/design-review/scripts/check_objective.mjs page.html [...]六项:O1 JS 报错 · O2 文字对比度 · O3 真实横向滚动 · O4 手机上图里的字 ≥ 9px · O5 关掉动画也完整 ·
O6 图里的字对比度(暂时只提醒)。
版式、字体、组件写法一概不查。每项怎么判、为什么这么判,见 anthropic-design/SKILL.md 第 4 节。
O2 用的 axe 不查 SVG 里文字的对比度,O6 补的就是这一块。图例模板里的 #86868b 灰字在白底上只有 3.62,
新画的图别照抄,用 --apple-text-secondary 的值 #6e6e73(白底 5.07、#f5f5f7 底 4.66)。
5. 可选:想要风格上的第二意见时
design-review的四道检查 + critic 评分、dr-cli --audit:还能用,不是交付门槛。critic 拿 canonical 当靶子,偏离范例的版式会被扣分,在本 skill 里不算问题。- 参考资料都当案例和经验看:
references/下 design-tokens / typography / layout-patterns / components(28 组件)/ diagram-craft / motion(入场缓动 + 手势 spring)/ imagery / data-display / responsive / dos-and-donts,references/canonical/10 个范例页,templates/页面模板。 - 旧经验仍然有用的一条:apple 默认容器较窄(980px),信息密集的大图放进宽容器(
apple-container--hero,1280px)再横跨整行,否则字会被压到 9px 以下。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

