unity-inspector
SKILL.md
Unity Inspector Design
Use this skill when scripts need to be easier to author, configure, and review in the Inspector.
Default Rules
- Prefer
privatefields with[SerializeField]over unnecessary public fields. - 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
OnValidateonly for lightweight editor-time validation and normalization. - Use
SerializeReferenceonly 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
Weekly Installs
6
Repository
besty0728/unity-skillsGitHub Stars
460
First Seen
4 days ago
Security Audits
Installed on
kimi-cli5
gemini-cli5
amp5
cline5
github-copilot5
codex5