К основному содержанию
скилл CX Codex

layer-tilesets — скилл для Claude Code: тайлы и установка

Скилл layer-tilesets для Claude Code собирает игровые тайлы по общей сетке. Включается при создании изометрических, шестиугольных и top-down наборов, а также зданий с разными ракурсами.

MIT 1 100 установок ★ 10 обновлён 2026-09-30

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add layerai/skills --skill layer-tilesets -a claude-code
Открыть на GitHub

Что делает layer-tilesets

Скилл помогает создавать игровые тайлы с общей проекцией и размером ячейки. Он задаёт параметры сетки для tile_grid, включая форму, ориентацию, высоту и направление света, а затем использует их для отдельных элементов набора. Можно подготовить тайлы для Tiled, Godot или Unity.

Для здания с четырьмя ракурсами нужны отдельные генерации с facing 0, 90, 180 и 270; сначала создают один ракурс, затем прикрепляют его как reference_image для остальных. Ракурсы доступны только для квадратных ячеек. Если изменить elevation или tile_width посреди работы, тайлы перестанут совпадать по сетке.

export_tileset упаковывает набор для выбранного движка, а pack_sprite_sheet собирает лист изображений. Чтобы тайлы стыковались, все элементы при экспорте должны использовать одну сетку.

Какие задачи решает

  • собрать изометрический набор тайлов с общей проекцией
  • выровнять здания и объекты по сетке карты
  • создать ракурсы одного здания для квадратных ячеек
  • подготовить тайлы для импорта в Tiled, Godot или Unity

Примеры запросов агенту

  • Создай изометрический набор тайлов для Godot: трава, дорога и дом с ракурсами со всех сторон.
  • Сделай шестиугольные тайлы местности с одинаковой ориентацией и размером.
  • Подготовь набор тайлов для Tiled и упакуй его через export_tileset.

Как установить layer-tilesets

1Через Skills CLI (Vercel)

npx skills add layerai/skills --skill layer-tilesets -a claude-code

2Вручную: положить файлы

~/.claude/skills/layer-tilesets/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/layer-tilesets/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о layer-tilesets

Как установить layer-tilesets в Claude Code?

Выполни npx skills add layerai/skills --skill layer-tilesets -a claude-code. Файл скилла появится по пути ~/.claude/skills/layer-tilesets/SKILL.md.

Что делает layer-tilesets?

Скилл задаёт общую сетку для игровых тайлов, чтобы они совпадали по проекции и размеру ячеек. Он также описывает экспорт наборов для Tiled, Godot и Unity.

Какие формы тайлов поддерживает layer-tilesets?

Квадратные ячейки подходят для изометрических ромбов и карт сверху; для шестиугольных ячеек доступны ориентации POINTY_TOP и FLAT_TOP.

Исходный текст

SKILL.md · MIT
---
name: layer-tilesets
description: "Use when making game tiles with Layer that must snap together on a grid: isometric tiles, hex tiles, diamond or top-down map tiles, buildings and props with a footprint, the same building from four facings, or a tileset for Tiled, Godot or Unity. Also when generated tiles do not line up, stand at different heights, or light from opposite sides. Keywords: isometric, iso, hex, hexagon, tileset, tile map, dimetric, footprint, facing, Tiled, TileSet, strategy map, city builder."
license: MIT
---

# Layer Tilesets

## Overview

A tile is only useful next to its neighbours. Two beautiful isometric houses drawn at slightly
different angles, or standing on slightly different bases, will not sit on one map, and no prompt
wording fixes that. Layer solves it with structure rather than description: `tile_grid` on
`execute_forge` draws each tile over a blockout of a fixed grid, then cuts it out and fits it onto
that grid, so every tile in a set shares one projection and footprint.

This skill covers tiles that stand on a grid (isometric diamonds, hexes, aligned top-down cells).
A flat surface that repeats edge to edge, such as grass or stone, is a texture: use `tileability`
as `layer-textures` describes. Generation mechanics, the spend gate and polling are in `layer`.

If a sibling skill named here is missing from your available skills, ask the user to install it
(`npx skills add layerai/skills --skill <name>`); unattended, proceed from tool schemas and flag the
gap.

## Quick reference

| Need                               | Use                                                                                              |
| ---------------------------------- | ------------------------------------------------------------------------------------------------ |
| A model that draws onto the grid   | `list_base_models` with `filter.capabilities: {tile_grid: true}`, first hit                      |
| Isometric diamond tile             | `tile_grid.shape: "SQUARE"` (default), orientation `DIAMOND` (default)                           |
| Top-down square map                | `shape: "SQUARE"`, `orientation: "ALIGNED"`                                                      |
| Hex tile                           | `shape: "HEXAGON"`, `orientation: "POINTY_TOP"` (default) or `"FLAT_TOP"`                        |
| Classic 2:1 isometric look         | `elevation` unset: 30 (2:1 dimetric) on a square, set at most 60; unset on a hex is 60           |
| Ground tile vs building            | `height: 0` for flat ground, about 1 to 2 (in cell sides) for a building                         |
| Multi-cell building                | `footprint_width` x `footprint_depth`, 1 to 8 cells each; leave unset on a hex, which covers one |
| Other sides of one building        | `facing` 0, 90, 180, 270 (squares only; a hexagon faces 0)                                       |
| Delivered cell size                | `tile_width` in px; unset keeps the drawn size rounded to a power of two                         |
| Redraw an existing asset as a tile | Attach it as `init_image`: its shape and design are kept                                         |
| Carry the set's look, or a facing  | Attach approved tiles as `reference_image`                                                       |
| Tiles on one fixed canvas          | `output_fit` with `canvas: "FIXED"` and `anchor: "BASE"`                                         |
| Engine import                      | `export_tileset` with `engine` `TILED`, `GODOT`, `UNITY` or `JSON`                               |

## Fix the grid once

The grid is the contract of the set. Every tile shares one `tile_grid`; only the footprint, height
and facing change from tile to tile. Decide `shape`, `orientation`, `elevation`,
`light_from` and `tile_width` before the first run, write them down, and pass the identical values on
every later run. Changing `elevation` or `tile_width` halfway gives tiles that refuse to line up;
changing `light_from` gives a map whose shadows fall both ways.

`light_from` (`left` or `right`, seen from the camera) is easy to forget because it has a default.
Name it anyway, and keep the prompt's lighting words consistent with it.

## What the prompt carries

The grid handles projection and placement, so the prompt spends its words on the subject and the
set's grammar: material, palette, era, level of detail, and outline treatment. Describe only what
stands on the tile. Scenery beyond the cell, a horizon, or neighbouring buildings fight the cut-out.

Approve one tile, then attach it as `reference_image` on every sibling so they inherit its palette
and rendering. For a set that will grow for months, train a reference set (`layer-reference-sets`).

## Facings

A building seen from four sides is four runs with `facing` 0, 90, 180 and 270. Generate facing 0
first and approve it. Then run the other three with the approved tile attached as `reference_image`,
which carries "the same building for another facing". Without it you get four different buildings
that happen to share a footprint. Facings exist for square cells only.

`export_tileset` names facings of one subject after it (`tower_0`, `tower_90`) and records subject
and facing as tile properties.

## Delivery

`export_tileset` is the finish for a map: a deterministic file operation, no Creative Units, each
tile placed by where it stands on its grid. Pass up to 128 `file_ids` in listing order; every tile
must share one grid.

| `engine` | What the zip holds                                                   |
| -------- | -------------------------------------------------------------------- |
| `TILED`  | A `.tsx` tileset, one image per tile, and an example `.tmx` map      |
| `GODOT`  | A Godot 4 TileSet `.tres` over one atlas                             |
| `UNITY`  | One atlas and the `.meta` that slices it into pivoted sprites        |
| `JSON`   | One atlas and a TexturePacker JSON (hash), for PixiJS, Phaser, Cocos |

The zip carries a README with import steps and the grid settings the map needs. `padding` sets the
transparent gutter on an atlas and is ignored for `TILED`.

When the user wants a single sheet image rather than an engine import, use `pack_sprite_sheet`: with
every frame a `tile_grid` tile, it aligns frames on their anchor (the bottom centre of the cell the
tile stands on), ignores `cell_width` and `cell_height`, and returns each frame's rect and Unity
pivot. For tiles delivered as standalone sprites of one size, `output_fit` with a `FIXED` canvas and
`anchor: "BASE"` stands every tile's base on the same point. `BASE` without `tile_grid` is refused.

## Worked example

"An isometric medieval village tileset for Godot: grass, dirt road and water ground tiles, a 2x2
house from all four sides, and a 1x1 watchtower."

1. `list_base_models` with `filter.use_case: "text_to_image"` and
   `filter.capabilities: {tile_grid: true}`; take the first result, then `get_base_model` for any
   trigger word.
2. Fix the grid for the whole set:
   `{shape: "SQUARE", orientation: "DIAMOND", light_from: "left", tile_width: 128}`, with
   `elevation` unset for 2:1 dimetric.
3. Grass first, `height: 0`, `footprint_width: 1`, `footprint_depth: 1`, prompt naming material,
   palette and outline only: "Grass ground tile, hand-painted, muted greens, soft dark outline".
   Approve one; it becomes the `reference_image` for every later run.
4. Road and water: same grid, `height: 0`, the approved grass attached.
5. House facing 0: `footprint_width: 2`, `footprint_depth: 2`, `height: 1.5`. Approve it, then
   facings 90, 180 and 270, each with the approved house attached as `reference_image`.
6. Watchtower: 1x1, `height: 2`, the grass attached for the look.
7. Before step 3, price the job: `estimate_forge_price` for one call of each kind that can price
   apart (ground tile, house, tower), sum by count, and ask the user above 20 CUs. Execute each run
   and poll `get_forge_run` at the returned `poll_interval_seconds`.
8. `export_tileset` with `engine: "GODOT"` and the approved `file_ids` in listing order. Hand over
   the download link and point at the README's grid settings.

## Common mistakes

- Writing "isometric" in the prompt of a model run without `tile_grid`, and expecting tiles to snap.
- Changing `elevation`, `tile_width`, `orientation` or `light_from` partway through a set.
- Generating facings 90 to 270 without the approved facing 0 attached as `reference_image`.
- Setting `facing` on a hexagon, which only faces 0.
- Prompting scenery around the tile: horizon, neighbours, ground that runs past the cell.
- Using `tile_grid` for a flat repeating surface, or `tileability` for a tile that stands on a grid.
- Handing over a packed sheet when the user asked for something the engine imports as a tileset.

© layerai · MIT · layerai/skills

Похожие скиллы

Все скиллы по теме «Геймдев и 3D: Unity, Unreal, Godot, Blender» →
game-engines pluginagentmarketplace Скилл game-engines для разработки игр на трёх движках: Unity, Unreal Engine и Godot. Даёт агенту знание архитектуры каждого, паттернов компонентов, физики и лучших практик production-кода. CX Codex +1 206установок godot4-isometric-tilemap 0xheycat Скилл godot4-isometric-tilemap настраивает 2:1 изометрию в Godot 4 через TileMapLayer и Y-sort: правильный порядок отрисовки, без ручных смещений спрайтов. CX Codex +1 ★ 51звёзд репо game-feel gamedev-skills Скилл game-feel для Claude Code добавляет сочности игровая механика вроде покачивания камеры, хитстопа и деформации сплющиванием. Запускается, когда прыжки и удары кажутся вялыми. CX Codex +1 17 800установок game-ui-ux gamedev-skills Скилл game-ui-ux для Claude Code задаёт правила компоновки игровых меню и HUD. Подключается при создании экранов или исправлении масштабирования и навигации с геймпада. CX Codex +1 17 700установок make-game OpusGameLabs Скилл make-game структурирует разработку видеоигр: от проработки геймплея и выбора движка до генерации проекта и исправления багов. CX Codex +1 1 200установок game-generalist CodePawl Плагин game-generalist для Claude Code превращает описание игры в прототип, готовую игру и отчёт об игровом тестировании. Процесс включает проверку игровых сценариев и технических сбоев. ★ 350звёзд репо

Из того же набора33

Весь набор →
layer-video-continuity Скилл layer-video-continuity для Claude Code помогает собирать многосерийные Layer-видео с общими персонажами, светом и декорациями. Передаёт контекст между сценами трейлеров и игровых катсцен. CX Codex +1 1 100установок layer-talking-characters Скилл layer-talking-characters для Claude Code создаёт говорящих персонажей и синхронизирует движение губ с аудио. Запускается для роликов с ведущим, реклам в стиле UGC, диалогов в трейлерах и замены реплики в готовом видео. CX Codex +1 1 100установок layer-video-direction Скилл layer-video-direction для Claude Code задаёт движение камеры, оптику, свет и тайминг при генерации отдельного шота в Layer. Запускается при постановке кадра или исправлении дрейфа камеры. CX Codex +1 1 100установок layer-environments Скилл layer-environments для Claude Code создаёт игровые фоны, параллаксные слои, панорамы 360° и игровые миры через Layer. Он подключается при создании окружения, настройке зацикливания слоёв или экспорте в Godot и Unity. CX Codex +1 1 100установок layer-vfx Скилл layer-vfx для Claude Code помогает генерировать игровые визуальные эффекты и собирать их в спрайтовые листы. Превращает статичный кадр эффекта в анимацию и нарезает покадровый флипбук для движка. CX Codex +1 1 100установок layer-game-ui Скилл layer-game-ui для Claude Code и Codex настраивает генерацию игрового UI через Layer. Подключается при создании кнопок с 9-slice разметкой, иконок и экспорте UI-китов в движки. CX Codex +1 1 100установок layer-sprite-animation Скилл layer-sprite-animation для Claude Code помогает собрать спрайты персонажа и циклы анимации для 2D-игры. Он подключается к задачам с idle, walk, attack и другими действиями, а также с видами в четырёх или восьми направлениях. CX Codex +1 1 100установок layer-typography Скилл layer-typography для Claude Code рендерит точный текст и фирменные шрифты для изображений. Включается в задачу при добавлении надписей, логотипов и заголовков на графику. CX Codex +1 1 100установок

Ещё в каталоге

context-layer-dreaming PostHog Скилл context-layer-dreaming для Claude Code собирает сведения о недавней работе организации в вики контекста. Запускается для ночного или инкрементального обновления по завершённым задачам и другой активности. CX Codex +1 148установок context-layer-consolidation PostHog Скилл context-layer-consolidation для Claude Code поддерживает связность контекстной вики по отчёту линтера. Он обрабатывает очередь замечаний до того, как dream publisher создаст ветку и коммит. CX Codex +1 148установок user-context официальный OpenAI Скилл user-context хранит локальный контекст и настройки плагина Public Equity Investing. Запускается только по прямому запросу пользователя. CX Codex GP ChatGPT +1 4установок research-analyst curiositech Скилл research-analyst для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode — проводит исследование рынка, конкурентный анализ и оценку методологий. Выдаёт рекомендации с обоснованием и цитатами источников. CX Codex +1 206установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой