unity-implement
Installation
SKILL.md
Implement the work described by the user in the spec or tickets.
1. Boundary
- The user names a task file,
docs/<feature-slug>/tasks/<NN>-<slug>.md. If not, stop and ask the user. - Confirm the
/unity-cliskill is available. If not, stop and ask the user. - Confirm the connected Editor's
com.unity.pipelineversion matches the project. Rununity pipeline listand compare itspipelineVersionfor this project against thecom.unity.pipelineversion in bothPackages/manifest.jsonandPackages/packages-lock.json. If they don't all match, stop and ask the user. - Confirm the
/ui-uguiand/ui-imguiskills are available when the task involves UI. If not, stop and ask the user. - Confirm the repository contains
Assets/andProjectSettings/ProjectVersion.txt. If not, stop and ask the user. - Confirm there is an opened editor by running
unity status. If there is no opened editor, useunity open --args "-automated"to open one. - If the task needs an external package not already referenced by the project (e.g. TextMeshPro/
Unity.TextMeshPro, or any package requiring an.asmdefreference addition, aPackages/manifest.jsonchange, or an editor-resource import like TMP Essentials), stop and ask the user. - Always use
/unity-clito recompile after editing C# script and test files (.cs). - Always use
/unity-clito edit any non-code file (e.g..unityscenes,.prefab,.assetScriptableObjects,.metafiles,ProjectSettings/*) or any.asmdeffile. DO NOT edit YAML file directly.
2. Implement one task
- Always use
/unity-tddif possible, at pre-agreed seams. - Run typechecking regularly, single test files regularly, and the full test suite once at the end by using
/unity-cli. - Never trigger a Player build yourself.