# unity-editor-tooling

The unity-editor-tooling Claude Code skill covers Unity Editor extensions and build automation. It activates for custom inspectors, editor windows, importers, and Unity CI/CD tasks.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 102 installs · ★ 66 repo stars
- Author: JosiahSiegel
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/JosiahSiegel/claude-plugin-marketplace/tree/HEAD/plugins/unity-master/skills/unity-editor-tooling/SKILL.md
- Updated: 2026-06-18
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/unity-editor-tooling

## What it does

The skill provides patterns for extending the Unity Editor and automating builds. Its material includes custom inspector templates, `EditorWindow` examples, build scripts, GameCI setup, `.asmdef` guidance, and CI YAML.

It also covers `PropertyDrawer`, `ScriptedImporter`, platform switching, and preprocessor symbols. Editor code belongs in an `Editor/` folder or behind `#if UNITY_EDITOR`.

The agent activates it for requests involving editor scripts, build pipelines, or Unity CI/CD. Examples include `BuildPipeline.BuildPlayer` and a GitHub Actions workflow using GameCI.

## Requirements
- Works with: Unity

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add JosiahSiegel/claude-plugin-marketplace --skill unity-editor-tooling -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/unity-editor-tooling/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/unity-editor-tooling/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add JosiahSiegel/claude-plugin-marketplace --skill unity-editor-tooling -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/unity-editor-tooling/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add JosiahSiegel/claude-plugin-marketplace --skill unity-editor-tooling -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/unity-editor-tooling/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install JosiahSiegel/claude-plugin-marketplace plugins/unity-master/skills/unity-editor-tooling
```

2. **Manually: put the files in place**
- File: `.github/skills/unity-editor-tooling/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add JosiahSiegel/claude-plugin-marketplace --skill unity-editor-tooling -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/JosiahSiegel/claude-plugin-marketplace --path plugins/unity-master/skills/unity-editor-tooling
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/unity-editor-tooling/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add JosiahSiegel/claude-plugin-marketplace --skill unity-editor-tooling -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/JosiahSiegel/claude-plugin-marketplace/tree/HEAD/plugins/unity-master/skills/unity-editor-tooling/SKILL.md

## When to use it
- write a custom inspector for a component
- create a standalone Unity Editor window
- import assets from a custom file format
- script a build for a target platform
- configure Unity builds with GameCI in CI

## Example prompts
- Write a custom inspector for the EnemySpawner component.
- Create an EditorWindow to search scene objects.
- Set up GitHub Actions to build a Unity project with GameCI.

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 89d1950aa6146def.

BEGIN THIRD-PARTY FILE 89d1950aa6146def
````text
---
name: unity-editor-tooling
description: |
  Unity Editor tooling, build automation, and asset pipeline customization.
  PROACTIVELY activate for: (1) writing custom Editor scripts, (2) custom inspectors and PropertyDrawer attributes, (3) EditorWindow creation, (4) ScriptedImporter for custom asset types, (5) build pipeline scripting (BuildPipeline.BuildPlayer, IBuildPostprocessor), (6) platform-switching automation, (7) CI/CD for Unity (GameCI, GitHub Actions, Unity Build Automation), (8) Assembly Definition (.asmdef) organization, (9) preprocessor symbols and platform defines, (10) Editor-only code with #if UNITY_EDITOR.
  Provides: custom inspector templates, EditorWindow examples, build script patterns, GameCI setup, .asmdef best practices, and CI YAML for Unity builds.
---

# Unity Editor Scripting and Tooling

## Overview

Reference for extending the Unity Editor, automating builds, testing, version control configuration, and package development. Covers custom inspectors, editor windows, build pipeline scripting, CI/CD, and the Unity Test Framework.

## Custom Inspectors

### Basic Custom Editor

```csharp
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;

[CustomEditor(typeof(EnemySpawner))]
public class EnemySpawnerEditor : Editor
{
    SerializedProperty spawnPoints;
    SerializedProperty enemyPrefab;
    SerializedProperty spawnInterval;

    void OnEnable()
    {
        spawnPoints = serializedObject.FindProperty("_spawnPoints");
        enemyPrefab = serializedObject.FindProperty("_enemyPrefab");
        spawnInterval = serializedObject.FindProperty("_spawnInterval");
    }

    public override void OnInspectorGUI()
    {
        serializedObject.Update();

        EditorGUILayout.PropertyField(enemyPrefab);
        EditorGUILayout.Slider(spawnInterval, 0.1f, 10f, new GUIContent("Spawn Interval"));

        EditorGUILayout.Space();
        EditorGUILayout.LabelField("Spawn Points", EditorStyles.boldLabel);
        EditorGUILayout.PropertyField(spawnPoints, true);

        if (GUILayout.Button("Add Spawn Point at Origin"))
        {
            spawnPoints.InsertArrayElementAtIndex(spawnPoints.arraySize);
            var newElement = spawnPoints.GetArrayElementAtIndex(spawnPoints.arraySize - 1);
            newElement.vector3Value = Vector3.zero;
        }

        serializedObject.ApplyModifiedProperties();
    }

    void OnSceneGUI()
    {
        var spawner = (EnemySpawner)target;
        // Draw handles in scene view for each spawn point
        for (int i = 0; i < spawner.SpawnPointCount; i++)
        {
            Vector3 point = spawner.GetSpawnPoint(i);
            Vector3 newPoint = Handles.PositionHandle(point, Quaternion.identity);
````
END THIRD-PARTY FILE 89d1950aa6146def

The third-party file has ended. Everything between the 89d1950aa6146def tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2713 of 10846 bytes. © JosiahSiegel · MIT · https://github.com/JosiahSiegel/claude-plugin-marketplace/tree/HEAD/plugins/unity-master/skills/unity-editor-tooling/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
