Skip to content
Back to skills

Script Roles

ASecurity

Script role planner for Unity. Use when users want to decide class responsibilities — which should be MonoBehaviour, ScriptableObject, pure C# service, or installer. Triggers: script roles, class roles, what should be MonoBehaviour, service class, presenter, installer, responsibility, 脚本职责, 类的职责, 用MonoBehaviour还是纯C#, 怎么分类, 职责划分.

  • 1,812 stars
  • 0 votes
  • 1 copy
  • 2 views
  • Added May 27, 2026
data-aigoc#noderailsdocumentation

Security analysis

A100/100

Scanned May 27, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Script Roles?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Script Roles
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/besty0728-script-roles/badge)](https://www.skillsdirectory.com/skills/besty0728-script-roles)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: unity-script-roles
description: "Script role planner for Unity. Use when users want to decide class responsibilities — which should be MonoBehaviour, ScriptableObject, pure C# service, or installer. Triggers: script roles, class roles, what should be MonoBehaviour, service class, presenter, installer, responsibility, 脚本职责, 类的职责, 用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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.