Interface-based state machine patterns for Unity game states, character controllers, and UI flows. Use when implementing game flow (menu -> gameplay -> game over), character states (idle -> run -> jump -> fall), AI behavior states, or UI screen transitions. Triggers on "state machine", "game states", "character states", "screen flow", "game flow", "add states to", "idle/run/jump", "menu flow", "AI states", "boss phases", or any task involving managing discrete states with transitions between them. Reads ProjectConfig.yaml -> architecture_pattern to adapt patterns for SO-first or DI-first.
$npx -y skills add devdavv/unity-ai-workflow --skill uw-state-machineInstalls into the current project.
Run `npx skills use "https://github.com/devdavv/unity-ai-workflow" --skill "devdavv/unity-ai-workflow/uw-state-machine"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/devdavv/unity-ai-workflow" that are relevant to the current task. Run `npx skills add "https://github.com/devdavv/unity-ai-workflow"` and select the relevant skills, then follow their instructions.