Skip to content
Development
Skill

/script-roles

Advise on assigning Unity script roles

From plugin
unity-skills
1.9k83 skills4 commands

Claude Code

$ npx -y skills add Besty0728/Unity-Skills --skill script-roles --agent claude-code

SKILL.md

script-roles.SKILL.md
name: unity-script-roles
description: Advise on assigning Unity script roles

Unity Script Roles

Documentation only: no REST skills. Use before creating a batch of gameplay scripts, so AI does not generate everything as `MonoBehaviour`.

When to use

  • Deciding a class's role
  • Splitting responsibilities across types
  • Choosing between MonoBehaviour and plain C#

Common roles

  • `MonoBehaviour` bridge
  • `ScriptableObject` config/data
  • Pure C# domain/service
  • Presenter / controller
  • State / state-machine node
  • Installer / bootstrap helper

Output format

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

Pitfalls

  • Do not make every class a `MonoBehaviour`.
  • Do not force `ScriptableObject` onto runtime state that should stay in memory-only objects.
@besty0728
Ships withunity-skills

REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.

Stars on GitHub

Momentum

stars in total
1.9k
Star history of Besty0728/Unity-Skills on GitHub, a chart by star-history.com

Other skills on unity-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about script-roles.

Which coding agents can use script-roles?
script-roles installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.