author-game-levels
できること
このスキルは、一つの平らな遊び場の上にThree.jsゲームのステージを作る作業をエージェントに案内します。すべての道、戦闘エリア、光がプレイヤーにやるべきことを伝えるようにしたいゲームデザイナーや開発者向けです。
使う場面
- ✓Three.jsゲームの新しいステージや戦闘エリアを設計したいとき。
- ✓ステージが分かりにくく、プレイヤーがどこへ行けばよいか分からないとき。
- ✓ステージに、明確な遭遇エリア、アイテム、目標を配置したいとき。
スキルのリンク
https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/author-game-levels/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“明確な道筋、一つの遭遇エリア、手が届きやすいアイテムがある平らなアリーナを設計してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、安定したゾーンIDを持つステージデータを作り、見た目と衝突、移動の経路を分けます。各空間を明確な目的に合わせて配置し、デスクトップとモバイルでプレイを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Author Game Levels
Treat architecture as gameplay communication. Every route, arena, gate, prop, and light must help the player read movement, threats, objectives, or state.
Enforce one gameplay plane
Keep all collision, navigation, encounter routes, objectives, pickups, and player movement on one accessible plane.
- Do not add stairs, ramps, raised platforms, drop-offs, cliffs, bridges, ledges, pits, or vertical traversal.
- Do not change gameplay elevation for shortcuts, arenas, hazards, rewards, or visual variety.
- If visual height is requested later, keep it non-walkable background dressing. It must not alter navigation, camera occlusion, threat visibility, targetability, or player movement.
Separate level systems
Maintain explicit, independently testable layers for:
- authored level data and stable zone/anchor IDs;
- visual geometry and non-walkable background dressing;
- simplified collision geometry;
- flat navigation data and movement clearance;
- encounter, enemy, gate, reset, pickup, objective, and exit zones.
Share stable IDs and transforms between layers, but never infer collision, navigation, or encounter boundaries from decoration alone.
Lay out readable play
- Define the architectural purpose of each space: traversal, orientation, combat, recovery, reward, transition, or objective.
- Preserve clear movement, camera, and dodge corridors at the intended play distance.
- Keep threats, pickups, exits, gates, and interaction targets visible before commitment.
- Telegraph encounters through visible arena shape, approach, state change, and stable zone anchors.
- Deliberately place arenas, gates, checkpoints, retry spawns, and reset paths. Prevent soft locks, duplicate rewards, hidden re-entry, and enemies pursuing through unrelated zones.
- Use landmarks, lighting, contrast, and composition to guide without hiding hazards or making the route ambiguous.
Motivate every local light
Attach every local torch, lantern, brazier, or similar light spatially to a visible emitter. Its position, range, color, intensity, shadowing, and occlusion behavior must match what that emitter appears able to produce.
- Forbid unexplained floating local lights.
- Keep a source-to-light inventory with emitter ID, light ID, attachment transform, type, range, color/intensity, occlusion intent, enabled state, and fallback behavior.
- Move the light with a moving emitter. Disable or remove its local contribution when the emitter is disabled, hidden, destroyed, or unloaded.
- Document ambient or world lighting separately. Use it for deliberate global visibility or mood, never to fake a torch or other local source.
Validate data and geometry
- Assert that all walkable collision, navigation vertices/links, encounter anchors, gates, objectives, pickups, exits, and reset points remain on the configured gameplay plane within a small tolerance.
- Reject walkable slopes, out-of-plane links, vertical shortcuts, elevated spawn points, and level data that implies height-changing traversal.
- Check collision/nav agreement, route clearance, zone containment, deterministic gate/reset behavior, stable anchor references, and persistence of level progress.
- Validate source-to-light inventory completeness, emitter/light attachment, range/color intent, and moving or disabled emitter state transitions.
Prove traversal in the browser
Run deterministic route, collision, navigation, encounter, reset, and lighting fixtures, then traverse every critical and optional route in the repository-approved browser.
- On desktop and mobile, verify uninterrupted flat movement, dodge clearance, camera framing, threat/pickup/exit visibility, encounter telegraphs, gates, retry paths, and touch controls.
- Exercise moving and disabled emitter cases and confirm no light remains detached or unexplained.
- Inspect dense views for occlusion, console health, frame time, draw calls, memory stability, and long-session lighting cost.
- Report new failures separately from existing baseline issues.
よくある質問
階段や坂は使えますか?
いいえ。このスキルは、階段、坂、段差、落下のない、一つの平らな遊び面を強制します。
ステージに見た目の高さを出せますか?
はい。ただし、歩けない背景の装飾としてだけで、ゲームプレイは変えません。
ステージはどのように試されますか?
デスクトップとモバイルの両方で、最初から最後までプレイすることを求めます。
詳細
作者による元の説明
Author or revise readable, flat-world Three.js game levels. Use for movement and camera routes, collision and navigation, encounter zones, landmarks, objectives, pickups, motivated lighting, visibility, deterministic level data, or desktop and mobile playthrough verification.
repo: MengTo/Skills
人気
- GitHubのスター
- 7.2k
- ランキング
- #13351
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
3d-cloth-material
7.2kThree.js で、糸の織り、柔らかい光沢、自然な襞、裾、縫い目を持つ、本物の織物らしい布を作るようエージェントを支援します。
3d-falling-leaves
7.2k3D のシーンに、回転し、風に流され、カメラの動きに合わせて再利用される、本物らしい落ち葉を加えるようエージェントを支援します。
3d-four-seasons
7.2k3D のシーンに、春、夏、秋、冬の見た目を加え、シーン全体を作り直さずに、茂み、光、空、雪を変えるようエージェントを支援します。
3d-high-poly-models
7.2k滑らかな形と自然な縁をもつ、詳細な3Dモデルを作り、その後、Web で快適に動く軽いバージョンを準備するようエージェントを支援します。
似ているスキル
angular-developer
280kエージェントがAngularのコードを作成し、プロジェクト構成についてアドバイスできるようにします。新しいプロジェクトの開始、コード部品の作成、パフォーマンスやアクセシビリティの改善に役立ちます。
frontend-a11y
280kエージェントが Web インターフェースを誰にとっても使いやすくするよう支援します。スクリーンリーダーやキーボード操作に対応し、サイトやアプリが適切に動作するようにします。
frontend-patterns
280kエージェントがフロントエンド開発の最新パターンを適用できるようにします。React と Next.js において、パフォーマンスの最適化、状態管理、ベストプラクティスの遵守を行います。