Communitygithub.com

evalix098/tiktoklive

ゲーム用タイルアセットのための詳細ガイド:シームレスでタイル可能なテクスチャ、地形遷移タイルセット、オートタイル、地面/プラットフォームタイル。タイル可能なテクスチャ、タイルセット、地形遷移、シームレスパターンを生成する際には常に使用します。game-asset-core を補完します。

tiktoklive とは?

このスキルは、ゲーム開発におけるタイルアセット生成のための包括的なガイドです。主に Claude Code、Cursor、Codex などの AI エージェントがタイルを作成する際に、品質と一貫性を確保するためのルールとベストプラクティスを提供します。 具体的には、(1) シームレスな単一タイルの生成方法(パターンの繰り返しを防ぐための注意点、PIL を使った2×2繰り返し確認の必須チェック)、(2) 草→土などの地形遷移タイルセットのプロンプト方法(タイルではなく1枚の連続した画像として描かせる)、(3) 回転対称性を活用したタイル数の最適化(方向性のない照明下では回転を利用できるが、横スクロールゲームなどでは個別に描画する必要がある)、(4) 背景分離可能なプラットフォームやプロップの生成、という4つの主要トピックをカバーします。 このガイドは、タイルアセットの視覚的なリピートやグリッドの知覚を排除し、プレイヤーに自然で途切れのないゲーム環境を提供することを目的としています。特に「プレイヤーがグリッドに気づくか?」を判断基準とし、常にこの知識を適用するよう指示しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/evalix098/tiktoklive/tree/HEAD/.grok/skills/game-tilesets

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

タイルセット

タイルの役割は、繰り返しの中での不可視性です。 ユーザーは「どうやって」ではなく「何が」必要かを述べます — リクエストで言及されなくても、ここにあるすべてを適用してください。 すべての判断基準は「プレイヤーがグリッドに気づくだろうか?」です。

1. シームレスな単一タイル

  • 均一な確率的テクスチャをプロンプトする:均一な密度、均一な照明、方向性のある影なし、「パターンがあらゆるエッジの先へ続いている」。
  • 繰り返しの殺し屋は、特徴的なモチーフです — 認識可能な塊、花、岩が永遠に繰り返されます。匿名のテクスチャをプロンプトし、2回指さすことができるものを探して検証します。
  • 必須チェック:PIL を使って実際の2×2繰り返しを作成し、一時ファイルに出力して表示します。次の点を確認する:(a) 結合部のシームライン、(b) 4つの象限すべてで見つけられるモチーフ、(c) 市松模様を作り出す大規模なトーングラデーション。3つのいずれかがあれば = リトライ。

2. 遷移タイルセット(草→土など)

  • プロンプトは、たまたまスライス可能な1枚の連続したペイント画像として行う — 決して「タイル」「セルに境界線がある」「隙間のあるステッカータイル」のように扱わない。セルはエッジからエッジまで塗りつぶされ、セルの境界を越えてペイントされたコンテンツが流れ、隣接するタイルが真にマッチする必要がある。
  • 3×3のレイアウト:中央 = 純粋な内部マテリアル;エッジセル = 外側へ向かう直線的な遷移;コーナーセル = 外側のコーナー。セルごとに方向性を確認する(上中央の草は上エッジに沿っているなど)。

3. 回転経済 — より少ない、より良いタイルを

照明がニュートラル(完全なトップダウン、方向性シェーディングなし)の場合、1つの直線エッジと1つの外側コーナーは、エンジン内で回転させて4つすべてを生成できます。したがって、タイル数を自由に選択できる場合:

  • 生成するもの:1つの中央塗りつぶし、1つの直線エッジ、1つの外側コーナー、1つの内側コーナー — 残りの予算は中央塗りつぶしのバリエーションに使う(2〜3の匿名バリアントは、4つの同一回転エッジよりもはるかに繰り返しを減らす)。
  • 注意 — 回転は、アートが方向をエンコードしていない場合にのみ機能する:方向性のある光がない、重力の手がかりがない(垂れ下がる草の葉、滴)、テキスト/エンブレムがない。横視点(プラットフォーマー)のタイルはほとんどの場合、重力と光をエンコードするため、すべての向きを個別にペイントする必要がある。納品ノートで、どのタイルが回転安全かを明記すること。
  • リクエストがグリッドを明示的に固定している場合(例:「3×3、8つの遷移すべて」)、その通りに納品する — ノートで回転経済に言及し、一方的に納品物を変更しない。

4. プラットフォームとプロップ

キーイング可能な背景上に独立して配置され、タイルセットと一貫した照明を持ち、地面の影は焼き込まない(エンジンが影を別途合成する)。

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

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

関連スキル