apple-design
하는 일
이 스킬은 Apple 디자인 강연의 원칙을 웹 인터페이스에 적용합니다. 드래그, 스와이프, 시트 상호작용이 물리적이고 반응이 좋게 느껴지도록 하려는 개발자와 디자이너를 위한 스킬입니다.
사용하는 경우
- ✓드래그, 스와이프, 시트처럼 제스처 기반 인터페이스를 만들거나 검토할 때.
- ✓중간에 멈추고 방향을 바꿀 수 있는 스프링 애니메이션을 원할 때.
- ✓움직임 줄이기를 지원하거나 타이포그래피와 소재를 다듬어야 할 때.
스킬 링크
https://github.com/spree/spree/blob/main/.agents/skills/apple-design/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 하단 시트가 제 손가락을 따라 움직이고, 손을 떼면 관성이 자연스럽게 이어지도록 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 여러 원칙을 적용합니다. 움직임은 현재 화면의 값에서 시작하고, 사용자의 속도를 유지하며, 언제든 잡아서 되돌릴 수 있습니다. 이를 위해 스프링과 웹 입력 이벤트를 사용합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Apple Design
How Apple builds interfaces that stop feeling like a computer and start feeling like an extension of you. This knowledge comes from Apple's WWDC design talks — chiefly Designing Fluid Interfaces (WWDC 2018) — distilled and translated into the web platform (CSS, Pointer Events, requestAnimationFrame, spring libraries like Motion/Framer Motion).
The through-line: an interface feels alive when motion starts from the current on-screen value, inherits the user's velocity, projects momentum forward, and can be grabbed and reversed at any instant. Springs are the tool that makes all of this natural, because they are inherently interruptible and velocity-aware.
The Core Idea
"When we align the interface to the way we think and move, something magical happens — it stops feeling like a computer and starts feeling like a seamless extension of us."
An interface is fluid when it behaves like the physical world: things respond instantly, move continuously, carry momentum, resist at boundaries, and can be redirected mid-motion. Everything below is a way to get closer to that.
Apple frames design as serving four human needs: safety/predictability, understanding, achievement, and joy. Every rule here serves one of them.
1. Response — kill latency
The moment lag appears, the feeling of directness "falls off a cliff." Response is the foundation everything else is built on.
- Respond on pointer-down, not on release. Highlight a button the instant it's pressed. Waiting for
click/touch-up to show feedback feels dead. - Be vigilant about every latency. Audit debounces, artificial timers, transition waits, and the ~300ms tap delay. Anything on the input path that isn't essential is a regression.
- Feedback must be continuous during the interaction, not just at the end. For a drag, slider, or drawer, update the UI 1:1 with the pointer the whole way through — never animate only when the gesture completes.
/* Feedback lives on the press, and it's instant */
.button:active {
transform: scale(0.97);
transition: transform 100ms ease-out;
}
2. Direct manipulation — 1:1 tracking
"Touch and content should move together."
When the user drags something, it must stay glued to the finger — and respect the offset from where they grabbed it. Snapping to the element's center on grab breaks the illusion immediately.
- Use Pointer Events with
setPointerCaptureso tracking continues even when the pointer leaves the element's bounds. - Track a short velocity/position history (last few
pointermoveevents), not just the current point — you'll need velocity at release.
el.addEventListener('pointerdown', (e) => {
el.setPointerCapture(e.pointerId);
const grabOffset = e.clientY - el.getBoundingClientRect().top; // respect where they grabbed
// ...track position + timestamp history for velocity
});
3. Interruptibility — the single most important principle
"The thought and the gesture happen in parallel."
Every animation must be interruptible and redirectable at any moment. A user must be able to grab a moving element mid-flight and reverse it without waiting for the animation to finish. A closing modal the user grabs again should follow the finger — not finish closing first, then reopen.
- Never lock out input during a transition.
- Always animate from the presentation (current) value, never the target value. On interrupt, read the element's live on-screen transform and start the new animation from there. Starting from the logical/target value causes a visible jump.
- Avoid CSS transitions and
@keyframesfor anything gesture-driven — they can't be smoothly grabbed and reversed mid-flight. Springs animate from the current value by default, which is exactly what interruption needs. - When a gesture reverses, blend velocity — don't hard-cut it. Replacing one animation with another at a reversal creates a velocity discontinuity, a "brick wall." Spring libraries that carry velocity through a re-target avoid it. (This is what iOS's additive animations do natively; on the web, choose a spring library that re-targets from the current velocity.)
- Decompose 2D motion into independent X and Y springs. A single spring on a 2D distance desyncs when X and Y have different velocities.
4. Behavior over animation — use springs
"Think of animation as a conversation between you and the object, not something prescribed by the interfac
자주 묻는 질문
Apple 기기에서만 쓸 수 있나요?
아닙니다. Apple의 디자인 원칙을 CSS, Pointer Events, 스프링 라이브러리 같은 웹 도구로 옮깁니다.
중단 가능하다는 것은 무슨 뜻인가요?
움직임이 끝날 때까지 기다리지 않고, 도중에 잡아서 되돌릴 수 있다는 뜻입니다.
움직임 줄이기도 다루나요?
네. 이 스킬은 움직임 줄이기 설정에 대한 안내를 포함합니다.
상세 정보
작성자의 원본 설명
Apple's approach to interface design and fluid, physical motion, translated for the web. Use when building or reviewing gesture-driven UI, spring animations, drag/swipe/sheet interactions, momentum and interruptible transitions, translucent materials and depth, typography (optical sizing, tracking, leading), reduced-motion, or the design foundations (feedback, spatial consistency, restraint) behind Apple-style interfaces.
repo: spree/spree
인기도
- GitHub 스타
- 16k
- 순위
- #10874
- 라이선스
- BSD-3-Clause
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
animate
16k먼저 애니메이션이 필요한지 판단한 뒤, 목적, 타이밍, 곡선을 정하고 코드를 작성해 움직임을 만듭니다.
animation-vocabulary
16k애니메이션이나 움직임 효과에 대한 모호한 설명을 정확한 기술 용어로 바꿔, 무엇을 요청해야 할지 알 수 있게 합니다.
find-animation-opportunities
16k인터페이스에서 움직임이 도움이 될 곳을 찾고 나머지는 걸러냅니다. 코드는 바꾸지 않고 정확한 애니메이션 제안의 짧은 목록을 줍니다.
improve-animations
16k코드베이스의 애니메이션을 감사하고, 다른 에이전트가 수행할 수 있는 우선순위 계획을 작성합니다. 계획만 작성하며 소스 코드는 바꾸지 않습니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.