Designs RPG progression and combat math: stats with modifier stacks, XP curves, damage formulas, items with rarity/affixes, and quests. Works with any engine.
Ships in gamedev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Owns the numbers that make a character grow: stats, levels, damage, items and quests. Design by target outcomes (minutes per level, hits to kill), then derive formulas and tables from them, and check the tables with a script before anyone plays.
Works with any engine, including custom ones: bind the data shapes below to the project's content format and save interface after reading its existing items and stats.
When not to use: gathering, crafting recipes, stack limits, weight and spoilage
(survival-crafting); conversation trees and barks (dialogue-systems); save file format and
migration (save-systems); permadeath runs (roguelike).
xp_to_next(L) = expected_xp_per_minute(L) * minutes_for_level(L), where XP per minute comes from the enemies and quests at that
level. A bare formula such as 100 * L^2 is a fine first fill, but tune against minutes.| Choice | Default | Why |
|---|---|---|
| Damage vs defense | ratio: dmg * K / (K + def), K = the defense that should halve damage | each defense point adds the same effective HP (1/K of HP), so defense never makes anyone immune; League of Legends uses K = 100 |
| Subtractive alternative | max(1, atk - def) | crisp at small numbers, but stacking defense quickly zeroes damage |
| Resist caps | percentage resists capped (Path of Exile: 75% by default) | stacked percentages reach 100% otherwise |
| Variance | ±10% | wider makes hits-to-kill unpredictable |
| Crit | 5% base chance, 1.5-2x damage | crit builds need room to grow |
| Type multipliers | 0.5 / 1 / 2 | clear tells; stack dual types multiplicatively (0.25-4) |
| XP curve | cubic total XP (Pokemon "Medium Fast": total XP to reach level n is n^3) or a minutes-based table | early levels fast, late ones long |
| Rarity weights | common 60, uncommon 25, rare 10, epic 4, legendary 1 | with a pity counter for the top tier if drops gate progress |
| Item level | the level of the monster or chest that dropped it | keeps loot useful while levelling |
Round once at the end of the damage formula. Sum percentage modifiers of the same kind (+20% and +30% = +50%); multiply only across deliberately separate layers.
# Pseudocode. Base attributes are the only stored truth; derived stats are recomputed.
def stat(actor, name):
flat = sum(m.value for m in actor.mods if m.stat == name and m.kind == "flat")
pct = sum(m.value for m in actor.mods if m.stat == name and m.kind == "pct")
more = product(1 + m.value for m in actor.mods if m.stat == name and m.kind == "more")
return clamp((actor.base[name] + flat) * (1 + pct) * more, *LIMITS[name])
def equip(actor, item):
for m in item.mods:
actor.mods.append(Mod(m.stat, m.kind, m.value, source=item.instance_id))
def unequip(actor, item):
actor.mods = [m for m in actor.mods if m.source != item.instance_id] # exactly that item
When max HP changes, decide whether current HP keeps its value or its ratio, and apply the same rule everywhere; otherwise swapping gear becomes a free heal.
save-systems).references/stats-combat-quests.md: read when writing the stat block and modifier layers,
the two damage families in code, XP curve variants, turn-based versus ATB timelines, item and
equipment data shapes, or the quest state model.Related: dialogue-systems (conversations gated on quest state), save-systems,
godot-resources or unity-scriptableobjects (content as data), game-ai (enemy behaviour),
roguelike Pattern 1 (energy scheduler, the base of CTB and ATB turn order), game-ui-ux
(inventory and character screens).
Last verified: 2026-11-11.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/gamedev:rpgfrom gamedev
npx claudepluginhub cirobarone78/games-skill --plugin gamedev80 skills in this plugin
/ai-behavior-trees-utility-aiEngine-neutral behavior tree and utility AI code for NPCs in any language: Blackboard, reactive composites, decorators and response-curve scoring. Use when an enemy keeps chasing after losing sight, restarts its action every frame or flip-flops between choices. Not for FSMs, steering or pathfinding (`game-ai`) or Unreal BT, EQS and StateTree (`unreal-behavior-trees`).
/audio-designEngine-neutral game audio technique: bus layout, volume sliders in decibels, loudness, ducking music under dialogue, adaptive music and SFX variation, with Godot, Unity and FMOD/Wwise mappings. Use when mixing a game, making music react to combat, fixing repetitive footsteps or beat sync, or a mix that clips or pumps. Not for the Godot audio API (`godot-audio`).
/2 plugins ship this exact skill · first indexed Nov 16, 2026
Other plugins' skills for the same job