<< All versions

Skill v1.0.2

currentAutomated scan100/100
besty0728/unity-skills/script-roles

~1 modified

──Details
PublishedAugust 18, 2026 at 07:35 PM
Content Hashsha256:c6c237632cb0f9ff...
Git SHAa1ee16e0d432
Bump Typepatch
Compare with v1.0.1
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 46 lines · 1.4 KB

version: "1.0.2" name: unity-script-roles description: Advise on assigning Unity script roles


Before calling any skill in this module: if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via GET /skills/recommend?includeSchema=true) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.

Triggers

  • Deciding a class's role
  • Splitting responsibilities across types
  • Choosing between MonoBehaviour and plain C#
  • 确定类的职责、在类型间拆分职责、在 MonoBehaviour 与纯 C# 间抉择

Unity Script Roles

Use this skill before creating a batch of gameplay scripts.

Goal

Turn a rough script list into explicit roles so AI does not generate everything as MonoBehaviour.

Output Format

  • Script name
  • Recommended role
  • Main responsibility
  • Main dependencies
  • Why this role fits better than the alternatives

Common Roles

  • MonoBehaviour bridge
  • ScriptableObject config/data
  • pure C# domain/service
  • presenter / controller
  • state / state machine node
  • installer / bootstrap helper

Guardrails

Mode: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).
  • Do not make every class a MonoBehaviour.
  • Do not force ScriptableObject onto runtime state that should stay in memory-only objects.
← v1.0.1All versions