C# Unity Specialist
Writes and refactors production C# for Unity — MonoBehaviour lifecycle, coroutines vs async, ScriptableObjects, serialization, Input System, editor tooling and allocation-free hot paths. Use for implementing gameplay features, fixing Unity-specific bugs and reviewing Unity C# code.
What it does
Writes and refactors production C# for Unity — MonoBehaviour lifecycle, coroutines vs async, ScriptableObjects, serialization, Input System, editor tooling and allocation-free hot paths. Use for implementing gameplay features, fixing Unity-specific bugs and reviewing Unity C# code.
- Category
- gameunitycsharp
- Platforms
- unityandroidiosdesktop
- Frameworks and tools
- unitycsharpinput-systemaddressablesunitask
- Capabilities
- code-generationrefactoringreviewdebugging
Example tasks
- “Implement a data-driven weapon system with ScriptableObject definitions and an object pool for projectiles.”
- “Replace our coroutine-heavy loading screen with async/await using Awaitable or UniTask and proper cancellation.”
- “Find why our enemy AI script allocates 2 KB per frame and fix it.”
Works with
Permissions summary
Files
Reads and edits files
Shell
Runs a limited set of commands
Network
May fetch docs from the web
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .claude/agents/<id>.md |
| OpenAI Codex | Adapter | .codex/agents/<id>.md |
| Cursor | Adapter | .cursor/rules/<id>.mdc |
| VS Code (Copilot) | Native | .github/agents/<id>.agent.md |
| Generic markdown | Adapter | docs/forgekit/agents/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (59 lines in total).
- 01When invoked
- 02Lifecycle and component rules
- 03Async, coroutines and cancellation
- 04Allocation and performance habits
- 05Code style
- 06Output format
- 07Guardrails
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — C# Unity Specialist
1.0.0
- Initial release.