Develop Unity games using the MonoFSM finite state machine framework, with debugging visualization, update lifecycle management, and tools to export GameObject hierarchies and prefabs to compact text for LLM analysis.
MonoGizmoUtility 除錯繪製工具的使用指南。當需要在 Scene/Game View 繪製除錯用的線、球、方塊、文字等 Gizmo 時使用此 skill。
MonoFSM 有限狀態機框架的使用指南。當需要:(1) 了解 MonoFSM 架構與設計理念 (2) 在 Unity Scene 中新增/修改 State、Transition、Condition、Action (3) 撰寫新的 Action、Condition C# 腳本 (4) 使用 Auto 系列 Attribute 自動引用組件 (5) 理解狀態優先級系統 (6) 設定 VarFloat 計時器 (7) 使用 EffectDealer/EffectReceiver 互動系統 (8) 解析、匯出、或讀懂既有 FSM prefab/scene 物件的結構(用 FsmTextExporter 匯出 markdown 文字)時使用此 skill。
MonoObj 更新生命週期系統的使用指南。當需要:(1) 了解 WorldUpdateSimulator 的更新迴圈架構 (2) 實作 Simulate、Render 等每幀更新邏輯 (3) 新增 IUpdateSimulate、IBeforeSimulate、IAfterSimulate、IRenderSimulate 實作 (4) 理解 MonoObj 註冊/反註冊流程 (5) 理解 FixedUpdate/LateUpdate 的執行時機時使用此 skill。
Hierarchy → 精簡結構化文字匯出工具(HierarchyTextExporter)。當需要:(1) 讓 LLM 用最少 token 讀懂 Unity GameObject 階層與 Component serialized 欄位 (2) 匯出 prefab 或 scene 子樹成精簡文字(uloop execute-dynamic-code 呼叫或右鍵複製)(3) 理解/修改 HierarchyTextExporter 相關程式碼、摺疊摘要規則、值格式化規則時使用此 skill。
Unity Prefab 文字匯出工具的設計指南。當需要:(1) 理解或修改 PrefabToTextExporter 相關程式碼 (2) 擴充匯出格式或新增支援的類型 (3) 新增 Component 類型對應 (4) 調整篩選邏輯或輸出格式時使用此 skill。
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
MonoFSM is a comprehensive Finite State Machine (FSM) framework for Unity, designed to simplify the implementation of complex game behaviors and logic. The framework provides a visual and modular approach to designing state machines, making it easier to create, debug, and maintain game systems.
Nine Sols is the first project to use this framework, and it has been developed and tested in the context of that game.
We recommend installing MonoFSM_Core_Utility first. It provides editor tools that can automatically install and configure the free/open-source dependencies for you.
⚠️ Note: Some plugins still require manual installation (see below).
The following must always be installed manually regardless of whether you use MonoFSM_Core_Utility:
The following dependencies can be installed automatically via the editor tools in MonoFSM_Core_Utility. You may also install them manually if preferred:
Install Unity Official Packages
Addressables packageTimeline packageInstall Third-Party Packages
https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask via Package Managerhttps://github.com/Cysharp/ZString.git?path=src/ZString/Assets/Scripts/ZString via Package Managerhttps://github.com/KyryloKuzyk/PrimeTween.git via Package ManagerSeamless Integration in Unity's Scene Hierarchy
MonoFSM appears directly in Unity's Scene hierarchy, allowing roles like programmers, designers, and artists to work on the same objects naturally. This fosters organic information sharing within the project and reduces the need for extensive documentation.
Prefab-Based Extensibility and Reusability
By leveraging Unity's Prefab and Prefab Variant system, MonoFSM overcomes the traditional FSM limitations of poor reusability and difficulty in expansion, making it straightforward to build and extend state machines.
Intent-Driven Dependency Injection (DI)
Using GameObjects as the foundation allows for clear and intuitive dependency injection. Object activation and deactivation become explicit expressions of intent, which can be further interpreted and adapted later.
Tight Integration with Unity's Native Tools
Because MonoFSM is built on GameObjects, it naturally supports Unity's Animation Clips and Timeline. This enables designers to create timeline-driven state machines with fine-grained, time-based control suitable for level design and gameplay micro-adjustments.
MonoFSM integrates directly into Unity's Scene hierarchy, making state machines visible and editable as GameObjects.
Powerful variable management with cross-state data sharing and real-time monitoring capabilities.
Flexible action execution system with conditional logic for complex gameplay behaviors.
npx claudepluginhub red-candle-games-co-ltd/monofsm --plugin monofsmComprehensive Unity 6 game engine development skills. 35 skills covering scripting, physics, graphics, animation, UI, audio, 2D, ECS/DOTS, Cinemachine, performance profiling, multiplayer, XR, editor tools, 5 Tier 1 correctness skills, 5 Tier 2 architecture skills, and 5 Tier 3 domain translation skills (game loop, NPC behavior, UI patterns, level design, procedural generation). Based on Unity 6.3 LTS official documentation.
Unity Development Toolkit - Expert agents for scripting/refactoring/optimization, script templates, and Agent Skills for Unity C# development
Master Unity ECS (Entity Component System) with DOTS, Jobs, and Burst for high-performance game development. Use when building data-oriented games, optimizing performance, or working with large entity counts.
CLI for reading and editing Unity scenes, prefabs, and assets with minimal token usage. Native Rust backend for efficient parsing of large game engine files.
Agentic skills framework for Godot 4.x game development — 54 domain-specific skills for GDScript and C#
Control Unity Editor from Claude Code using UniCli CLI