From workflows
Builds RPG systems: stats/leveling, inventory/equipment, quests, branching dialogue, save/load, and combat. For RPG/JRPG development or designing stat/inventory/quest/combat systems.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflows:rpgThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A playbook for role-playing games — stats and progression, inventory/equipment, quests,
A playbook for role-playing games — stats and progression, inventory/equipment, quests, dialogue, and combat. This is a compositional skill: it ties data-driven content, dialogue, and saving together. It does not re-teach those primitives; it defines the systems that make growth and choice feel meaningful, and points to the skills that implement each.
When not to use: permadeath dungeon runs with no persistent character → roguelike.
Pure conversation/branching story → visual-novel. Open-world needs/crafting/base-building →
survival-crafting. For the dialogue engine itself, use dialogue-systems.
Explore → encounter (fight / talk / solve) → earn rewards (XP, loot, story) → grow (level up, gear up, unlock) → take on harder content. The fantasy is getting stronger and shaping who your character is; every system should feed that growth-and-choice loop.
| Knob | Effect | Notes |
|---|---|---|
| XP curve shape | pacing of power | Fast early, slow late (see refs). |
| Stat→derived scaling | build diversity | One attribute shouldn't dominate. |
| Damage formula | tactical feel | Subtractive vs. ratio mitigation (refs). |
| Random variance / crit | swinginess | ±10% and ~1.5× crit are safe defaults. |
| Drop rates / economy | reward cadence | Avoid trivializing shops with loot. |
| Power gating | difficulty gating | Level/region/quest locks. |
| Reversible modifiers | buff/gear correctness | Layer mods; never edit base stats. |
| Choice consequence | role-play weight | Quest/dialogue flags should branch outcomes. |
# Pseudocode. Base attributes are the only "truth"; combat stats are derived each time.
def derive(base, mods):
s = apply_modifiers(base, mods) # base + flat adds + percent, then clamp
return {
"max_hp": 20 + s["VIT"] * 8,
"attack": s["STR"] * 2,
"defense": s["VIT"] + s["AGI"] * 0.5,
}
# Equipping pushes a modifier; unequipping pops it. HP/attack recompute automatically.
# Pseudocode. Quadratic curve: fast early levels, long late ones.
def xp_to_next(level, base=100): return base * level * level
def gain_xp(actor, amount):
actor.xp += amount
while actor.xp >= xp_to_next(actor.level):
actor.xp -= xp_to_next(actor.level)
actor.level += 1
actor.base["STR"] += 2; actor.base["VIT"] += 2 # grant gains / skill points
on_level_up(actor) # heal, unlock, notify
# Pseudocode. Game events advance matching objectives; completion grants rewards.
def on_event(kind, data):
for q in active_quests:
for obj in q.objectives:
if obj.event == kind and matches(obj, data) and not obj.done:
obj.count += 1
if obj.count >= obj.needed: obj.done = True
if all(o.done for o in q.objectives):
q.state = "complete" # turn-in grants xp/gold/items
godot-resources / unity-scriptableobjects).version and a
migration path from day one (see save-systems).dialogue-systems (Yarn Spinner / Ink) — branching lines, conditions, variables.save-systems — character, inventory, quest flags, world state, versioning.godot-resources / unity-scriptableobjects — items, enemies, quests, skills as assets.game-ai for enemy behavior; for turn order reuse the scheduler idea in roguelike.game-ui-ux for HUD/menu layout, resolution scaling, and controller/keyboard nav; godot-ui-control for the concrete inventory, quest log, character sheet, and dialogue box.level-design plus your engine's tilemap/3D skill (godot-tilemap, godot-3d-essentials).references/stats-combat-quests.md.npx claudepluginhub gamedev-skills/awesome-gamedev-agent-skills --plugin gamedevProvides design patterns for building roguelike games: turn-based grid movement, procedural dungeons, permadeath, field-of-view, and loot tables. Useful for roguelikes/roguelites or turn-based grid dungeon crawlers.
Provides patterns for branching game narratives: quest/event trees, dialogue systems, world-building layers, and lore bibles with YAML + Mermaid.
Interviews you about game ideas, researches genre conventions, and produces an actionable MVP First Draft with starter project files. Use when starting a new game project from scratch.