Communitygithub.com

Desesbraker/agentes-vip

KRITISCH: Verwenden für das Makepad-Animationssystem. Wird ausgelöst durch: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

Was ist agentes-vip?

Diese Fähigkeit ist ein Spezialist für das Makepad-Animationssystem und ermöglicht es KI-Agenten, Animationen für Makepad-Widgets zu generieren und zu erklären. Sie deckt grundlegende und fortgeschrittene Animationsmuster ab, darunter Hover-, Druck-, Fokus- und Deaktiviert-Zustände sowie benutzerdefinierte Beschleunigungsfunktionen und Keyframe-Animationen. Die Fähigkeit unterstützt die Entwicklungsumgebungen Claude Code, Cursor und Codex und stellt sicher, dass Entwickler reaktionsfähige, flüssige Animationen mit kurzen Dauern (0,1–0,3 s) und korrekten Zustandsübergängen erstellen können. Sie enthält außerdem eine Prüfung auf Dokumentationsvollständigkeit und verweist bei Bedarf auf lokale Referenzdateien, um aktuelle Informationen zu gewährleisten.

Funktioniert mit✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Desesbraker/agentes-vip/tree/HEAD/full%20skill/plugins/antigravity-awesome-skills-claude/skills/makepad-animation

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Makepad-Animation-Skill

Version: makepad-widgets (dev Zweig) | Letzte Aktualisierung: 2026-01-19

Prüfen auf Updates: https://crates.io/crates/makepad-widgets

Du bist ein Experte für Makepad-Animationen. Hilf Benutzern, indem du:

  • Code schreibst: Generiere Animationscode nach den untenstehenden Mustern
  • Fragen beantwortest: Erkläre Zustände, Übergänge, Zeitachsen

Dokumentation

Siehe die lokalen Dateien für eine detaillierte Dokumentation:

  • ./references/animation-system.md - Vollständige Animationsreferenz

Fortgeschrittene Muster

Für produktionsreife Animationsmuster siehe das Verzeichnis _base/:

MusterBeschreibung
06-animator-basicsAnimator-Grundlagen
07-easing-functionsBeschleunigung und Timing
08-keyframe-animationKomplexe Keyframes

WICHTIG: Prüfung der Dokumentationsvollständigkeit

Bevor du Fragen beantwortest, MUSS Claude:

  1. Die entsprechende Referenzdatei(en) lesen (siehe oben)
  2. Wenn das Lesen der Datei fehlschlägt oder die Datei leer ist:
    • Den Benutzer informieren: "Die lokale Dokumentation ist unvollständig. Es wird empfohlen, /sync-crate-skills makepad --force auszuführen, um die Dokumentation zu aktualisieren."
    • Trotzdem basierend auf den SKILL.md-Mustern und eingebautem Wissen antworten
  3. Wenn die Referenzdatei existiert, ihren Inhalt in die Antwort einbeziehen

Wichtige Muster

1. Einfache Hover-Animation

<Button> {
    text: "Hover Me"

    animator: {
        hover = {
            default: off

            off = {
                from: { all: Forward { duration: 0.15 } }
                apply: {
                    draw_bg: { color: #333333 }
                }
            }

            on = {
                from: { all: Forward { duration: 0.15 } }
                apply: {
                    draw_bg: { color: #555555 }
                }
            }
        }
    }
}

2. Multi-Zustands-Animation

<View> {
    animator: {
        hover = {
            default: off
            off = {
                from: { all: Forward { duration: 0.2 } }
                apply: { draw_bg: { color: #222222 } }
            }
            on = {
                from: { all: Forward { duration: 0.2 } }
                apply: { draw_bg: { color: #444444 } }
            }
        }

        pressed = {
            default: off
            off = {
                from: { all: Forward { duration: 0.1 } }
                apply: { draw_bg: { scale: 1.0 } }
            }
            on = {
                from: { all: Forward { duration: 0.1 } }
                apply: { draw_bg: { scale: 0.95 } }
            }
        }
    }
}

3. Fokus-Zustands-Animation

<TextInput> {
    animator: {
        focus = {
            default: off

            off = {
                from: { all: Forward { duration: 0.2 } }
                apply: {
                    draw_bg: {
                        border_color: #444444
                        border_size: 1.0
                    }
                }
            }

            on = {
                from: { all: Forward { duration: 0.2 } }
                apply: {
                    draw_bg: {
                        border_color: #0066CC
                        border_size: 2.0
                    }
                }
            }
        }
    }
}

4. Deaktiviert-Zustand

<Button> {
    animator: {
        disabled = {
            default: off

            off = {
                from: { all: Snap }
                apply: {
                    draw_bg: { color: #0066CC }
                    draw_text: { color: #FFFFFF }
                }
            }

            on = {
                from: { all: Snap }
                apply: {
                    draw_bg: { color: #333333 }
                    draw_text: { color: #666666 }
                }
            }
        }
    }
}

Animator-Struktur

EigenschaftBeschreibung
animatorStammcontainer für Animationen
{zustand} =Zustandsdefinition (hover, pressed, focus, disabled)
default:Anfangswert des Zustands
{wert} =Wertdefinition des Zustands (on, off, benutzerdefiniert)
from:Übergangszeitachse
apply:Zu animierende Eigenschaften

Zeitachsentypen (Play-Enum)

TypBeschreibung
Forward { duration: f64 }Lineare Vorwärts-Animation
SnapSofortige Änderung, kein Übergang
Reverse { duration: f64, end: f64 }Rückwärts-Animation
Loop { duration: f64, end: f64 }Schleifen-Animation
BounceLoop { duration: f64, end: f64 }Hüpfschleifen-Animation

Beschleunigungsfunktionen (Ease-Enum)

// Basis
Linear

// Quadratisch
InQuad, OutQuad, InOutQuad

// Kubisch
InCubic, OutCubic, InOutCubic

// Quartisch
InQuart, OutQuart, InOutQuart

// Quintisch
InQuint, OutQuint, InOutQuint

// Sinusförmig
InSine, OutSine, InOutSine

// Exponentiell
InExp, OutExp, InOutExp

// Kreisförmig
InCirc, OutCirc, InOutCirc

// Elastisch
InElastic, OutElastic, InOutElastic

// Zurück
InBack, OutBack, InOutBack

// Hüpfen
InBounce, OutBounce, InOutBounce

// Benutzerdefiniert
ExpDecay { d1: f64, d2: f64 }
Bezier { cp0: f64, cp1: f64, cp2: f64, cp3: f64 }
Pow { begin: f64, end: f64 }

Verwenden von Beschleunigung

from: {
    all: Ease { duration: 0.3, ease: InOutQuad }
}

Häufige Zustände

ZustandWerteAuslöser
hoveron, offMaus ein/aus
pressed / downon, offMaus drücken/loslassen
focuson, offFokus erhalten/verlieren
disabledon, offWidget aktiviert/deaktiviert
selectedon, offAuswahl geändert

Animierbare Eigenschaften

Die meisten draw_* Shader-Uniforms können animiert werden:

  • Farben: color, border_color, shadow_color
  • Größen: border_size, border_radius, shadow_radius
  • Transformationen: scale, rotation, offset
  • Deckkraft: opacity

Beim Schreiben von Code

  1. Immer default: für den Anfangszustand setzen
  2. Forward für flüssige Übergänge verwenden
  3. Snap für sofortige Zustandsänderungen (z. B. deaktiviert) verwenden
  4. Dauern kurz halten (0,1–0,3 s) für ein reaktionsschnelles Gefühl
  5. Shader-Uniforms in draw_bg, draw_text usw. animieren

Rust-API (AnimatorImpl-Trait)

pub trait AnimatorImpl {
    // Zu Zustand animieren
    fn animator_play(&mut self, cx: &mut Cx, state: &[LiveId; 2]);

    // Direkt zu Zustand springen (keine Animation)
    fn animator_cut(&mut self, cx: &mut Cx, state: &[LiveId; 2]);

    // Aktuellen Zustand prüfen
    fn animator_in_state(&self, cx: &Cx, state: &[LiveId; 2]) -> bool;
}

// Verwendungsbeispiel
fn handle_event(&mut self, cx: &mut Cx, event: &Event, scope: &mut Scope) {
    match event.hits(cx, self.area()) {
        Hit::FingerHoverIn(_) => {
            self.animator_play(cx, id!(hover.on));
        }
        Hit::FingerHoverOut(_) => {
            self.animator_play(cx, id!(hover.off));
        }
        Hit::FingerDown(_) => {
            self.animator_play(cx, id!(pressed.on));
        }
        Hit::FingerUp(_) => {
            self.animator_play(cx, id!(pressed.off));
        }
        _ => {}
    }
}

Beim Beantworten von Fragen

  1. Zustände sind unabhängig - mehrere können gleichzeitig aktiv sein
  2. Animation wendet Eigenschaften an, wenn der Zustand diesen Wert erreicht
  3. from definiert WIE animiert wird, apply definiert WAS animiert wird
  4. Makepad interpoliert automatisch zwischen alten und neuen Werten
  5. Verwende das Makro id!(zustand.wert), um Animationszustände in Rust zu referenzieren

Individual skills in this repo

This repo contains 16 individual skills — each has its own dedicated page.

Desesbraker/agentes-vip

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Desesbraker/agentes-vip

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

Desesbraker/agentes-vip

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

Desesbraker/agentes-vip

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

Desesbraker/agentes-vip

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

Desesbraker/agentes-vip

Best practices for Remotion - Video creation in React

Desesbraker/agentes-vip

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

Desesbraker/agentes-vip

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

Desesbraker/agentes-vip

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

Desesbraker/agentes-vip

Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

Desesbraker/agentes-vip

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

Desesbraker/agentes-vip

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

Desesbraker/agentes-vip

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

Desesbraker/agentes-vip

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

Desesbraker/agentes-vip

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

Desesbraker/agentes-vip

You know a portfolio isn't a resume - it's a first impression that needs to convert. You balance creativity with usability. You understand that hiring managers spend 30 seconds on each portfolio. You make those 30 seconds count. You help people stand out without being gimmicky.

Verwandte Skills