unity-architecture
Agent skill fromBesty0728/Unity-Skills
Advise on Unity gameplay and system architecture
How to install unity-architecture
install unity-architecture
# 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/architecture/
# into
~/.claude/skills/architecture/ (all projects)
.claude/skills/architecture/ (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- Planning code organization5- Splitting responsibilities6- Reducing coupling7- Choosing refactor direction8- 规划代码结构、划分职责、降低耦合、确定重构方向910# Unity Architecture Advisor1112Use this before generating lots of gameplay scripts or when the user asks for a cleaner architecture.1314## Workflow15161. Identify scope: prototype, small game, or long-lived project.172. Define the core loop and the minimum runtime systems needed.183. Recommend the smallest architecture that fits the scope.194. Separate:20 - scene/bootstrap layer21 - gameplay/domain logic22 - data/config assets23 - view/presentation layer245. Call out what should stay simple now vs what is worth abstracting.2526## Output Format2728When using this skill, structure the advice as:2930- Project tier: prototype / small-game / long-lived31- Recommended modules: 3-7 modules with one-line responsibilities32- Scene/bootstrap plan: where composition and initialization happen33- Data ownership: what belongs in scene objects, ScriptableObjects, or pure C# classes34- Communication rules: direct refs, interfaces, events, or commands35- Performance risks: only the hot paths that matter36…
Excerpt shown under the repository's MIT license.
