besty0728/unity-script-roles
Advises on assigning Unity script roles — whether a class should be a MonoBehaviour, ScriptableObject, plain C# service, or installer. Use when deciding a class's role, splitting responsibilities across types, or choosing between MonoBehaviour and plain C#, even if the user just asks "这个该用MonoBehaviour吗" or "职责怎么分". 为 Unity 脚本职责划分提供建议(某个类应作 MonoBehaviour、ScriptableObject、纯 C# 服务还是 installer);当用户要确定类的职责、在类型间拆分职责、或在 MonoBehaviour 与纯 C# 间抉择时使用。
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-script-roles
Use this skill before creating a batch of gameplay scripts.
Turn a rough script list into explicit roles so AI does not generate everything as MonoBehaviour.
MonoBehaviour bridgeScriptableObject config/data> Mode: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).
MonoBehaviour.ScriptableObject onto runtime state that should stay in memory-only objects.Take besty0728/unity-script-roles from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.