Логотип Uloop Compile Check

Uloop Compile Check

Сообщество
hatayama
uloop-compile-check

Compile C# with the Unity-bundled Roslyn compiler without launching or contacting the Unity Editor; reports errors and warnings only.

Add to TypingMind

Обзор

Издательhatayama
Репозиторийunity-cli-loop
Название навыкаuloop-compile-check
Звёзды
578
Форки
49
Файлы в комплекте
Только инструкции
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — hatayama. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Uloop Compile Check в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/hatayama/unity-cli-loop/tree/main/Packages/src/Editor/CliOnlyTools~/CompileCheck/Skill
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».

Использование в TypingMind

Включите навык Uloop Compile Check в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Uloop Compile Check, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Uloop Compile Check не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

uloop compile-check

Compile the project's C# offline and report the diagnostics, without starting Unity or sending anything to a running Editor.

The command replays the response files Unity wrote during its last build, using the C# compiler bundled with the Unity Editor install. Nothing it produces is loaded by Unity: the assemblies land in Library/uloop/compile-check/ and are never handed to the Editor.

When to use

  • The Editor is not running and you only want to know whether the code compiles.
  • You want compiler errors quickly, without waiting for an import and a domain reload.
  • You are iterating on code whose result does not need to be live in the Editor yet.

When not to use

  • You want the change reflected in the Editor (play mode, tests, a tool call): run uloop compile.

  • You just added or removed an .asmdef, added a reference to one, or changed scripting defines: run uloop compile once first. The response files describe the previous build only, so compile-check refuses the run with COMPILE_CHECK_UNITY_BUILD_REQUIRED instead of reporting diagnostics for a configuration the project no longer has.

  • The project has no Library yet (a fresh clone, or an Editor that has never opened it): there is no build to replay, so the run is refused with the same code. Let Unity build once; a headless run is enough and needs no window:

    bash
    <Unity executable> -batchmode -nographics -quit -projectPath /path/to/project

    uloop launch does the same with the Editor window open. After that one build, compile-check works without the Editor; it asks for another build when it detects an .asmdef change. A scripting define change it cannot detect, so run uloop compile yourself after one.

Usage

bash
uloop compile-check
uloop compile-check --all --project-path /path/to/project

By default it compiles the assemblies whose sources changed since the last Unity build, plus every assembly that references one of them. --all compiles every assembly in the build. Assemblies that do not depend on each other compile at the same time; --jobs caps how many run at once, and --jobs 1 compiles them one after another.

An assembly whose inputs are all exactly as the previous compile-check read them is not compiled again: the run reports the diagnostics recorded then, errors included. --all compiles everything from scratch, which is the way out if a reused result ever looks wrong.

Parameters

ParameterTypeDescription
--allflagCompile every assembly instead of only the changed ones and their dependents
--editor-version <version>stringUse this Unity Editor version's compiler instead of ProjectVersion.txt
--jobs <N>numberCompile up to N assemblies at once (default: half the CPUs, at least 1; 1 compiles sequentially)
--max-depth <N>numberSearch depth when locating the project (default: 3, -1 for unlimited)
--project-path <path>stringTarget another Unity project instead of the current directory

Output

A JSON payload:

  • Success: whether the compile produced no errors
  • ErrorCount, WarningCount: totals across every compiled and reused assembly
  • Errors, Warnings: each with Message, Code, File, Line, Column, Assembly
  • CompiledAssemblies: the assemblies this run compiled, in dependency order
  • ReusedAssemblies: the assemblies reported from the previous run's recorded result, without compiling
  • BlockedAssemblies: the assemblies not compiled because an assembly they reference has errors, as Unity's own build would stop there; fix those errors and run again
  • SkippedAssemblies: how many assemblies were left out: nothing they compile from changed, or every assembly they reference kept the same public surface
  • ResponseFileSet: the Bee build the run replayed
  • ProjectRoot: resolved project root
  • Message: one-line summary

The process exits 1 when ErrorCount is greater than zero.

Only one compile-check runs per project at a time. A second one waits for the first, up to five minutes, then fails with COMPILE_CHECK_PROJECT_BUSY: wait for the other run to finish and run compile-check once more rather than retrying in a loop.

Limitations

  • It replays the last Unity build's response files. A new or deleted .asmdef, a changed .asmdef reference, an .asmdef that stopped building for the Editor, or a newly required precompiled reference stops the run and asks for uloop compile.
  • Changes to defineConstraints and versionDefines are not detected, because they depend on scripting defines and package versions that cannot be evaluated outside the Editor. Run uloop compile after editing them.
  • A reference removed from an .asmdef is not detected either: Unity injects references of its own that no .asmdef declares, so only added references can be told apart from those. Diagnostics may therefore miss an error that the removal would cause. Run uloop compile after removing one.
  • Changed scripting defines are not detected; the defines from the last build are reused.
  • The predefined assemblies (Assembly-CSharp and friends) keep the source list of the last build, so a brand-new .cs file outside an .asmdef is not compiled until Unity imports it.
  • The produced DLLs are never loaded by Unity, and the command never contacts a running Editor.

Часто задаваемые вопросы

Что делает навык ИИ Uloop Compile Check?

Compile C# with the Unity-bundled Roslyn compiler without launching or contacting the Unity Editor; reports errors and warnings only.

Зачем использовать Uloop Compile Check в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Uloop Compile Check — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Uloop Compile Check в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/hatayama/unity-cli-loop/tree/main/Packages/src/Editor/CliOnlyTools~/CompileCheck/Skill. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Uloop Compile Check?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Uloop Compile Check?

С любым количеством. В TypingMind вы можете использовать Uloop Compile Check с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Uloop Compile Check?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — hatayama. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇