Skip to content
Development
Skill

/asmdef

Advise on Unity assembly definitions (asmdef)

From plugin
unity-skills
1.9k83 skills4 commands

Claude Code

$ npx -y skills add Besty0728/Unity-Skills --skill asmdef --agent claude-code

SKILL.md

asmdef.SKILL.md
name: unity-asmdef
description: Advise on Unity assembly definitions (asmdef)

Unity asmdef Advisor

Documentation only: no REST skills. Use when the project is large enough that compile boundaries and dependency direction matter.

When to use

  • Planning asmdef layout
  • Untangling assembly dependencies
  • Speeding up compilation
  • Splitting editor, runtime and test code

Recommend only when worth it

`asmdef` is usually worth discussing when the project has multiple domains, editor and runtime code are mixed, compile times are noticeable, or tests should be isolated.

Output format

  • Whether `asmdef` is justified now
  • Proposed assemblies
  • Allowed dependency direction
  • Editor/runtime/test split
  • Migration steps
  • Risks or churn to avoid

Default guidance

  • Prefer a few meaningful assemblies over many tiny ones.
  • Split editor code from runtime first.
  • Keep the dependency graph directional and shallow.

Pitfalls

  • Do not fragment assemblies for a tiny prototype.
  • Do not create circular dependencies or force everything through a shared dumping-ground assembly.
@besty0728
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+.

Stars on GitHub

Momentum

stars in total
1.9k
Star history of Besty0728/Unity-Skills on GitHub, a chart by star-history.com

Other skills on unity-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about asmdef.

Which coding agents can use asmdef?
asmdef installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.