/yogurt:yogurt-setupfrom yogurt
Configures a Unity 6 project for the Yogurt ECS framework, setting C# 11 language version, resolving packages (UniTask, CsprojModifier), creating boot scripts, and verifying compilation.
Ships in yogurt. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Write all files yourself. Use the Unity CLI (unity-cli skill) for Editor work. Do not ask the user to click.
Packages/manifest.json, add to dependencies:
"com.cysharp.unitask": "https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask",
"yogurt": "https://github.com/Hoodrij/Yogurt.git",
"games.corundum.isexternalinit": "https://github.com/CorundumGames/IsExternalInit.git",
"com.cysharp.csprojmodifier": "https://github.com/Cysharp/CsprojModifier.git?path=src/CsprojModifier/Assets/CsprojModifier"
Assets/csc.rsp:
-langVersion:11
LangVersion.props and Directory.Build.props in the project root, same content:
<Project>
<PropertyGroup>
<LangVersion>11</LangVersion>
<Nullable>disable</Nullable>
</PropertyGroup>
</Project>
ProjectSettings/CsprojModifierSettings.json (Position 0 is Append, * is every project):
{"AdditionalImports":[{"Path":"LangVersion.props","Position":0}],"AdditionalImportsAdditionalProjects":["*"],"EnableAddAnalyzerReferences":false,"AddAnalyzerReferencesAdditionalProjects":[]}
Assets/Scripts/GlobalUsings.cs (the aliases resolve name conflicts with Yogurt.Debug and System):
global using System;
global using System.Collections.Generic;
global using System.Linq;
global using Cysharp.Threading.Tasks;
global using UnityEngine;
global using Yogurt;
global using Yogurt.Unity;
global using Debug = UnityEngine.Debug;
global using Object = UnityEngine.Object;
global using Random = UnityEngine.Random;
Assets/Scripts/Boot.cs (no fields):
public class Boot : MonoBehaviour
{
private void Awake()
{
new RunGameJob().Run();
}
}
Assets/Scripts/Entities/Game/RunGameJob.cs: a first job that creates the game entity. See references/meta-flow.md in yogurt-jobs.
Folders: Assets/Resources/Configs, Assets/Resources/Prefabs, Assets/Scripts/Entities.
UnityEditor.PackageManager.Client.Resolve().Assets/Game.unity with one GameObject Boot that has Boot. Add the scene to the build.Unity.CodeEditor.CodeEditor.CurrentEditor.SyncAll().Add Assets/Scripts/SetupCheck.cs:
namespace SetupCheck;
public record struct SetupCheckAspect(Entity Entity) : IAspect;
public readonly record struct SetupCheckValue(int Value);
Compile with no errors.
Each *.csproj ends with <Import Project="LangVersion.props" />.
Enter play mode. The console has no errors.
Delete SetupCheck.cs and its .meta.
ref fields, static abstract interface members, required members.YOGURT_DEBUG to the scripting defines for error logs on wrong use.CSHARP_9. Then Life is a class, and aspects are plain structs with public Entity Entity { get; set; }.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hoodrij/yogurt --plugin yogurt6 skills in this plugin
/yogurtCore API, pillars and pitfalls of Yogurt, an entity-component framework for Unity. Use for any code with `using Yogurt`, `IComponent`, `IAspect`, `Query.Of`, `Entity.Create`, `Life` or `*Job` structs, and with the other yogurt-* skills./yogurt-entityDesigns Yogurt entities: aspects, components, tags, extensions, configs, owners and names. Use when adding a game object or writing or changing any IAspect or IComponent type./yogurt-jobsWrites Yogurt jobs with process thinking: one struct per complete process that owns what it starts. Use when writing or changing any `*Job`, adding a game rule, splitting logic, or building the game flow./yogurt-lifeYogurt Life as the lifetime of a process: create, end, await, combine, parent, bind waits, scope, race, store process state. Use whenever code starts, stops, races or waits for a process, or touches Life, CancellationToken, `.Forget()` or `using` in Yogurt code./yogurt-unityYogurt.Unity glue: passive views, buttons awaited by jobs, Link/Despawn, Asset and PooledAsset, configs in Resources, boot, Wait, Run, folder layout. Use when writing any MonoBehaviour view, UI, input, prefab reference, ScriptableObject config or boot code in a Yogurt game.Other plugins' skills for the same job