用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Besty0728/Unity-Skills --skill unity-async命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | unity-async |
| description | Advise on Unity async and lifecycle strategy |
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.
Scope: this module is about async code you write into the Unity runtime —
Update, coroutines, UniTask, cancellation and lifecycle ownership. It is not about the REST protocol's own async jobs. ForjobId/ polling /job_status/GET /jobs/{id}, see batch.
Use this skill when the user is deciding how runtime work should be scheduled or cleaned up.
Mode: Documentation only — no REST skills to gate; load freely under any operating mode (Approval / Auto / Bypass).
UniTask just because it looks more advanced than coroutine.UniTask only when:
Update only for true continuous simulation, polling, or input loops that cannot be event-driven.Update methods if a more event-driven flow works.MonoBehaviour, prefer OnEnable / OnDisable / OnDestroy for subscribe-unsubscribe symmetry.IDisposable mainly for pure C# lifetimes, temporary subscriptions, or scope-based cleanup helpers, not as a cargo-cult replacement for Unity lifecycle methods.