Unity Primetween Design
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install unity-rest-skills-unity-primetween-designWhat this does: Source-anchored design rules for PrimeTween 1.4.6
Manual setup by platform
Claude Code
~/.claude/skills/unity-rest-skills-unity-primetween-design/SKILL.md
Instructions
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.
Triggers
- Writing or reviewing PrimeTween code
- Diagnosing tween lifecycle behavior
- 编写或审查 PrimeTween 代码、诊断补间生命周期行为
PrimeTween - Design Rules
Advisory module. Rules are grounded in the PrimeTween 1.4.6 package installed through com.kyrylokuzyk.primetween.
Mode: Documentation only — no REST skills to gate; load freely under any operating mode.
When to Load This Module
Load before writing or reviewing:
Tween.Position,LocalPosition,EulerAngles,LocalEulerAngles,Scale,Alpha,Color,Custom, delay, or shake calls.Sequence.Create,Chain,Group,Insert, callbacks, or sequence cycles.Tween.Stop,Complete,StopAll,CompleteAll,PausedAll, progress, time scale, or manual update control.OnComplete,OnUpdate, zero-allocation callback overloads, or target-destruction handling.await tween,ToYieldInstruction, serializedTweenSettings,PrimeTweenConfig, or capacity tuning.
Critical Rule Summary
| # | Rule | Source anchor |
|---|---|---|
| 1 | PrimeTween uses static Tween factories. Its Tween handle is a struct, and a completed or stopped handle is dead and non-reusable; create a new tween to replay or reverse an animation. | Runtime/Tween.cs:53,256-264; readme.md “Controlling tweens” |
| 2 | Use Sequence.Chain for sequential work, Group for parallel work against the previous item, and Insert for absolute-time overlap. This naming differs from DOTween’s Append/Join vocabulary. | Runtime/Sequence.cs:154,193,202 |
| 3 | A Sequence has its own cycles, cycle mode, easing, update type, and unscaled-time settings at creation. Configure those on Sequence.Create, not through DOTween-style fluent setters. | Runtime/Sequence.cs:108 |
| 4 | Callbacks can bind a target explicitly with OnComplete<T> or sequence callback overloads. That avoids a capturing closure and lets PrimeTween suppress the callback if its target is destroyed. | Runtime/Tween.cs:365-382; Runtime/Sequence.cs:228-281 |
| 5 | PrimeTween detects destroyed Unity targets and exposes targeted warnings through PrimeTweenConfig. Do not assume a DOTween SetLink API exists; own a handle and stop it when your component is disabled when that is the intended lifecycle. | Runtime/Internal/PrimeTweenManager.cs:870-880; Runtime/PrimeTweenConfig.cs:56-87 |
| 6 | await tween and ToYieldInstruction() are supported, but both async state machines and coroutines allocate. For allocation-sensitive animation flows, prefer Sequence. | Runtime/Internal/AsyncAwaitSupport.cs; Runtime/Internal/CoroutinesSupport.cs; readme.md “Async/await” |
| 7 | TweenSettings and TweenSettings<T> are serializable configuration carriers for Inspector-authored tween values; use them instead of inventing a separate animation settings component. | Runtime/TweenSettings.cs:25-54; readme.md “Inspector integration” |
| 8 | PrimeTweenConfig is static runtime configuration. It has capacity, default ease/update type, warning controls, and manual-update APIs, but it is not a Resources settings asset. | Runtime/PrimeTweenConfig.cs:25-101 |
Routing to Other Modules
- Async control flow or cancellation policy → load async and unitask-design.
- Inspector-authored
TweenSettingsfields → load inspector. - Tween-heavy performance analysis → load performance.
- Addressables-loaded targets or scene lifetime → load addressables-design.
Version Scope
This module targets PrimeTween 1.4.6. Its UPM package supports Unity 2018.4+, but Unity Skills itself maintains a Unity 2022.3+ baseline. Check the installed package version before relying on a newer factory overload or PrimeTween Pro feature.
Security
Reviews (0)
Related skills
Browse all →More from Unity REST Skills
View source →More Build skills
Browse category →Frequently asked questions about unity-primetween-design
What does the unity-primetween-design skill do?
Source-anchored design rules for PrimeTween 1.4.6 It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the unity-primetween-design skill?
Run `npx @skills-hub-ai/cli install unity-rest-skills-unity-primetween-design` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/unity-rest-skills-unity-primetween-design/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does unity-primetween-design work with?
unity-primetween-design runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the unity-primetween-design skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use unity-primetween-design after installing it?
In Claude Code, type `/unity-rest-skills-unity-primetween-design` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the unity-primetween-design skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.