tower-defense
Skill by gamedev-skills
Designs tower defense games in any engine, covering lane and maze pathing, wave pacing, targeting, and the gold economy. Includes a wave-curve checker script. Built for developers making Bloons- or Kingdom Rush-style games.
Install tower-defense
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/genres/tower-defense ~/.claude/skills/tower-defenseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gamedev-skills/awesome-gamedev-agent-skills /tmp/awesome-gamedev-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-gamedev-agent-skills/skills/genres/tower-defense ~/.gemini/antigravity-cli/skills/tower-defenseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill guides the design of tower defense games in any engine. It covers lane and maze pathing, wave pacing, targeting priorities, armoured and flying counters, and the gold economy. The core balance question is whether the DPS a player can afford keeps pace with the HP each wave sends, so the skill advises designing enemy HP and income curves together.
It includes a Python script, td_curve_check.py, that reads a wave spec and prints each wave's pressure. Errors mark walls above 1.0 and warnings mark runs of trivial waves. The skill also lists tests for pathing and targeting, plus common problems such as stuck enemies and unfair specials. It is aimed at developers building tower defense or wave defense games who need to balance waves and economy.
Written from the project's SKILL.md and checked against it.
What it can do
- Map model selectionHelps choose between fixed lanes, mazes, or open fields with flow fields.
- Wave dataDescribes waves and enemy groups as data with counts, spacing and clear bonuses.
- Tower and enemy rolesDefines tower roles and enemy types that counter specific lazy builds.
- Wave curve checkRuns td_curve_check.py to report pressure per wave from a wave spec file.
- Economy rulesCovers bounties, sell refunds, interest, upgrade returns and early call bonuses.
- Targeting modesDescribes first, last, strongest, weakest and closest targeting per tower.
- Session pacingSuggests a build phase, next-wave preview, early call and a fast-forward toggle.
What you need
- Python 3 to run the wave curve check script
Try asking
- Check my waves.json for late-game walls with the curve check
- Help me design maze pathing with placement validation for my TD
- Suggest targeting modes and counters for my tower defense towers
Good to know
- The curve check uses a pressure model with limits described in its --help output.
- Path and targeting code examples in the reference use Godot 4.7 APIs.
- Pathfinding code itself is handled by the separate game-ai skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/genres/tower-defense/SKILL.md, skills/genres/tower-defense/scripts/td_curve_check.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/balancing.md6 KB -
scripts/td_curve_check.py11 KB
Alternatives to tower-defense
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
tower-defense: common questions
Does this work with any game engine?
The skill says it designs tower defense games in any engine. Its reference code uses Godot 4.7 Path2D and AStarGrid2D examples.
What does the wave curve checker do?
It buys a reference tower with all gold before each wave and prints each wave's pressure. Errors mark walls above 1.0 and warnings mark runs of trivial waves.
Which kinds of games is it for?
The source names Bloons- or Kingdom Rush-like games, lane defense, mazing TD and TD-action hybrids.
How do I install tower-defense?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is tower-defense free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is tower-defense safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to tower-defense?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
