# Tilemap Review

> Tilemap Review is an Agent Skill for testing & quality published in the RandallLiuXin/GodotMaker repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Reviews Godot TileMap implementation for known pitfalls. Triggers AFTER implementation, when code involves TileMapLayer, TileSet, TileSetAtlasSource, TileSetScenesCollectionSource, terrain painting, set_cell, erase_cell, get_cell_tile_data, collision polygons on tiles, or NavigationRegion2D with tile-based navigation. Do NOT use this skill for planning or teaching — only for post-implementation review.

- Skill name: `tilemap-review`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/RandallLiuXin/GodotMaker/blob/HEAD/skills/reviewer/tilemap/SKILL.md
- Repository: RandallLiuXin/GodotMaker (453 GitHub stars when collected)

## SKILL.md

# TileMap Review

Post-implementation reviewer for Godot TileMap code. Checks against known gotchas that LLMs consistently get wrong.

## When to trigger

After TileMap-related code is written or modified. Look for:
- TileMapLayer, TileSet, TileSetAtlasSource, TileSetScenesCollectionSource nodes
- Cell operations (`set_cell`, `erase_cell`, `set_cells_terrain_connect`)
- TileData access (`get_cell_tile_data`)
- Collision/navigation polygon configuration on tiles
- `y_sort_enabled` on TileMapLayer
- NavigationRegion2D with TileMapLayer children

## Review process

1. Read `gotchas.md`
2. Scan the implemented code against each gotcha
3. For each hit:
   - Cite the gotcha ID (e.g. G1)
   - Show the offending code
   - Provide the fix
4. If no hits, report clean
5. Optionally run `checklist.md` static checks for automated verification

When you need specific API details, delegate to the **godot-api** skill.

---

Source: https://www.openparable.com/skill/testing-quality/tilemap-review (OpenParable). Cite the canonical URL above.
