apple-design
Qué hace
Esta skill comparte principios de las charlas de diseño de Apple y los aplica a interfaces web. Está pensada para desarrolladores y diseñadores que quieren que los gestos de arrastrar, deslizar y hojas se sientan físicos y receptivos.
Cuándo usarla
- ✓Cuando construyes o revisas una interfaz guiada por gestos, como un arrastre, un deslizamiento o una hoja.
- ✓Cuando quieres animaciones tipo resorte que puedan interrumpirse y redirigirse.
- ✓Cuando necesitas admitir el movimiento reducido o pulir la tipografía y los materiales.
Link de la skill
https://github.com/spree/spree/blob/main/.agents/skills/apple-design/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Haz que esta hoja inferior siga mi dedo, conserve el impulso y se sienta natural cuando lo suelte.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente aplica un conjunto de principios: el movimiento parte del valor actual en pantalla, conserva la velocidad del usuario y puede agarrarse y revertirse en cualquier momento. Usa resortes y los eventos de entrada web para conseguirlo.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Es solo para dispositivos Apple?
No. Traduce los principios de diseño de Apple a herramientas web como CSS, Pointer Events y bibliotecas de resortes.
¿Qué significa interrumpible?
Que un movimiento puede agarrarse y revertirse a mitad de camino, en lugar de tener que terminar antes.
¿Cubre el movimiento reducido?
Sí. La skill incluye orientaciones para las configuraciones de movimiento reducido.
Detalles
Descripción original del autor
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
Popularidad
- Estrellas en GitHub
- 16 mil
- Posición en el ranking
- #10874
- Licencia
- BSD-3-Clause
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
animate
16 milCrea una animación desde cero decidiendo primero si debe animarse, y después eligiendo su propósito, su tiempo y su curva antes de escribir el código.
animation-vocabulary
16 milConvierte una descripción vaga de una animación o de un efecto de movimiento en su nombre técnico exacto, para que sepas qué pedir.
find-animation-opportunities
16 milBusca en una interfaz los lugares que se beneficiarían del movimiento y descarta el resto. Da una lista corta de sugerencias de animación concretas sin cambiar el código.
improve-animations
16 milAudita las animaciones de una base de código y escribe planes priorizados que otro agente puede ejecutar. Solo hace planes; no cambia el código fuente.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.