본문으로 건너뛰기
cccskills
무료GitHub에 공개

multimodal-spatial-video-cloner

Expert guide for reverse-engineering UI/UX interactions from screen-recordings and spatial video, extracting animation spring curves, and generating pixel-perfect Tailwind CSS v4 and Framer Motion code / Panduan ahli rekayasa balik interaksi UI/UX dari rekaman layar dan video spasial, ekstraksi kurva pegas animasi, dan pembuatan kode presisi Tailwind CSS v4 serta Framer Motion.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md10.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

multimodal-spatial-video-cloner — vibes-plug Skill

English | Bahasa Indonesia


<a name="english"></a>

English

Orchestration & Integration

Connects and orchestrates with brainstorming, zero-to-prod-orchestrator, website-design-cloner, senior-frontend, tailwind-expert, svg-animation-motion-expert, and ui-ux-pro-max to transform screen recordings, UI video captures, and spatial demos into production-ready React 19 and Tailwind CSS v4 code.

Description

Production guide for analyzing UI/UX screen-recordings, dynamic software walkthroughs, and spatial video captures to reverse-engineer interface hierarchies, interaction flows, and physics-based motion. Extracts exact layout hierarchies, color palettes, spacing rhythm, spring physics (stiffness, damping, mass), and micro-interactions, emitting clean Tailwind CSS v4 components with Framer Motion or native CSS View Transitions.

Trigger Conditions

Activate this skill when:

  • Provided with a screen recording, GIF, or video walkthrough of a target user interface or web app.
  • Replicating complex UI micro-interactions, gesture-driven drawer animations, or fluid card expansion flows.
  • Converting recorded spatial or mobile interfaces into responsive desktop and mobile web experiences.
  • Extracting exact animation timing, cubic bezier curves, and spring parameters from visual media.

Core Concepts & Patterns

1. Video-to-Code Extraction Pipeline

[Screen Recording / MP4 / WebM]
                │
                ▼
   [Keyframe Slicing & Optical Flow]
  ├── Layout Keyframes (0%, 25%, 50%, 75%, 100%)
  └── Motion Vector Analysis (Acceleration & Spring Bounds)
                │
                ▼
   [Design Token & Physics Extraction]
  ├── OKLCH Colors, Typography, Border Radii
  └── Spring Parameters: { stiffness: 350, damping: 28, mass: 0.8 }
                │
                ▼
   [Production Code Synthesis]
  ├── React 19 Functional Component
  ├── Tailwind CSS v4 Theme Utility Classes
  └── Framer Motion / Native CSS Transition Specs

2. Reverse-Engineered Spring Card Component (React 19 & Tailwind v4)

import React, { useState } from 'react';
import { motion, AnimatePresence } from 'framer-motion';

export interface SpatialCardProps {
  title: string;
  category: string;
  description: string;
  imageUrl: string;
}

export function ReverseEngineeredSpringCard({
  title,
  category,
  description,
  imageUrl
}: SpatialCardProps) {
  const [isExpanded, setIsExpanded] = useState(false);

  // Extracted physics from 60fps screen recording
  const springTransition = {
    type: 'spring' as const,
    stiffness: 380,
    damping: 30,
    mass: 0.9
  };

  return (
    <div className="relative p-4 flex justify-center items-center">
      <motion.div
        layout
        transition={springTransition}
        onClick={() => setIsExpanded(!isExpanded)}
        className="w-full max-w-md bg-neutral-900 border border-neutral-800 rounded-3xl p-5 shadow-2xl cursor-pointer overflow-hidden focus-visible:ring-2 focus-visible:ring-emerald-500 focus-visible:outline-none"
        tabIndex={0}
        role="button"
        aria-expanded={isExpanded}
      >
        <motion.div layout className="relative h-48 w-full rounded-2xl overflow-hidden mb-4">
          <img
            src={imageUrl}
            alt={title}
            className="w-full h-full object-cover transition-transform duration-500 ease-out hover:scale-105"
          />
          <span className="absolute top-3 left-3 bg-black/60 backdrop-blur-md text-emerald-400 text-xs font-semibold px-3 py-1 rounded-full border border-emerald-500/20">
            {category}
          </span>
        </motion.div>

        <motion.h3 layout className="text-xl font-bold text-white tracking-tight">
          {title}
        </motion.h3>

        <AnimatePresence>
          {isExpanded && (
            <motion.p
              initial={{ opacity: 0, height: 0 }}
              animate={{ opacity: 1, height: 'auto' }}
              exit={{ opacity: 0, height: 0 }}
              transition={{ duration: 0.25, ease: [0.16, 1, 0.3, 1] }}
              className="text-neutral-400 text-sm mt-3 leading-relaxed"
            >
              {description}
            </motion.p>
          )}
        </AnimatePresence>

        <motion.div layout className="mt-4 flex items-center justify-between text-xs text-neutral-500">
          <span>Click to {isExpanded ? 'collapse' : 'expand'}</span>
          <span className="text-emerald-400 font-medium">Physics Verified</span>
        </motion.div>
      </motion.div>
    </div>
  );
};

Best Practices

  1. Extract Timing from Keyframe Deltas: Calculate milliseconds between animation start, midpoint apex, and settled state from video frame timestamps.
  2. Support Reduced Motion: Always wrap spring animations in useReducedMotion() checks, falling back to instant opacity fades for accessibility compliance (WCAG 2.2).
  3. Use OKLCH Color Spaces: Convert colors extracted from video pixels into native Tailwind v4 OKLCH tokens to preserve visual fidelity across HDR displays.
  4. Never Truncate Intermediate States: Accurately capture enter, active, and exit transitions rather than snapping between binary states.

Common Pitfalls to Avoid

Anti-PatternVisual ArtifactCorrect Approach
Guessing arbitrary duration: 0.3s ease-in-outFeels robotic and unlike the fluid video sourceCalibrate spring stiffness and damping from motion vectors
Missing focus outline on interactive motion cardsFails accessibility audit for keyboard navigationInclude focus-visible:ring-2 focus-visible:outline-none
Overlooking responsive constraints seen in recordingBreaks on mobile viewportsExtract responsive layout shifts across desktop and mobile frames

Integration with Other Skills (MANDATORY)

  • website-design-cloner — Complement static URL cloning with dynamic video micro-interaction extraction.
  • senior-frontend — Integrate generated motion components into React 19 and Next.js 15 apps.
  • tailwind-expert — Map extracted spacing and colors to Tailwind CSS v4 @theme directives.
  • svg-animation-motion-expert — Implement complex vector path interpolations seen in recorded demos.

Referenced By Orchestrators (MANDATORY)

  • brainstorming — Added to "UI/UX & Design Systems" and "Penemuan & Audit" matrix rows.
  • zero-to-prod-orchestrator — Integrated in Phase 1 (Discovery & PRD) and Phase 5 (Frontend & Design Systems).

<a name="bahasa-indonesia"></a>

Bahasa Indonesia

Integrasi Orkestrasi

Terhubung dan mengorkestrasi dengan brainstorming, zero-to-prod-orchestrator, website-design-cloner, senior-frontend, tailwind-expert, svg-animation-motion-expert, dan ui-ux-pro-max untuk mengubah rekaman layar, video antarmuka, dan demo spasial menjadi kode React 19 dan Tailwind CSS v4 siap produksi.

Deskripsi

Panduan produksi untuk menganalisis rekaman layar UI/UX, video walkthrough software, dan rekaman spasial guna merekayasa balik hierarki visual, alur interaksi, dan fisika animasi. Mengekstrak tata letak, palet warna, ritme spasi, parameter pegas (stiffness, damping, mass), serta mikro-interaksi, menghasilkan komponen Tailwind CSS v4 dengan animasi Framer Motion atau CSS native yang presisi.

Kondisi Pemicu

Aktifkan skill ini ketika:

  • Diberikan rekaman video, GIF, atau tangkapan layar antarmuka pengguna atau aplikasi web.
  • Mereplikasi mikro-interaksi UI yang rumit, animasi laci geser, atau ekspansi kartu yang dinamis.
  • Mengonversi rekaman antarmuka aplikasi seluler/spasial menjadi halaman web responsif.
  • Mengekstrak durasi animasi, kurva cubic-bezier, dan parameter fisika pegas secara akurat dari media visual.

Konsep Inti & Pola Praktik

1. Pipeline Analisis Video ke Kode

  1. Pemotongan Keyframe: Mengambil frame pada titik 0%, 25%, 50%, 75%, dan 100% dari durasi interaksi.
  2. Kalkulasi Vektor Gerak: Menghitung percepatan dan pantulan (bounce) elemen untuk menentukan parameter pegas (spring physics).
  3. Penyusunan Kode Produksi: Menyusun komponen React 19 dengan utilitas Tailwind CSS v4 dan transisi Framer Motion atau CSS native.

2. Kepatuhan Aksesibilitas

  • Selalu sediakan fallback bagi pengguna dengan preferensi prefers-reduced-motion.
  • Wajib menyertakan cincin fokus aksesibel (focus-visible:ring-2) pada elemen interaktif.

Praktik Terbaik

  1. Hitung Waktu dari Timestamp Video: Ukur milidetik transisi berdasarkan jarak antar frame untuk memperoleh kelembutan animasi yang identik.
  2. Gunakan Token OKLCH: Manfaatkan gamut warna luas di Tailwind v4 untuk mempertahankan kecerahan warna yang terlihat di layar HDR.
  3. Pertahankan State Keluar (Exit Transitions): Pastikan elemen menghilang secara bertahap menggunakan AnimatePresence, bukan terputus seketika.
  4. Desain Responsif Sejak Awal: Sesuaikan tata letak komponen agar tampil optimal di layar ponsel maupun desktop.

Jebakan Umum yang Harus Dihindari

Praktik BurukDampak BurukSolusi Rekayasa
Mengira-ngira durasi animasi secara sembaranganGerakan terasa kaku dan tidak naturalKalibrasi nilai stiffness dan damping dari video
Menghapus outline fokus pada kartu interaktifTidak lulus uji aksesibilitas navigasi keyboardBerikan focus-visible:ring-2 focus-visible:outline-none
Mengabaikan layout layar kecilTampilan berantakan saat dibuka di perangkat mobilePeriksa perilaku responsif dari rekaman video

Integrasi dengan Skill Lain (WAJIB)

  • website-design-cloner — Melengkapi kloning URL statis dengan ekstraksi mikro-interaksi dari video.
  • senior-frontend — Integrasi komponen animasi ke aplikasi React 19 dan Next.js 15.
  • tailwind-expert — Memetakan warna dan ukuran ke konfigurasi tema Tailwind CSS v4.
  • svg-animation-motion-expert — Mengimplementasikan animasi path vektor yang tampak pada video.

Direferensikan oleh Orchestrator (WAJIB)

  • brainstorming — Tambahkan ke baris "UI/UX & Design Systems" dan "Penemuan & Audit" pada Matriks Orkestrasi.
  • zero-to-prod-orchestrator — Tambahkan ke Fase 1 (Discovery & PRD) dan Fase 5 (Frontend, Design Systems & Mobile Apps).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Expert guide for automated and manual Web Accessibility (a11y) testing — axe-core, Pa11y, Playwright a11y, screen reader testing, and WCAG 2.2 Level AA/AAA compliance / Panduan ahli pengujian aksesibilitas web.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

Expert guide for intelligent model cascading and routing — complexity-scored task routing from Flash/Haiku to Sonnet/Opus/Astra, dynamic escalation with quality gates, 40-60% token cost reduction while maintaining output quality / Panduan ahli untuk kaskade dan routing model cerdas — routing tugas berbasis skor kompleksitas dari Flash/Haiku ke Sonnet/Opus/Astra, eskalasi dinamis dengan gerbang kualitas, pengurangan biaya token 40-60% dengan kualitas output terjaga.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

Expert guide for Affective Computing, emotional AI, and real-time sentiment analysis through native multimodal tokens (voice intonation and facial micro-expressions) / Panduan ahli komputasi afektif, AI emosional, dan analisis sentimen real-time melalui token multimodal native.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

Expert guide for AI-assisted coding workflows — agentic code generation, multi-agent code swarms, self-healing CI/CD, automated PR review, spec-to-code pipelines, codebase knowledge graphs, and human-in-the-loop approval gates / Panduan ahli untuk workflow pengkodean berbasis AI — generasi kode agentic, code swarm multi-agen, CI/CD self-healing, review PR otomatis, pipeline spec-to-code, knowledge graph codebase, dan gate persetujuan human-in-the-loop.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

Expert guide for autonomous Machine-to-Machine (M2M) agent settlement, dual-rail fiat & stablecoin micro-clearing, dynamic budget envelopes, and cryptographic agent invoicing / Panduan ahli settlement otonom antar-agen (M2M), kliring mikro dual-rail fiat & stablecoin, pagu anggaran dinamis, dan penagihan agen kriptografis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

Expert guide for long-term episodic memory integration (Mem0 v2, Letta/MemGPT, Zep v2), memory tier architecture, pgvector HNSW storage, and unified context management for autonomous AI agents / Panduan ahli untuk integrasi memori episodik jangka panjang (Mem0 v2, Letta/MemGPT, Zep v2), arsitektur tier memori, penyimpanan pgvector HNSW, dan manajemen konteks terpadu untuk agen AI otonom.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

roedyrustam/vibes-plug1052026년 10월 20일 업데이트

roedyrustam의 스킬 모두 보기

이 스킬의 문제 신고