Skip to content
SkillMixed1,580 tokens in use

tower-defense

Designs tower defense games in any engine: paths, waves, targeting and gold economy, with a script that checks the wave curve before playtesting.

9,684 stars on the repository Apache License 2.0gamedev-skills/awesome-gamedev-agent-skills · skills/genres/tower-defense
npx skills add gamedev-skills/awesome-gamedev-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing tower-defense costs

87tokens idle
1,580tokens in use
3,129tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: scripts/td_curve_check.py.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter8/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity92
  • Maintenance96
  • Community60
  • Maturity24
  • Momentum40

This skill guides an agent through the tower defense loop in any engine: choosing a map model (fixed lanes, maze or flow-field open field), writing towers, enemies and waves as data, and tuning the economy that links them. Its core question is whether the damage per second a player can afford keeps pace with the hit points each wave sends.

A bundled Python script plays the economy forward and reports the pressure of every wave, so walls and runs of trivial waves show up before a human playtest. The skill also lists targeting modes, sell refunds, early-call bonuses and a set of gotchas for stuck enemies, drifting timers and unfair specials.

What You Get

  • A workflow from map model through wave data, curve tuning and session pacing
  • An economy table with starting values for wave 1, bounties, leaks, sell refunds, interest, upgrades and targeting
  • A curve checker script that prints each wave’s pressure and flags walls and trivial runs
  • A wave-data pattern and a list of gotchas for pathing, timers, corners and unfair specials

Common Use Cases

  • Balancing the waves and gold economy of a Bloons- or Kingdom Rush-like game
  • Fixing late waves that are impossible, trivial or dominated by one tower
  • Choosing targeting modes and adding enemy types that counter lazy builds
  • Validating maze placements so towers never cut the spawn off from the goal

What Makes It Unique

Most game-design skills describe balance in prose. This one ships a small checker that plays the gold economy forward against the wave list and reports a pressure number per wave, so the agent can quote measured figures. It works in any engine and hands pathfinding, tile maps and data resources off to named sibling skills.

Under The Hood

The agent loads the SKILL.md and, when it needs depth, a balancing reference on path representation, targeting code and HP scaling. For the curve check it runs a local Python script, using only the standard library, on a JSON wave spec you write; the script makes no network calls and exits with a code the agent can read. The workflow also tells the agent to write and run small tests for travel time, maze validation and targeting in your project, which means running commands and creating test files.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers