Communitygithub.com

evalix098/tiktoklive

任何遊戲素材生成的基礎準則:引擎就緒的隱含預設、規格清單、風格錨定、回讀驗證、誠實標記缺陷。每當生成遊戲美術(精靈、圖集、動畫、地磚、UI、特效)時使用,並同時載入對應的專業技能。

tiktoklive 是什麼?

此技能定義了一套「未經提示的引擎就緒預設」與工作規範,確保所有遊戲素材生成結果可直接用於引擎,無需手動清理。它適用於任何 AI 輔助遊戲開發工具(例如 Claude Code、Cursor、Codex),可作為其他專業技能(如 game-animation-frames、game-tilesets)的前置條件或品質控制層。核心機制包括:從使用者的模糊需求中推斷並執行隱含的技術要求(例如純色背景、無分割線的精靈圖集、無縫平鋪地形),並透過「規格清單-視覺描述驗證-缺陷標記」的三段式工作流程,在生成過程中持續檢查品質。此技能還強調使用生成器能理解的語言編寫提示、以視覺配置取代抽象數字,以及在無法達到預期時採用組合式建構策略。最終產出為組織良好、命名精確的檔案,並附上完整的缺陷報告與偏離預設的說明。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/evalix098/tiktoklive/tree/HEAD/.grok/skills/game-asset-core

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

素材核心準則

遊戲開發者會告訴你「需要什麼」,而不是「如何讓它引擎就緒」。 「如何做」是你的工作。每當請求沒有明確說明時,請套用這些預設值—— 一個需要手動清理的素材,即使使用者從未提及該要求,仍是失敗的。

應用建構者備註

此技能是規範/品質控制。對於此沙箱中的 2D 精靈與動畫,也請執行管線技能:

  • generate2dsprite / video2dsprite 用於圖集與影片素材
  • 這些路徑上的可鍵控背景是純色 #FF00FF(色鍵必用)—— 不是任意平面十六進位色碼
  • 運動法則與循環 QC 位於 game-animation-frames(它會將執行工作委派給上述管線)

未經提示的引擎就緒預設

當使用者要求…在沒有被指示的情況下,交付…
角色/生物/道具精靈隔離的主體、純色可鍵控背景(使用 generate2dsprite/video2dsprite 時為 #FF00FF)、乾淨的輪廓、無內建地面場景或投影
任何會移動/動畫的東西可乾淨循環的影格序列(參見 game-animation-frames;透過 video2dsprite/generate2dsprite 執行)
一張精靈圖集均勻的隱含網格、無分隔線、主體在每個網格中的位置完全相同(以便影格依寬度/列數 × 高度/行數裁切)——或自行建構:影格 + PIL 合成
地面/地形/水/牆壁可無縫平鋪(以實際的 2×2 合成驗證)、無標誌性主題、無方向性照明(以防旋轉使用)
UI 面板/框架/按鈕可抗縮放(9-slice:角落裝飾、均勻邊緣)、從不包含文字(遊戲需要本地化)、狀態變體幾何一致
同一個角色/物件再次出現從你現有的基底圖片進行編輯鏈接,從不重新生成
圖示整組遵循單一風格合約、統一內邊距、在 32px 大小下清晰可辨

交付組織良好、命名精確的檔案;如果請求將數量或命名權留給你,請選擇合理的名稱,並在清單/記錄中記錄它們。

工作規範

  1. 規格清單(私有)。 列出所有已說明的屬性以及上述適用的預設。依據清單驗證;切勿將清單貼到提示中。
  2. 用生成器的語言編寫提示。 2–5 個生動的句子,務必包含風格/媒材詞彙。將幾何/數量表達為可命名的視覺配置(時鐘位置、扇形區塊、彩色標記),切勿用數字或抽象概念。
  3. 以盲述驗證,再比對差異。 在重新閱讀規格前,寫下圖片顯示的內容。每個已說明的屬性以及每個適用的預設都是通過/不通過——沒有「夠好了」,沒有自我協商的豁免。你自己描述中的閃爍其詞 = 檢查失敗。
  4. 先升級表達方式,再更換策略。 以更具體的視覺重新表達再試一次。如果生成器重複同樣的失敗,表示這是已知限制:採用組合式建構(零件 + PIL 旋轉/鏡像/組裝——注意鏡像不對稱)或保留最佳結果並標記它。每個被證明的問題點,最多丟棄 2 次。
  5. 交付並報告。 最終檢查所有檔案的一致性與清單;說明每一個未修復的缺陷,以及你有意識偏離的每一個預設。

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

Deep guide for game ANIMATION assets: motion cycles, action keyframes, effect sequences, and animation sprite sheets — built around a video-first pipeline. In this app-builder sandbox, execute via the video2dsprite / generate2dsprite skills (magenta + scripts), not ad-hoc ffmpeg. Use whenever generating anything that moves: walk/run cycles, attacks, idles, FX, flags, fire, animation sheets. Complements game-asset-core.

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).

相關技能