Skip to content
Development
Skill

/primetween

Inspect PrimeTween Free and generate runtime tween scripts. 检查 PrimeTween Free 并生成运行时代码。

From plugin
unity-skills
1.6k74 skills5 commands
Install
$ npx -y skills add Besty0728/Unity-Skills --skill primetween --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/primetween

Context preview

The summary Claude sees to decide when to auto-load this skill.

Inspect PrimeTween Free and generate runtime tween scripts. 检查 PrimeTween Free 并生成运行时代码。

SKILL.md

primetween.SKILL.md
name: unity-primetween
description: Inspect PrimeTween Free and generate runtime tween scripts. 检查 PrimeTween Free 并生成运行时代码。

Triggers

  • Checking a PrimeTween installation
  • Exploring supported animation APIs
  • Generating Transform/Sequence animation code
  • 检查 PrimeTween 安装状态、探索动画 API、生成 Transform/Sequence 动画代码

PrimeTween Skills

PrimeTween Free support is intentionally tailored to its API rather than mirroring DOTween: it discovers static factories, reads process-wide configuration, and generates runtime scripts that own and stop their `Tween` or `Sequence` handles. It does not configure a DOTween-style settings asset or create PrimeTween Pro components.

Guardrails

  • PrimeTween must be installed as `com.kyrylokuzyk.primetween`.
  • Query skills run directly in all operating modes. Script generators create a C# asset and can trigger compilation, so they are high-risk and require Bypass or an Allowlist entry in Auto/Approval modes.
  • `primetween_get_config` is read-only. `PrimeTweenConfig` is runtime state, not a serialized project configuration asset.
  • Generated scripts support Transform `Position`, `LocalPosition`, `EulerAngles`, `LocalEulerAngles`, and `Scale`. Use `primetween_list_factories` before requesting an API outside that supported generator set.
  • PrimeTween handles are non-reusable. Generated scripts stop their owned live handle on disable instead of using a DOTween `SetLink` equivalent.

Free Skills

`primetween_get_status`

Report whether PrimeTween is installed, its package version, assembly, and visible core types.

**Parameters:** None.

`primetween_get_config`

Read the current global runtime values exposed by `PrimeTweenConfig`.

**Parameters:** None.

`primetween_list_factories`

List public static methods from one PrimeTween API type.

**Parameters:** `typeName="Tween"` (Tween, Sequence, Shake, or PrimeTweenConfig), `methodPrefix?`, `limit=100`.

`primetween_generate_tween_script`

Create a Transform-focused PrimeTween MonoBehaviour that owns its `Tween` and stops it on disable.

**Parameters:** `className`, `folder="Assets/Scripts/PrimeTween"`, `namespaceName?`, `tweenKind="LocalPosition"`, `duration=1`, `ease="OutQuad"`, `cycles=1`, `cycleMode="Restart"`, `autoPlay=true`.

`primetween_generate_sequence_script`

Create a PrimeTween MonoBehaviour that uses `Sequence.Chain` and `Sequence.Group` with supported Transform tween factories.

**Parameters:** `className`, `folder="Assets/Scripts/PrimeTween"`, `namespaceName?`, `tweenKind="Scale"`, `duration=0.2`, `ease="OutBack"`, `cycles=1`, `sequenceCycleMode="Restart"`, `autoPlay=true`, `stepsJson?`.

`stepsJson` is a JSON array of `{ "op": "Chain|Group", "tweenKind": "Scale", "duration": 0.2 }`.

Exact Signatures

Exact names, parameters, defaults, and return values are defined by `GET /skills/schema` or `unity_skills.get_skill_schema()`, not by this file.

Read more
Ships withunity-skills

REST API-based AI-driven Unity Editor Automation Engine Let AI control Unity scenes directly through Skills 🎉 We are now indexed by DeepWiki! Got questions? Check out the AI-generated docs → The current official maintenance baseline is Unity 2022.3+.

Get the whole plugin