unity-unitask-design
Skill by Besty0728
Provides source-anchored design rules for writing and reviewing async UniTask code in Unity. It covers PlayerLoopTiming, cancellation, WhenAll and WhenAny composition, and WebGL limits. It targets UniTask 2.5.10.
Install unity-unitask-design
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/unitask-design ~/.claude/skills/unity-unitask-designRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Besty0728/Unity-Skills /tmp/Unity-Skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Unity-Skills/SkillsForUnity/unity-skills~/skills/unitask-design ~/.gemini/antigravity-cli/skills/unity-unitask-designAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install unity-unitask-design in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
UniTask Design Rules is an advisory skill that gives an assistant ten critical rules for UniTask 2.5.10, a Unity async library by Cysharp. Each rule cites a file and line in the UniTask source so the reasoning can be checked. The rules cover UniTask struct semantics, orphaned tasks, PlayerLoopTiming, delay types, cancellation on destroy, WhenAll and WhenAny, completion sources, and WebGL restrictions.
The skill routes to eight sub-documents on basics, player loop timing, cancellation, composition, conversion, async enumerables, triggers and pitfalls. It also points to other skills for DOTween, YooAsset, Addressables, performance and asmdef layout. It is aimed at Unity developers who write or review async UniTask code. The source describes it as documentation only.
Written from the project's SKILL.md and checked against it.
What it can do
- Async method rulesExplains UniTask struct semantics, single awaiting, Preserve, Forget and async UniTaskVoid.
- PlayerLoopTiming guidanceCovers timing slots and frame ordering when mixing with legacy coroutines.
- Delay typesExplains DelayType overloads for DeltaTime, UnscaledDeltaTime and Realtime.
- Cancellation on destroyDescribes GetCancellationTokenOnDestroy for MonoBehaviour, GameObject and Component.
- Task compositionGives rules for WhenAll, WhenAny and WhenEach usage.
- Completion sourcesExplains TrySetResult, TrySetException and TrySetCanceled return behavior.
- WebGL guidanceNotes that SwitchToThreadPool and UniTask.Run throw at runtime on WebGL.
- Conversion and triggersCovers AsyncOperation.ToUniTask and AsyncTrigger extensions in sub-documents.
- Async enumerablesLists IUniTaskAsyncEnumerable, AsyncReactiveProperty and Channel in a sub-document.
- Pitfalls catalogueLists 30 hallucination and runtime pitfalls for UniTask code.
What you need
- UniTask 2.5.10 package (com.cysharp.unitask)
- Unity 2018.4 or later (stated baseline)
Try asking
- Review this async UniTask method for missing Forget or cancellation handling
- Choose a PlayerLoopTiming for this UniTask.Yield call
- Check my WhenAll usage with UniTask against the 2.5.10 rules
Good to know
- Documentation only with no REST skills to gate
- Rules target UniTask 2.5.10; earlier 2.x versions may differ
- WhenEach is not shipped in all 2.x builds
- WebGL forbids SwitchToThreadPool and UniTask.Run at runtime
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SkillsForUnity/unity-skills~/skills/unitask-design/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
ASYNCENUMERABLE.md11 KB -
BASICS.md7 KB -
CANCELLATION.md9 KB -
COMPOSITION.md7 KB -
CONVERSION.md9 KB
Show all 9 files
-
PITFALLS.md12 KB -
PLAYERLOOP.md7 KB -
SKILL.md8 KB -
TRIGGERS.md6 KB
Alternatives to unity-unitask-design
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
unity-unitask-design: common questions
Does this skill call any external service?
The source says it is documentation only and has no REST skills to gate. It works as a reference for UniTask rules.
Which UniTask version do these rules target?
They target UniTask 2.5.10. The source says earlier 2.x versions are mostly source-compatible, with some differences.
Does it cover Unity 6?
The source says UniTask 2.5.10 is actively used with Unity 2022.3 and Unity 6, with a Unity 2018.4 baseline.
How do I install unity-unitask-design?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is unity-unitask-design free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is unity-unitask-design safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to unity-unitask-design?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
