Skip to content
Development
Skill

/inspector

Advise on Unity Inspector authoring UX

From plugin
unity-skills
1.8k82 skills4 commands
Install
$ npx -y skills add Besty0728/Unity-Skills --skill inspector --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/inspector

Context preview

The summary Claude sees to decide when to auto-load this skill.

Advise on Unity Inspector authoring UX

SKILL.md

inspector.SKILL.md
name: unity-inspector
description: Advise on Unity Inspector authoring UX

> **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

  • Designing component Inspector display
  • Organizing serialized fields
  • Adding tooltips/headers
  • 设计组件在 Inspector 的呈现、组织序列化字段、添加提示/分组

Unity Inspector Design

Use this skill when scripts need to be easier to author, configure, and review in the Inspector.

Guardrails

> **Mode**: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).

  • Prefer `[SerializeField] private` over unnecessary public fields.
  • Do not over-decorate with attributes when simple naming suffices.

Default Rules

  • Use `[Header]`, `[Tooltip]`, `[Space]`, `[Range]`, `[Min]`, `[TextArea]` when they clarify authoring intent.
  • Use `[RequireComponent]` for mandatory sibling dependencies.
  • Use `[CreateAssetMenu]` for config/data assets that designers should create directly.
  • Use `OnValidate` only for lightweight editor-time validation and normalization.
  • Use `SerializeReference` only when polymorphic serialized data is genuinely needed.

Inspector Quality Checklist

  • Are defaults safe?
  • Are required references obvious?
  • Are fields grouped by responsibility?
  • Are tuning values constrained?
  • Are debug-only fields separated from authoring fields?
  • Will another person understand this script from the Inspector alone?

Output Format

  • Field exposure strategy
  • Recommended attributes
  • Validation rules
  • Authoring UX improvements
  • Over-design to avoid
Read more
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+.

Get the whole plugin
Stats
1,761
Stars
164
Forks
Active
Maintenance
C#
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: Besty0728/Unity-Skills

Other skills on unity-skills.