Agent Skills
› Besty0728/Unity-Skills
› unity-adr
unity-adr
GitHub辅助记录Unity架构决策(ADR),通过对比选项、权衡优缺点并固化理由,帮助用户在技术选型或方案抉择时做出决策。适用于多方案对比及记录设计决策背景。
触发场景
用户询问技术方案选型(如选哪个)
需要对比不同库或设计模式
记录架构决策的来龙去脉与理由
安装
npx skills add Besty0728/Unity-Skills --skill unity-adr -g -y
SKILL.md
Frontmatter
{
"name": "unity-adr",
"description": "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:技术选型、方案对比、权衡优缺点、固化决策与理由);当用户要在多个技术方案间抉择、对比库或模式、或记录某个设计决策的来龙去脉时使用。"
}
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
MonoBehaviourvs 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.
版本历史
- ec9f870 当前 2026-07-05 14:39


