Tower Defense
/tower-defense
Build a tower defense: enemies pathing along lanes, wave spawning, towers that auto-target and fire, an economy, and lives.
- License
- Apache-2.0
- By
- By GameSkill
Part of
Awesome Gamedev Agent Skills
77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.
Tested by GameSkill
32/32 checks passed on Godot 4.7.2 (2026-10-30): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.
Test reportWhat this skill does
When it triggers
Build a tower defense: enemies pathing along lanes, wave spawning, towers that auto-target and fire, an economy, and lives. Use for a tower-defense/wave-defense game, or balancing waves and economy.
GameSkill's tested copy
GameSkill's tuned build of this skill: the skill files from commit 19d93f97c9c1, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.
License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Self-check
- 敌人移动乘以时间步长,跨过路点时把剩余距离带到下一段 / Enemy movement scales by delta and carries leftover distance past waypoints
- 选目标策略明确:最前、最后、最近、最强 / Targeting strategy is explicit: first, last, closest, strongest
- 只选射程内的敌人 / Only enemies inside range are targeted
- 建塔、卖塔、赏金、漏怪的钱和命都算清楚 / Build cost, sell refund, bounty and leaks all hit gold and lives
- 模拟用固定步长,同样的输入结果一样 / The simulation runs on a fixed step and is deterministic
Install
Tell your AI
Install the skill from https://gameskill.dev/skills/tower-defense/install.md
GameSkill's tested copy
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/tower-defense.zip -o /tmp/gameskill-tower-defense.zip
unzip -oq /tmp/gameskill-tower-defense.zip -d .claude/skills
rm /tmp/gameskill-tower-defense.zipWhat you get
- Worked steps: Wave spawner; Tower targeting; "Can this lane hold?" sanity check
- A pitfalls section with the mistakes to avoid
- Bundled 1 reference doc the agent reads when needed
Good fit
- A tower-defense/wave-defense game, or balancing waves and economy
Try this prompt
Build a tower defense with lane pathing, wave spawning and a gold economy.About this skill
Build a tower defense: enemies pathing along lanes, wave spawning, towers that auto-target and fire, an economy, and lives. Use for a tower-defense/wave-defense game, or balancing waves and economy.
From the tower-defense SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.
What's inside
- Core loop
- Must-have systems
- Design knobs
- Wave spawner (timed, data-driven)
- Tower targeting (filter to range, then pick by priority)
- "Can this lane hold?" sanity check (DPS vs. HP)
- Composition (build it from these skills)
FAQ
Game Polish Workflow
A repeatable workflow for getting an AI agent to actually improve your game: a 10-step polish loop, bilingual prompts, a troubleshooting guide for common AI-made game bugs, and playtest and release checklists.
- 10-step polish loop with done criteria
- 14 prompts in Chinese + 14 in English
Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.
More from Awesome Gamedev Agent Skills
See all 482D Platformer
Build a 2D platformer: run/jump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards.
Behavior Trees & Utility AI
Build a behavior-tree runtime and a Utility AI system with response curves, plus hybrid agents where the behavior tree drives utility scoring.
Bevy ECS
Structure a Bevy app around ECS: plugins, components and resources, systems with Query and Commands, system ordering and Time.
Card Game
Build a card game: card data, deck/hand/discard zones, draw/shuffle/reshuffle, a turn structure, costs, and effect resolution.
Similar skills
Novel to Game
Agent skills for source-grounded adaptation of novels into games: cited design docs, target-runtime builds and evidence-based QA.
Novel to Game: Art Direction
Direct game art and creative vision.
Novel to Game: Book Analysis
Deconstruct a novel for game adaptation.
Novel to Game: Concept
Design game concepts from a novel.