Skip to content

ericrisco/rsc-harness / skills/unity

Use when writing, reviewing or structuring Unity game code in C# for Unity 6 LTS — GameObjects and the Transform hierarchy, the MonoBehaviour lifecycle, prefabs and variants, ScriptableObjects for data, scenes and additive loading, the Input System, coroutines versus async and Awaitable, Addressables, and build settings for 2D and 3D. NOT Godot or GDScript (that is `godot`), NOT Unreal Blueprint or C++ engine work (that is `unreal`), NOT the netcode wire protocol (that is `gamedev-multiplayer`).

FileKindSize
SKILL.mdskill md15.6 KB
evals/README.mdmarkdown581 B
evals/cases.yamlconfig3.5 KB
references/build-and-platforms.mdmarkdown3.4 KB
references/input-system.mdmarkdown4.2 KB
references/lifecycle-deep-dive.mdmarkdown4.3 KB

evals/cases.yaml

View on GitHub
skill: unity
should_trigger:
  - prompt: "My Unity player character teleports and jitters through walls when I move it with the arrow keys. Here's my MonoBehaviour."
    why: "Physics-in-Update / setting transform on a Rigidbody — core lifecycle + FixedUpdate guidance this skill owns."
  - prompt: "What's the difference between Awake and Start in Unity, and where should I grab my other components?"
    why: "Directly the MonoBehaviour lifecycle section (Awake caches, Start does cross-object wiring)."
  - prompt: "Help me convert my old Input.GetAxis(\"Horizontal\") movement to Unity's new Input System with an action map."
    why: "Legacy→new Input System migration; ban-list + §6/input-system reference."
  - prompt: "I want to store all my enemy stats (health, speed, damage) as data assets I can tweak in the Inspector. Best way in Unity?"
    why: "ScriptableObject for data/config + [SerializeField] vs public + serialization rules."
  - prompt: "How do I load a second Unity scene on top of the current one for my UI without unloading the level?"
    why: "Scenes & additive loading (LoadSceneAsync + LoadSceneMode.Additive)."
  - prompt: "Should I use a coroutine, async Task, or Awaitable for a 'wait 2 seconds then spawn' timer in Unity 6?"
    why: "Coroutines vs async/await vs Awaitable decision — §7, including destroyCancellationToken."
  - prompt: "Setting up multiplayer in Unity — I found UNet / UnityEngine.Networking tutorials, do they still work?"
    why: "Version contract: UNet removed → Netcode for GameObjects; routes the wire itself onward but Unity owns the 'it's removed' fact."
should_not_trigger:
  - prompt: "How do I write a NavMeshAgent that chases the player and avoids obstacles smoothly?"
    route_to: "gamedev-pathing"
    why: "Pathfinding/steering algorithms are the pathing skill; Unity only owns the component wiring."
  - prompt: "Design a Shader Graph for a dissolving-enemy effect with an emissive edge in URP."
    route_to: "gamedev-shaders"
    why: "Shader/material authoring belongs to the shaders skill."
  - prompt: "I'm making a game in Godot 4 with GDScript and my _ready() isn't firing."
    route_to: "godot"
    why: "Godot/GDScript engine — explicitly out of scope; route to godot."
  - prompt: "In Unreal Engine 5 my Blueprint Actor won't replicate movement to clients."
    route_to: "unreal"
    why: "Unreal/Blueprint engine work — route to unreal."
  - prompt: "Write the authoritative server tick and client-side prediction/reconciliation for our netcode."
    route_to: "gamedev-multiplayer"
    why: "Netcode protocol/authority design is the multiplayer skill; Unity stops at 'use Netcode for GameObjects'."
capability:
  - scenario: "User asks how to move a Rigidbody with input from the new Input System without jitter, in Unity 6."
    must_include:
      - "reads input in Update (caches intent) but applies movement in FixedUpdate"
      - "uses Rigidbody.MovePosition (or AddForce), not setting transform.position on the body"
      - "uses the new Input System (InputAction / action map / ReadValue<Vector2>), not Input.GetAxis"
  - scenario: "User asks whether to use a coroutine or async for a delayed spawn and how to make it stop when the object is destroyed."
    must_include:
      - "recommends Awaitable (or coroutine) over raw Task for Unity gameplay in Unity 6"
      - "passes destroyCancellationToken to the Awaitable so it cancels on destroy"
      - "warns never to await the same Awaitable instance twice (it is pooled)"
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall