Skip to main content
ANY
SkillFreeBy GameSkill · tuned

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
Download ZIP

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 report

What 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.

Download tested ZIP (37 KB)Roadmap: Gameplay mechanics

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.

Tower Defense

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

Tested copy into .claude/skills/
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.zip

What 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

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

MATCHED PRO KIT$8.25/mo

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 48

Similar skills