Skip to content
Development
Skill

/adr

Record Unity architecture decisions (ADR) with rationale

From plugin
unity-skills
1.7k82 skills4 commands
Install
$ npx -y skills add Besty0728/Unity-Skills --skill adr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/adr

Context preview

The summary Claude sees to decide when to auto-load this skill.

Record Unity architecture decisions (ADR) with rationale

SKILL.md

adr.SKILL.md
name: unity-adr
description: Record Unity architecture decisions (ADR) with rationale

> **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.

Triggers

  • Choosing between technical approaches
  • Comparing libraries or patterns
  • Documenting design rationale
  • 技术方案选型、库/模式对比、记录设计决策来龙去脉

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.
Ships withunity-skills

REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.

Get the whole plugin
Stats
1,748
Stars
163
Forks
Active
Maintenance
C#
Language
MIT
License
18h ago
Last commit
7mo ago
Created

Repo: Besty0728/Unity-Skills

Other skills on unity-skills.