Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

import-and-optimize-cad-models

БесплатноБез исполняемых скриптовНе проверен

Imports and optimizes CAD models and point clouds with Asset Transformer Toolkit (Pixyz). Make sure to use this skill when the user wants to import CAD or…

Unity-Technologiesот Unity-Technologies★ 1 342 звезды на GitHub

Об этом скилле

Important

  • Use the unity cli (unity command --format json) and the unity-cli and unity-pipeline skills for each step.
  • Before making changes, establish a baseline of the current behavior so you can tell whether a later result is actually caused by your change.
  • Create a restore point you can roll back to if your changes fail.
  • Do only what's asked. Don't change unrelated assets or files.
  • Never leave verification code in the user's scripts. Never build logging or detection they didn't ask for, because it clutters their project and console.
  • Avoid long explanations.

Full topic map

Before you go forward with a workflow or diagnosis:

  1. Open and read the documentation page(s) that cover the specific subject related to what you intend to do or fix and check if you've missed anything.
  2. Name the file(s) you read in your response.

This is because your training knowledge about Unity might be out of date, incorrect, or for the wrong Unity version.

The docs pages are local markdown copies of the Asset Transformer Toolkit package documentation, stored at <project-folder>/Library/PackageCache/com.unity.industry.toolkit@*/. Read only the .md files in that specific PackageCache subfolder. You must not look at non-.md files, or look outside at other Library or PackageCache folders, otherwise it takes too much time.

  • Documentation~/import-models.md: importing models with an Importer.
  • Documentation~/use-the-rule-engine.md: RuleSets, Rules, and Actions.
  • Documentation~/lod-generator.md: generating LODs.
  • Documentation~/prepare-optimize-model.md: preparing and optimizing imported models.

If a page you need isn't in that folder, because some package versions don't ship all their docs, read the same page online under https://docs.unity3d.com/Packages/com.unity.industry.toolkit@<VERSION>/manual/. Use the .html file names, for example manual/use-the-rule-engine.html, because this package's online docs have no .md variant and a .md URL returns 404. Prefer WebFetch over WebSearch — faster and lands on the exact reference. Only fetch what you need. Replace <VERSION> with the following before fetching:

  • Package on docs.unity3d.com: The package version, eg @6.6 or @2.0. Check the package version if unsure.
  • docs.unity.com: The product version, eg 7000.0

For this skill, use the com.unity.industry.toolkit version from Packages/packages-lock.json, eg 4.0.

Before you start: check the package version

This skill needs Asset Transformer Toolkit 4.0.0 or later (com.unity.industry.toolkit). Earlier versions don't have the ATTAssistantUtilities API every workflow below relies on.

  1. Read the resolved version of com.unity.industry.toolkit from Packages/packages-lock.json (fall back to Packages/manifest.json).
  2. Not installed: tell the user this workflow needs Asset Transformer Toolkit 4.0 or later, which is an entitled Unity package they may need access to through their Unity plan, and stop. Don't add it to the manifest yourself, because the install fails without that entitlement.
  3. Installed below 4.0.0: tell the user which version you found and that 4.0 or later is required, and ask before upgrading. Don't fall back to older APIs, raw C# against internal types, or reflection, because this skill's workflows only work through the 4.0 ATTAssistantUtilities API.
  4. 4.0.0 or later: continue.

API reference

The API is in the Unity.Pixyz.Plugin4Unity and UnityEditor.PixyzPlugin4Unity namespaces, part of the com.unity.industry.toolkit package. It is versioned by package version, not Unity version (e.g. @4.0), so check the project's installed package version before relying on a specific class or method.

The package's online docs have no scripting API reference for the RuleSet, Rule, RuleBlock, or ATTAssistantUtilities APIs, so the reference files below are the only documentation of the members this skill uses. Use them instead of searching online or relying on training knowledge, because APIs often change between major package versions.

  1. Use the unity-cli skill to check the installed package version.
  2. Fetch https://docs.unity3d.com/Packages/com.unity.industry.toolkit@<VERSION>/xrefmap.yml (replace <VERSION> with the installed package version, e.g. 4.0) and grep it for the class you need. If it has an entry, read the page its href points to, because that page matches the installed version.
  3. If it has no entry, use the reference file below that covers the class.
  4. If neither covers the member you need, tell the user rather than guessing a member name or using reflection, because a wrong name fails to compile and reflection is not available.

Technical Notes

  • Pixyz Plugin is the former name of Asset Transformer Toolkit. Call it Asset Transformer Toolkit when you address the user, unless the user calls it Pixyz.
  • Most classes and code are in the Unity.Pixyz.Plugin4Unity.Editor assem
Полный SKILL.md на GitHub

Установить import-and-optimize-cad-models в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SECURITY.mdreferences/create-importer.mdreferences/lods.mdreferences/rule-api.mdreferences/ruleblock-api.mdreferences/ruleset-api.mdreferences/rulesets-and-actions.md

FAQ

Что делает скилл import-and-optimize-cad-models?

Imports and optimizes CAD models and point clouds with Asset Transformer Toolkit (Pixyz). Make sure to use this skill when the user wants to import CAD or point cloud files, or build RuleSets, Actions, or LODs for them.

Как установить скилл import-and-optimize-cad-models?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл import-and-optimize-cad-models запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить import-and-optimize-cad-models с