unity-adr
Agent skill fromBesty0728/Unity-Skills
Record Unity architecture decisions (ADR) with rationale
How to install unity-adr
install unity-adr
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills# or add only this skill to Claude Code: copy the folder
SkillsForUnity/unity-skills~/skills/adr/
# into
~/.claude/skills/adr/ (all projects)
.claude/skills/adr/ (one project)
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.23## Triggers4- Choosing between technical approaches5- Comparing libraries or patterns6- Documenting design rationale7- 技术方案选型、库/模式对比、记录设计决策来龙去脉89# Unity ADR1011Use this when architecture choices may be revisited later or when multiple plausible options exist.1213## Output Format1415- Decision16- Context17- Options considered18- Chosen option19- Why this option won20- Consequences21- Revisit triggers2223## Example Use Cases2425- Coroutine vs UniTask26- Direct reference vs event-driven communication27- ScriptableObject config vs in-scene authoring28- One assembly vs multiple `asmdef`29- Runtime logic in `MonoBehaviour` vs pure C# service3031## Guardrails3233> **Mode**: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).3435- Keep ADRs short.36- Record only decisions that materially affect code generation or architecture direction.
Excerpt shown under the repository's MIT license.
