Back to Skills

common-fate

majiayu000
Updated Today
2 views
58
9
58
View on GitHub
Othergeneral

About

The common-fate skill implements the Gestalt principle where elements moving together are perceived as a group. Use it when designing coordinated animations, transitions, or drag-and-drop interactions to visually link components. It helps developers create intuitive interfaces by making related elements react in unison.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/majiayu000/claude-skill-registry
Git CloneAlternative
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/common-fate

Copy and paste this command in Claude Code to install this skill

Documentation

Principio de Destino Común

Resumen

Los elementos que se mueven en la misma dirección y velocidad se perciben como relacionados o parte del mismo grupo, incluso si tienen otras características diferentes.

Origen

  • Escuela: Psicología de la Gestalt
  • Año: ~1920s
  • Autores principales: Max Wertheimer, Kurt Koffka, Wolfgang Köhler

Fundamento Psicológico

El sistema visual evolucionó para detectar objetos en movimiento (depredadores, presas). Elementos que comparten movimiento se interpretan como una unidad porque en la naturaleza, partes del mismo objeto se mueven juntas.

Aplicación en Diseño

Animaciones de Grupo

  • Cards que se reorganizan juntas al filtrar
  • Elementos que entran en escena coordinadamente
  • Collapse/expand de secciones como unidad
  • Parallax con capas que se mueven a diferentes velocidades

Drag and Drop

  • Múltiples items seleccionados se mueven juntos
  • Ghost preview muestra todos los elementos
  • Drop zones que se expanden juntas
  • Elementos que "hacen espacio" al mismo tiempo

Transiciones de Estado

  • Loading states que afectan grupos
  • Hover effects que propagan a relacionados
  • Selection que destaca grupo completo
  • Ripple effects coordinados

Scroll Behaviors

  • Sticky headers que se mueven con scroll
  • Elementos que aparecen/desaparecen en sync
  • Carousels con movimiento coordinado
  • Parallax que agrupa por velocidad

Ejemplos

  • Trello: Mover card mueve todos sus elementos
  • macOS Mission Control: Ventanas de misma app agrupadas
  • Figma: Selección múltiple se mueve como unidad
  • iOS Folders: Apps dentro se mueven juntas
  • Google Photos: Grid items que se reorganizan

Anti-patterns

  • ❌ Elementos relacionados que se animan independientemente
  • ❌ Transiciones desincronizadas en grupos
  • ❌ Drag que no muestra todos los items seleccionados
  • ❌ Scroll con elementos relacionados a diferentes velocidades
  • ❌ Hover effects que no propagan a elementos asociados

Métricas

  • Animation Sync Score: Coordinación de movimientos
  • Group Recognition: Usuarios identifican grupos por movimiento
  • Interaction Cohesion: Consistencia en comportamientos de grupo
  • Motion Hierarchy: Claridad en relaciones por movimiento

Principios Relacionados

  • [[proximity]] - Cercanía espacial también agrupa
  • [[similarity]] - Similitud visual agrupa
  • [[continuity]] - Movimiento en trayectorias continuas

Referencias

GitHub Repository

majiayu000/claude-skill-registry
Path: skills/common-fate

Related Skills

algorithmic-art

Meta

This Claude Skill creates original algorithmic art using p5.js with seeded randomness and interactive parameters. It generates .md files for algorithmic philosophies, plus .html and .js files for interactive generative art implementations. Use it when developers need to create flow fields, particle systems, or other computational art while avoiding copyright issues.

View skill

subagent-driven-development

Development

This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.

View skill

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill