Communitygithub.com

evalix098/tiktoklive

게임 애니메이션 자산(움직임 주기, 액션 키프레임, 이펙트 시퀀스, 애니메이션 스프라이트 시트)을 위한 심층 가이드로, 비디오 기반 파이프라인을 중심으로 구축되었습니다. 앱 빌더 샌드박스에서는 video2dsprite / generate2dsprite 스킬(마젠타 + 스크립트)을 통해 실행하고, 임시 ffmpeg는 사용하지 마세요.

tiktoklive란 무엇인가요?

이 스킬은 게임 애니메이션 자산 제작에 관한 포괄적인 지침을 제공합니다. 움직임 주기(walk/run), 액션(공격, 대기), 이펙트(FX, 불, 깃발) 및 애니메이션 시트 생성 시 사용됩니다. 비디오 기반 파이프라인을 기본으로 하여 이미지 생성기로는 구현하기 어려운 자연스러운 다리 교차, 동작 연속성, 천/불의 물리적 움직임을 자동으로 얻을 수 있습니다. 앱 빌더 샌드박스 내에서 generate2dsprite(고정 그리드)와 video2dsprite(비디오 기반 조밀한 로코모션) 두 가지 주요 파이프라인을 제공하며, 모두 #FF00FF 마젠타 배경을 사용한 크로마키 방식을 고수합니다. 생성 후에는 제공된 모션 법칙(루프, 연속성, 물리, 에너지)과 플립 테스트를 통해 최종 프레임의 품질을 검증해야 합니다. Claude Code, Cursor 등 다양한 AI 에이전트 플랫폼에서 사용 가능합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/evalix098/tiktoklive/tree/HEAD/.grok/skills/game-animation-frames

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

애니메이션 프레임 — 비디오 우선

이미지 생성기는 포즈를 그립니다. 비디오 생성기는 움직임을 이해합니다 — 다리 교차, 동작의 연속성, 천과 불의 역학이 비디오가 애니메이션을 표현해야 하기 때문에 자연스럽게 제공됩니다. 따라서 이미지 모델에게 중간 동작의 포즈를 요구하지 말고, 기본 동작을 애니메이션으로 만들고 실제 프레임을 추출하세요.

앱 빌더 실행 (먼저 읽기)

이 스킬은 원칙입니다 (모션 법칙, 루프 QC, 비디오 사용 시기). 앱 빌더 샌드박스에서는 임시 ffmpeg 추출을 실행하거나 임의의 키 가능한 #hex 배경을 만들지 마세요.

단계수행할 작업
프로덕션 스프라이트 / 고정 그리드generate2dsprite — 단색 #FF00FF 마젠타 시트 + 크로마 스크립트
비디오에서 더 조밀한 로코모션video2dsprite — #FF00FF 배경의 기본 이미지 → imagine_image_to_video → 스킬 스크립트 (ffmpeg + 크로마)
키 가능 배경두 파이프라인 사용 시 항상 #FF00FF (크로마에 필수)
이 스킬아래의 루프 / 플립 테스트 / 모션 법칙 — 파이프라인 실행 후 적용

.grok/skills/video2dsprite/SKILL.md 또는 .grok/skills/generate2dsprite/SKILL.md를 열고 생성 및 후처리 워크플로를 따르세요. 그런 다음 프레임을 게임에 적용하기 전에 여기의 법칙과 플립 테스트를 적용하세요.

기본 파이프라인 (의도)

  1. 기본 프레임. 중립/시작 포즈의 피사체, 전체 스타일 단어, 측면 / 게임에 적합한 뷰, 단색 #FF00FF 배경 (앱 빌더 크로마키). game-asset-core 기본값 적용.
  2. 애니메이션. 기본 이미지에서 imagine_image_to_video: 한 가지 명확한 움직임, 제자리에서, 고정 카메라 ("기사가 제자리에서 걷는다, 측면, 카메라 고정", 6초). 샷을 단순하게 유지 — 하나의 피사체, 하나의 움직임. video2dsprite 를 통해 실행하여 추출과 크로마가 일관되도록 하세요.
  3. 추출 + 정리. video2dsprite 스크립트 사용 (임시 ffmpeg -i … fps=12 단독 사용 금지). 마젠타 플러드 필 / 디스필은 여기에 있습니다. 마젠타 파이프라인을 완전히 벗어나지 않는 한 다른 평평한 #hex로 다시 키를 설정하지 마세요.
  4. 선택. (a) 움직임의 뚜렷한 단계를 포착하고 (b) 루프하는 프레임 선택 — 시퀀스의 끝이 시작으로 다시 이어져야 합니다. 개수를 강제하지 마세요: 움직임이 8, 10, 12프레임에서 가장 잘 읽히면 그 수만큼 제공하세요 (프레임이 많을수록 엔진 내에서 더 부드럽습니다). 사이클의 경우, 모션 랜드마크(발 접촉, 날개 극단, 불꽃 피크)를 사용하여 한 완전한 주기를 선택하세요.
  5. 패키징. game-asset-core 규칙(균일한 셀, 구분선 없음)에 따라 재생 순서(제로 패딩 이름) 및/또는 시트로 프레임을 제공하거나 video2dsprite / generate2dsprite 가 출력하는 투명 스트립/그리드를 제공하세요. 의도된 fps를 명시하세요.

비디오가 움직임에 실패하는 경우에만(드물게: 매우 양식화된 포즈, 단일 극적인 키프레임) 키프레임별 imagine_text_to_image로 대체하세요 (스프라이트 스크립트로 후처리할 때 여전히 #FF00FF 사용) — 그리고 직접 단계를 계획하고 아래 법칙을 따르세요. 선명한 프로덕션 멀티 프레임 그리드에는 generate2dsprite 를 선호하세요.

모션 법칙 (파이프라인에 관계없이 이 내용에 대해 검증)

  • 사이클은 루프됩니다; 교차 보행은 주기의 절반이 대칭으로 소비됩니다.
  • 연속성: 팔다리, 소품, 해부학, 이펙트는 연속적인 경로로 움직입니다 — 인접 프레임 사이에서 아무것도 순간이동, 사라지거나 복제되지 않습니다.
  • 정지 이미지에서 물리가 읽힙니다: 공중에 떠 있으면 공기가 보이고, 예비 동작은 압축되며, 후속 동작은 오버슈트합니다; 이펙트는 요청이 이동하지 않는 한 원점에 고정됩니다.
  • 에너지는 요청과 일치합니다: 대기/미묘함은 거의 차이가 없는 프레임을 의미합니다.

검증 — 플립 테스트

최종 프레임을 엄격히 순서대로 보고 움직임을 설명하며, 루프 종료를 명시적으로 확인하세요 (마지막→처음). 설명에 주저함이 있으면 실패한 프레임입니다. 비디오 파이프라인은 보통 첫 번째 시도에서 통과합니다 — 이것이 기본값인 이유입니다.

Individual skills in this repo

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

evalix098/tiktoklive

Add user accounts and sign-in to this TanStack Start app. Use when the app needs authentication, sign-in, user accounts, protected routes, or per-user data. Triggers on "auth", "login", "log in", "sign in", "sign up", "account", "users", "authentication", "protected", "who is logged in", "current user", "per-user".

evalix098/tiktoklive

Build browser games and interactive/canvas/3D experiences in this TanStack Start + React app. Use for any game, simulation, or WebGL/Canvas experience — 2D or 3D, single-player. Covers the game loop & timing, 3D orientation/camera conventions, collision, performance, assets, audio, save, game feel, and per-genre playbooks. For WASD / vehicle / flight **input signs and inverted A/D**, open the **`controls`** skill — do not rely on this file or racing-kart alone. Triggers on "game", "minecraft", "fps", "platformer", "racing", "tetris", "snake", "shooter", "3d", "three.js", "canvas", "voxel", "physics".

evalix098/tiktoklive

Player-facing input signs for browser games: WASD, vehicles, flight, FPS mouse-look, and the #1 failure mode (inverted A/D). Mandatory control self-tests and a tiny test interface so you can verify A turns left before shipping. Load for ANY game with movement, steering, flying, driving, tanks, boats, mechs, drones, planes, karts, third-person follow cams — not only racing. Triggers on "controls", "WASD", "inverted", "steer", "flight", "airplane", "kart", "vehicle", "yaw", "roll", "pitch", "mouse look", "A/D".

evalix098/tiktoklive

Design and build polished, non-generic UI for this TanStack Start + React + Tailwind v4 + shadcn/Radix app. Use whenever you create or restyle any interface surface — pages, landing pages, dashboards, forms, modals, nav, and game overlays (start screens, HUD, menus). Covers design tokens, layout, typography, color, spacing, motion, and the anti-"AI-slop" rules that keep output from looking generic. Triggers on "design", "UI", "make it look good", "polish", "landing page", "theme", "style", "redesign", "ugly", "clean up".

evalix098/tiktoklive

Core discipline for ANY game-asset generation with Imagine tools: the engine-ready defaults users don't state, spec checklists, style anchoring, read-back verification, honest defect flagging. Use whenever generating any game art (sprites, sheets, animations, tiles, UI, FX) — then ALSO load the matching specialist skill: game-animation-frames for anything that moves, game-tilesets for tiles/terrain, game-character-consistency for recurring characters, game-ui-icons for UI and icons.

evalix098/tiktoklive

Deep guide for CHARACTER IDENTITY across images: turnarounds (front/side/ back), state and damage variants, palette swaps, equipment changes, and same-character-in-context sets. Use whenever generating character turnarounds, character sheets, variants of an existing sprite, or any same-subject multi-image set. Complements game-asset-core.

evalix098/tiktoklive

Deep guide for game TILE assets: seamless tileable textures, terrain transition tilesets, autotiles, and ground/platform tiles. Use whenever generating tileable textures, tilesets, terrain transitions, or seamless patterns. Complements game-asset-core.

evalix098/tiktoklive

Deep guide for game UI assets: buttons with interaction states, panels, bars, wordmark logos, and icon sets. Use whenever generating game UI elements, HUD assets, inventory icons, icon sets, buttons, or title logos. Complements game-asset-core.

evalix098/tiktoklive

Generate production-oriented 2D game maps with `imagine_text_to_image`: RPG/top-down maps, side-scroller parallax stages, tilemaps, layered raster maps, prop packs, collision zones, and walkable areas. Use when building browser games that need real map art (not pure code-drawn tiles), layered props, or map collision metadata. Triggers on "map", "level", "stage", "tilemap", "overworld", "dungeon", "side scroller background", "prop pack", "2D map".

evalix098/tiktoklive

Generate and postprocess 2D game sprites and animation sheets: pixel-art characters, NPCs, creatures, spells, projectiles, impacts, props, summons, and transparent PNG/GIF exports. Use when building browser games that need real sprite sheets (not code-drawn placeholders), matching a map art style, or producing magenta-background sheets for chroma-key cleanup. Triggers on "sprite", "sprite sheet", "animation sheet", "pixel art character", "walk cycle", "attack animation", "projectile sprite", "2D game asset".

evalix098/tiktoklive

How to use the Imagine tools in Grok Build: imagine_text_to_image, imagine_image_to_image, imagine_reference_to_image, imagine_text_to_video, imagine_image_to_video, imagine_reference_to_video, and render_file for chat previews. When to build a visual with code instead of generating it, prompt-craft, reference-first handling of real people, factual grounding, and asset-consistency. Load this whenever generating or editing an image or video is on the table. Tool-usage-driven, not triggered by a user merely mentioning images.

evalix098/tiktoklive

Peer-to-peer realtime multiplayer over WebRTC data channels: every user of the deployed app connects directly to every other user (full mesh), the server only brokers the handshake at /api/rtc. Lowest possible latency, zero per-message server cost. Use for 2-8 player co-op/casual realtime: shared cursors, drawing, party games, casual action. Triggers: p2p, peer to peer, webrtc, low latency multiplayer, direct connection.

evalix098/tiktoklive

Use Neon Postgres (the database) in this TanStack Start app. Use when the app needs to store or query data, persist state, or keep per-user data. Triggers on "database", "Postgres", "Neon", "save data", "store data", "persist", "tables", "SQL", "query", "migrations".

evalix098/tiktoklive

Share-link previews and app identity for apps on *.grok.me: the injector-owned og:image card, the SVG favicon, and PWA icons for installable apps. Use when scaffolding, renaming, or restyling the app — and for share / unfurl / OG / Twitter card questions. A custom 1200×630 card from the app's own art is the default — games of every kind (DOM board/word games included), whimsical apps, creative tools, and brand-forward pages; only plain utilities keep the placeholder. Always run the brand-asset pass as a `task` subagent and never wait for it. Triggers on "share", "rename", "app name", "OG", "Open Graph", "twitter card", "unfurl", "og:image", "og:type", "x:game:image", "x-banner", "link preview", "social card", "thumbnail", "preview image", "favicon", "app icon", "PWA", "manifest", "installable", "home screen", "SEO", "meta description".

evalix098/tiktoklive

Official Three.js API and TSL (Three.js Shading Language) reference for LLM code generation. Load when writing or debugging three.js / WebGL / WebGPU / custom materials / shaders / GLTF / advanced three APIs beyond basic game loop/controls. Prefer building-games for game correctness (loop, WASD, camera, orientation); use this skill for full API/TSL depth. Triggers on "three.js", "threejs", "WebGPU", "TSL", "NodeMaterial", "shader", "GLTF", "MeshStandard", "OrbitControls", "WebGLRenderer".

evalix098/tiktoklive

Grok Build only. Turn a 2D character still into denser animation sprites via imagine_text_to_image base → imagine_image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled strips/grids/GIFs. Use when the user wants video-to-sprite, smoother run/walk cycles, or denser intermediate poses. Prefer generate2dsprite for crisp production pixel sheets. Triggers on "video to sprite", "imagine_image_to_video sprite", "dense walk cycle", "smooth run animation from video".

evalix098/tiktoklive

Call the xAI API (Grok) from this app's server code using the injected XAI_API_KEY: chat/LLM features, image and video generation (Imagine), and voice (text-to-speech). Use when the app needs any "AI" / "assistant" / "chatbot" / "Grok" functionality, runtime image/video generation, or speech. Triggers on "AI", "LLM", "chatbot", "assistant", "Grok", "xAI", "generate text", "summarize", "generate image", "AI video", "voice", "text to speech", "TTS", "OpenAI" (use xAI instead).

관련 스킬