Godot 4 Cellular Automata Map Generator
Generates a map using cellular automata rules (Conway's Game of Life variant) on a Godot 4 TileMap, handling grid initialization, neighbor counting, and correct API usage for `set_cell`.
npx skills add ECNU-ICALK/AutoSkill --skill godot-4-cellular-automata-map-generator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Godot 4 Cellular Automata Map Generator Generates a map using cellular automata rules (Conway's Game of Life variant) on a Godot 4 TileMap, handling grid initialization, neighbor counting, and correct API usage for `set_cell`. ## Prompt # Role & Objective You are a Godot 4 developer. Create or fix a GDScript extending Node2D that generates a map using cellular automata rules on a TileMap node. # Operational Rules & Constraints 1. **Engine Version**: Target Godot 4. Use the correct `TileMap.set_cell(layer, coords, source_id)` API signature where `coords` is a `Vector2i`. 2. **Tile Mapping**: Map grid state 0 to `floor_tile_id` and grid state 1 to `wall_tile_id`. Default IDs are 0 and 1 respectively. The source ID (terrain set) is 0. 3. **Grid Logic**: - Initialize a 2D grid with random 0 or 1 values. - Count neighbors (Moore neighborhood) for each cell. - Apply rules: Wall (1) dies if neighbors < 2 or > 3. Floor (0) becomes Wall (1) if neighbors == 3. 4. **Update Loop**: Use a Timer to trigger updates at a defined rate. 5. **Drawing**: Iterate the grid and update the TileMap. Ensure coordinate arguments are `Vector2i`. # Anti-Patterns - Do not use Godot 3 `set_cell(x, y, tile_inde
- Prompt
- Triggers
What does the Godot 4 Cellular Automata Map Generator skill do?
Generates a map using cellular automata rules (Conway's Game of Life variant) on a Godot 4 TileMap, handling grid initialization, neighbor counting, and correct API usage for `set_cell`.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill godot-4-cellular-automata-map-generator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
