From phyxel-gamedev
Use when adding gameplay systems to a Phyxel game — player health/respawn, objectives/quests, background music, day/night cycle, combat/equipment, crafting, menus/HUD, and pause. Invoke for "add health / a quest objective / music / a day-night cycle / combat / a menu" tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/phyxel-gamedev:phyxel-mechanicsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Layer these on after the world, characters, and story exist. All are MCP-driven on the live
Layer these on after the world, characters, and story exist. All are MCP-driven on the live
engine; persist with save_world / save_player.
set_spawn_point (where the player respawns), damage_player / heal_player / kill_player
/ revive_player, get_player_health / get_respawn_state. At 0 HP a death overlay + respawn
timer trigger.
add_objective (title, description, priority, category), complete_objective /
fail_objective, get_objectives. Active ones show in a top-right HUD panel (up to 5; higher
priority shown first).
control_music with action: add_track (queue files), play, plus Sequential/Shuffle modes
and volume (0.0–1.0). Persists via save_player/load_player. State: get_music_state.
set_day_night (time of day, day length, time speed). Dawn 6:00, Day 8:00, Dusk 18:00, Night
20:00; ambient + sun colors animate. get_day_night.
attack (sphere+cone hit + knockback), damage_entity / heal_entity, equip_item /
unequip_item (6 slots), get_equipment. Health on any entity: set_entity_health.
add_recipe (ingredients → output), craft_item; give_item / get_inventory /
set_inventory_slot / select_hotbar_slot.
create_menu, add_menu_element, set_menu_element, show_menu / hide_menu /
toggle_menu, open_menu_submenu. Build title screens, settings, custom HUDs.
ESC toggles pause (freezes sim + shows menu); toggle_pause / get_pause_state.
A standalone game also has a D&D RPG layer (dice, ability scores, classes, spells, conditions, currency, rest, world clock) — see the
resources/rpg/data + the rpg MCP tools if the game needs tabletop rules.
npx claudepluginhub barbarisch/phyxel --plugin phyxel-gamedevGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.