apple-design

apple-design is a skill for Claude Code from stvlynn/dsh.fish. It costs 80 tokens per session (5,089 once invoked), scanned A, a copy of apple-design, MIT.

A set of web interface design principles based on Apple's approach to fluid motion and physical-feeling interaction. It covers spring-like animation, touch and pointer gestures, momentum, interruptible transitions, translucency, depth, and typography.

In plain words
What is it for?
Use it when building or reviewing gesture-driven interfaces such as sheets, drawers, draggable elements, and swipe interactions, including their animation timing, momentum, boundaries, and visual depth.
Why use it?
It helps interfaces feel predictable and responsive during dragging, swiping, opening, and reversing. It gives developers guidance for making motion follow the user's actions instead of playing as fixed effects.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when building or reviewing gesture-driven interfaces such as sheets, drawers, draggable elements, and swipe interactions, including their animation timing, momentum, boundaries, and visual depth.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stvlynn/dsh.fish/apple-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add stvlynn/dsh.fish --skill apple-design
Clone the repo
git clone --depth 1 https://github.com/stvlynn/dsh.fish

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apple-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/stvlynn/dsh.fish/apple-design/github.svg)](https://agentmods.dev/skills/stvlynn/dsh.fish/apple-design)
Your own site
<a href="https://agentmods.dev/skills/stvlynn/dsh.fish/apple-design"><img src="https://agentmods.dev/badge/skills/stvlynn/dsh.fish/apple-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apple-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/stvlynn/dsh.fish/apple-design"><img src="https://agentmods.dev/badge/skills/stvlynn/dsh.fish/apple-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,089 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.05089
Opus 5.5 $0.00032 $0.02036
Sonnet 5.5 $0.00016 $0.01018
Haiku 4.5 $0.00008 $0.00509

Measured 1mo ago against content hash 11840b24a11d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to apple-design — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/apple-design/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on 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;
}

Read the full file on GitHub · 283 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 283 lines · 80 tokens per session scan A 11840b24a11d

Subscribe to this mod's changes

apple-design is a skill published in the GitHub repository stvlynn/dsh.fish (2 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 5,089 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to apple-design, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

Sivan757/dsh-agent-plugins-market · 40 tokens

figma-implement-motion

Translates Figma motion and animations into production-ready application code. Use when implementing animation/motion from a Figma design — user mentions "implement this motion", "add animation from Figma", "animate this component", provides a Figma URL whose node is animated, or when getdesigncontext returns motion…

Devin-AXIS/iPolloWork · 81 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. 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…

Devin-AXIS/iPolloWork · 90 tokens

ipollowork-plugin-ui

A set of instructions for building iPolloWork plug-in interfaces with shared components, colours, fonts, and interaction rules. It covers both React plug-ins and standalone HTML or iframe plug-ins.

Devin-AXIS/iPolloWork · 93 tokens

emil-design-eng

Create, implement, or review design engineering craft work with format, accessibility, performance, and visual-verification controls. Use when the requested deliverable depends on design engineering craft.

sandbaseai/sandbase-skills · 40 tokens

tailwind-design-system

Create, implement, or review tailwind design system work with format, accessibility, performance, and visual-verification controls. Use when the requested deliverable depends on tailwind design system.

sandbaseai/sandbase-skills · 42 tokens