一键导入
asmdef-setup
Assembly Definition 설정 — assembly definition, asmdef, 모듈 경계, 컴파일 격리
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Assembly Definition 설정 — assembly definition, asmdef, 모듈 경계, 컴파일 격리
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Unity Play 시작 씬, scene-authored UI source-of-truth, authored-first binder, RobotControl/Onboarding 라우팅 착시를 함께 디버깅하는 운영 스킬
Use when adding, extending, or debugging Waypoint Teaching & Playback: saving robot poses as waypoints, sequencing them, playing/looping sequences, exporting/importing JSON, coroutine-based runner engine, or teaching UI integration.
MonoBehaviour에서 UI 생성 코드를 ViewBuilder 정적 클래스 + Refs struct로 분리
Robot Library / Sandbox robot showroom 디버깅과 튜닝 — showroomoutput, comparestrip, preview pod, Game view vs Scene view 스케일 차이, hero/page selection, runtime root 중복
Use when working on FAIRINO FR5 6-axis robot integration in this repo: collecting official FR5 docs, mapping Unity UI inputs to the FAIRINO C# SDK, planning real-robot control and safety, documenting FR5 hardware/DH/protocol details, or building adapters around MoveJ/MoveL/ServoJ/ServoCart and status feedback.
Main 탭형 학습 쉘의 로봇별 JSON 콘텐츠를 추가/수정/검증하는 스킬. `Assets/Runtime/Resources/LearningTabs/*.json` 문안 업데이트, 새 로봇용 탭 문서 추가, MainLearningTabsLoader fallback 조정, Main 탭 콘텐츠 schema 변경, JSON 파싱/폴백/Unity MCP 검증이 필요할 때 사용한다.
| name | asmdef-setup |
| description | Assembly Definition 설정 — assembly definition, asmdef, 모듈 경계, 컴파일 격리 |
Assembly Definition 파일 생성/수정 요청 시, 또는 모듈 경계 설정이 필요할 때.
docs/ref/architecture-diagrams.md — 9개 asmdef 구조 및 의존성CLAUDE.md — 모듈 경계 규칙ai-context/project-context.md — 모듈별 UnityEngine 허용 정책ai-context/coding-guideline.md — pure C# 경계 규칙../unity-official-docs/SKILL.md — 공식 문서 기반 결정 형식../unity-official-docs/references/index.md — asmdef/컴파일 공식 링크docs/ref/architecture-diagrams.md의 Assembly Definition 구조 확인:
KineTutor3D.Types → (없음)
KineTutor3D.Math → Types
KineTutor3D.Kinematics → Types, Math
KineTutor3D.Templates → Types, Math, Kinematics
KineTutor3D.UI → Types, Templates, UnityEngine.UI
KineTutor3D.Visualization→ Types, Math, UnityEngine
KineTutor3D.App → 전체
KineTutor3D.Tests.EditMode → Types, Math, Kinematics + nunit.framework, UnityEngine.TestRunner
KineTutor3D.Tests.PlayMode → 전체 + nunit.framework, UnityEngine.TestRunner
unity-official-docs 스킬 포맷으로 아래 4개를 먼저 작성:
각 모듈 폴더에 .asmdef JSON 파일 생성:
순수 C# 모듈 (Types, Math, Kinematics):
{
"name": "KineTutor3D.{Module}",
"rootNamespace": "KineTutor3D.{Module}",
"references": [],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": true
}
noEngineReferences: true — UnityEngine 참조 차단 (핵심!)Unity 모듈 (UI, Visualization, App, Templates):
{
"name": "KineTutor3D.{Module}",
"rootNamespace": "KineTutor3D.{Module}",
"references": ["KineTutor3D.Types", ...],
"noEngineReferences": false
}
테스트 모듈:
{
"name": "KineTutor3D.Tests.EditMode",
"rootNamespace": "KineTutor3D.Tests.EditMode",
"references": [
"KineTutor3D.Types",
"KineTutor3D.Math",
"KineTutor3D.Kinematics",
"UnityEngine.TestRunner",
"UnityEditor.TestRunner"
],
"optionalUnityReferences": ["TestAssemblies"],
"overrideReferences": true,
"precompiledReferences": ["nunit.framework.dll"],
"defineConstraints": ["UNITY_INCLUDE_TESTS"]
}
의존성 방향 확인 (모두 상위→하위 방향):
Unity Editor에서 컴파일 에러 0 확인.
noEngineReferences: true 모듈(Types, Math, Kinematics)에 UnityEngine 참조 추가 금지nunit.framework 참조 누락 금지autoReferenced: false를 일반 모듈에 설정 금지 (테스트 전용)noEngineReferences: truenunit.framework.dll + UNITY_INCLUDE_TESTSrootNamespace가 폴더 구조와 일치docs.unity3d.com)[asmdef-setup 완료]
- 공식 근거: {docs.unity3d.com 링크 목록}
- 생성된 .asmdef: {n}/9
- noEngineReferences 모듈: Types, Math, Kinematics
- 순환 참조: 없음
- Unity 컴파일: 에러 0
- 경로 목록:
- Assets/Scripts/Types/KineTutor3D.Types.asmdef
- Assets/Scripts/Math/KineTutor3D.Math.asmdef
- Assets/Scripts/Kinematics/KineTutor3D.Kinematics.asmdef
- Assets/Scripts/Templates/KineTutor3D.Templates.asmdef
- Assets/Scripts/UI/KineTutor3D.UI.asmdef
- Assets/Scripts/Visualization/KineTutor3D.Visualization.asmdef
- Assets/Scripts/App/KineTutor3D.App.asmdef
- Assets/Tests/EditMode/KineTutor3D.Tests.EditMode.asmdef
- Assets/Tests/PlayMode/KineTutor3D.Tests.PlayMode.asmdef