create-2d-physics
Installation
SKILL.md
Create and fix Unity 2D physics
Do not weigh 3D physics options. If evidence shows the user means 3D, say so and stop.
Prefer WebFetch over WebSearch — faster and lands on the exact reference. Only fetch what you need. Replace <VERSION> with the following before fetching:
- docs.unity.com: The Unity version, e.g.
6000.7. Pages are markdown — URLs end in.md. - Package on docs.unity3d.com: The package version, e.g.
@1.1. CheckPackages/manifest.jsonif unsure.
Important
- Use the unity cli (
unity command --format json) and theunity-cliandunity-pipelineskills for each step. - Don't use
usingdirectives or unqualified types in thesnippetforeval. The compiler reads usingUnityEngineand a bare AssetDatabase, Volume, or Object causes errors (CS0246 / CS0103 / CS0104).returnwhat you want to read; it arrives atdata.result.result. - Create a restore point you can roll back to if your changes fail.
- Do only what's asked. Don't change unrelated assets or files.
- Avoid long explanations.
- Never leave verification code in the user's script; never build logging or settle-detection they didn't ask for. See Final step.
- Never reflect over types to discover an API — fetch the member page instead. The system probe is the one exception.