소스 정보
- 저장소
- Besty0728/Unity-Skills
- 최근 소스 활동
- 2026년 8월 23일 07:38
- 감지된 SKILL.md 언어
- 다국어 혼합
- 스타
- 1,712
- 포크
- 162
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-perception명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | unity-perception |
| description | Read-only scene, project and script analysis for AI context |
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.
Use this module for read-only scene and project analysis.
Mode = SkillMode.SemiAuto,三档模式下直接执行无需 grant。其中 16 个是纯读(ReadOnly = true):scene_analyze / scene_summarize / scene_health_check / scene_component_stats / scene_find_hotspots / scene_tag_layer_stats / scene_performance_hints / scene_diff / hierarchy_describe / scene_context / scene_spatial_query / scene_materials / scene_contract_validate / project_stack_detect / script_analyze / script_dependency_graph。scene_dependency_analyze 是第 17 个 SemiAuto,但它不是纯读:传 savePath 会 Directory.CreateDirectory + File.WriteAllText + ImportAsset 落一个新工程资产,所以它标 MutatesAssets = true 而不再标 ReadOnly。仍然无需 grant,但它会进 router 的 diff 捕获,schema/flags 里也会带 mutatesAssets —— 不传 savePath 时才真的什么都不写。scene_export_report 写 markdown 文件到磁盘(Operation = Analyze | Execute,标 MutatesAssets = true),因此不是 SemiAuto——它走默认 SkillMode.FullAuto,Approval 模式下需要 grant 才能执行。IsForbiddenInSemi 拦截。DO NOT (common hallucinations):
perception_analyze, perception_scan, and perception_describe do not existscene_context is not editor_get_context: it exports hierarchy/components/references, while editor context focuses on current editor statescene_analyze, scene_health_check, scene_contract_validate, scene_component_stats, scene_find_hotspots, and project_stack_detect belong to this module even if the prefix looks like scene_* or project_*Routing:
editor_get_contextscene_find_objects or gameobject_findscript_dependency_graph| Skill | Use | Key parameters |
|---|---|---|
scene_analyze | Combined scene + project analysis | topComponentsLimit?, issueLimit?, deepHierarchyThreshold?, largeChildCountThreshold? |
scene_health_check | Read-only health report | issueLimit?, deepHierarchyThreshold?, largeChildCountThreshold? |
scene_summarize | Structured scene summary | includeComponentStats?, topComponentsLimit? |
scene_component_stats | Component and facility stats | topComponentsLimit? |
scene_find_hotspots | Deep hierarchy / large group / empty node hotspots | thresholds + maxResults? |
scene_tag_layer_stats | Tag/layer usage | none |
scene_performance_hints | Prioritized optimization hints | none |
| Skill | Use | Key parameters |
|---|---|---|
scene_diff | Capture or compare lightweight snapshots | snapshotJson? |
hierarchy_describe | Return text hierarchy tree | maxDepth?, includeInactive?, maxItemsPerLevel? |
scene_context | Export hierarchy, components, references | maxDepth?, maxObjects?, rootPath?, includeValues?, includeReferences?, includeCodeDeps? |
scene_export_report | Save markdown scene report | savePath?, maxDepth?, maxObjects? |
scene_dependency_analyze | Analyze impact / dependency graph in-scene | targetPath?, savePath? — writes |
savePathonscene_dependency_analyzeis a write, not an output option. Supplying it creates the directory, writes the markdown report and imports it as a project asset, which is why the skill is flaggedmutatesAssetsrather thanReadOnly. OmitsavePathand you get the same analysis in the response (analysis,markdown) with nothing touched on disk — that is the form to use for a pure "what depends on this" question. Only passsavePathwhen the user actually asked for a file, and expectsavedToin the response naming it.
| Skill | Use | Key parameters |
|---|---|---|
project_stack_detect | Detect pipeline, input, UI, packages, tests, folders | none |
script_analyze | Analyze one MonoBehaviour / ScriptableObject / user class by class name | scriptName, includePrivate? |
script_dependency_graph | N-hop dependency closure for one script class name | scriptName, maxHops?, includeDetails? |
| Skill | Use | Key parameters |
|---|---|---|
scene_spatial_query | Find objects near a point or object | x/y/z?, radius?, nearObject?, componentFilter?, maxResults? |
scene_materials | Summarize scene materials and shaders | includeProperties? |
scene_contract_validate | Validate default roots/tags/layers/UI EventSystem conventions | requiredRootsJson?, requiredTagsJson?, requiredLayersJson?, requireEventSystemForUi? |
scene_summarize vs scene_analyze vs scene_health_check| Skill | Best for | Typical output focus |
|---|---|---|
scene_summarize | Fast overview | object counts, hierarchy depth, top components |
scene_analyze | Broad diagnosis | summary + findings + warnings + recommendations + next-skill hints |
scene_health_check | Hygiene / red flags | missing scripts, duplicate names, deep hierarchy, empty nodes, hotspot-style findings |
scene_context vs hierarchy_describe| Skill | Best for | Output style |
|---|---|---|
hierarchy_describe | Human-readable tree | text tree, lightweight |
scene_context | AI coding context | structured hierarchy + components + references + optional code dependencies |
scene_dependency_analyze vs script_dependency_graph| Skill | Scope | Use when |
|---|---|---|
scene_dependency_analyze | Scene object references | ask "who depends on this object if I delete or disable it" |
script_dependency_graph | Script class dependency closure | ask "which scripts do I have to touch to change this feature" |
scene_summarizeReturns sceneName, stats, and optional topComponents.
scene_analyzeReturns summary, stats, findings, warnings, recommendations, and suggestedNextSkills.
scene_health_checkReturns summary, findings, hotspots, and suggestedNextSkills.
scene_contextReturns a structured export with objects, references, and optional codeDependencies. Use it when another AI step needs full scene context, not just a human summary.
High-frequency options:
rootPath to export only one subtreeincludeValues=true when serialized field values matterincludeCodeDeps=true when AI needs a rough scene-to-code dependency picturescene_export_reportWrites a markdown artifact to disk and returns savedTo, object/script/reference counts, and success state. Prefer this when the user wants a durable report file.
Defaults:
savePath = "Assets/Docs/SceneReport.md"maxDepth = 10maxObjects = 500| Need | Best first skill |
|---|---|
| Quick scene overview | scene_summarize |
| Full diagnosis | scene_analyze |
| Suspicious hierarchy or clutter | scene_find_hotspots |
| Safe-to-delete / impact question | scene_dependency_analyze |
| AI coding context export | scene_context |
| Script reading order | script_dependency_graph |
| Render/input/UI stack detection | project_stack_detect |
import unity_skills
summary = unity_skills.call_skill("scene_summarize", includeComponentStats=True)
health = unity_skills.call_skill("scene_health_check", issueLimit=50)
context = unity_skills.call_skill("scene_context", maxDepth=6, maxObjects=120)
report = unity_skills.call_skill("scene_export_report", savePath="Assets/Docs/SceneReport.md")
Exact names, parameters, defaults, and returns are defined by GET /skills/schema or unity_skills.get_skill_schema(), not by this file.