OpenParable
Skip to content
← Back to skills

Unity Adr

Development
unity-adr

Unity Adr is an Agent Skill for development published in the Besty0728/Unity-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Helps record Unity architecture decisions (ADR) — compare options, weigh tradeoffs, and lock in a chosen approach with rationale. Use when choosing between technical approaches, comparing libraries or patterns, or documenting why a design decision was made, even if the user just asks "选哪个" or "用哪个方案好". 帮助记录 Unity 架构决策(ADR:技术选型、方案对比、权衡优缺点、固化决策与理由);当用户要在多个技术方案间抉择、对比库或模式、或记录某个设计决策的来龙去脉时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Besty0728/Unity-Skills/blob/HEAD/SkillsForUnity/unity-skills~/skills/adr/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/unity-adr, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Unity ADR

Use this when architecture choices may be revisited later or when multiple plausible options exist.

Output Format

  • Decision
  • Context
  • Options considered
  • Chosen option
  • Why this option won
  • Consequences
  • Revisit triggers

Example Use Cases

  • Coroutine vs UniTask
  • Direct reference vs event-driven communication
  • ScriptableObject config vs in-scene authoring
  • One assembly vs multiple asmdef
  • Runtime logic in MonoBehaviour vs pure C# service

Guardrails

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

  • Keep ADRs short.
  • Record only decisions that materially affect code generation or architecture direction.