[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79MBKCPYATRPNR9FMEET0HK":3,"skill-same:01M79MBKCPYATRPNR9FMEET0HK":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M79MBKCPYATRPNR9FMEET0HK","godot-animation",null,"Animate in Godot 4.x three ways: AnimationPlayer for keyframed clips (incl. call and signal tracks), AnimationTree with state machines and blend spaces for character animation, and Tween for short procedural\u002FUI tweens via create_tween(). Use when working with AnimationPlayer\u002FAnimationTree nodes in a .tscn, blending character states, sprite-sheet animation, or code-driven Tweens.","mistervaibhav\u002Fskills","mistervaibhav","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F41189028?v=4","01M79KACH05EG9FMM6DQVHAVK9","Vaibhav Singh","01M79KACJB3431Y8CFJQ02MTTM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fgodot-animation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: godot-animation\ndescription: >\n  Animate in Godot 4.x three ways: AnimationPlayer for keyframed clips (incl. call\n  and signal tracks), AnimationTree with state machines and blend spaces for\n  character animation, and Tween for short procedural\u002FUI tweens via create_tween().\n  Use when working with AnimationPlayer\u002FAnimationTree nodes in a .tscn, blending\n  character states, sprite-sheet animation, or code-driven Tweens.\nlicense: Apache-2.0\ncompatibility: Godot 4.3+\nmetadata:\n  engine: godot\n  category: godot\n  difficulty: intermediate\n---\n\n# Godot Animation (4.x)\n\nChoose and drive the right animation tool: `AnimationPlayer` (clips), `AnimationTree`\n(blending\u002Fstate machines), or `Tween` (short procedural moves). Targets **Godot 4.3+**.\n\n## When to use\n\n- Use when playing keyframed animations, blending walk\u002Frun\u002Fidle states, animating a\n  sprite sheet, or tweening UI\u002Fobjects in code.\n\n**When *not* to use:** the movement *logic* that decides which state to play →\n`godot-2d-movement`; UI layout (vs. UI tweening) → `godot-ui-control`; shader-driven\neffects → `godot-shaders`.\n\n## Core workflow\n\n1. **Pick the tool:**\n   - `AnimationPlayer` — author keyframed clips (transforms, properties, method calls,\n     audio, even other animations). The source of truth for clip data.\n   - `AnimationTree` — blend and transition between those clips at runtime with a state\n     machine and\u002For blend spaces. Needs an `AnimationPlayer` to pull clips from.\n   - `Tween` — fire-and-forget procedural interpolation in code (`create_tween()`); ideal\n     for UI pops, fades, and one-off moves.\n2. **For 2D sprite sheets:** use `AnimatedSprite2D` + `SpriteFrames`, or keyframe the\n   `frame` property in an `AnimationPlayer`.\n3. **For characters:** build clips in `AnimationPlayer`, then add an `AnimationTree`\n   (`active = true`), set its `anim_player`, and design an `AnimationNodeStateMachine` or\n   `AnimationNodeBlendSpace2D` as the tree root.\n4. **Drive transitions from code** via the playback object (`travel`) or by setting blend\n   parameters.\n5. **React to clip events** with the `animation_finished` signal and call\u002Fmethod tracks.\n\n## Patterns\n\n### 1. AnimationPlayer: play a clip and await it\n\n```gdscript\n@onready var anim: AnimationPlayer = $AnimationPlayer\n\nfunc attack() -> void:\n    anim.play(\"attack\")\n    await anim.animation_finished     # resume after the clip ends\n    anim.play(\"idle\")\n```\n\n### 2. AnimationTree state machine: travel between states\n\n```gdscript\n@onready var tree: AnimationTree = $AnimationTree\n\nfunc _ready() -> void:\n    tree.active = true                # the tree drives animation; AnimationPlayer is the source\n\nfunc set_state(state: StringName) -> void:\n    # The playback object controls an AnimationNodeStateMachine root.\n    var sm: AnimationNodeStateMachinePlayback = tree.get(\"parameters\u002Fplayback\")\n    sm.travel(state)                  # transitions using the graph's connections\n\nfunc _physics_process(_d: float) -> void:\n    set_state(&\"run\" if velocity.length() > 5.0 else &\"idle\")\n```\n\n### 3. Blend space: blend run direction by a 2D parameter\n\n```gdscript\n# Root is an AnimationNodeBlendSpace2D named \"Move\" with idle\u002Frun points placed in it.\nfunc update_locomotion(input_dir: Vector2) -> void:\n    # Parameter path = \"parameters\u002F\u003Cnode name>\u002Fblend_position\".\n    tree.set(\"parameters\u002FMove\u002Fblend_position\", input_dir)\n```\n\n### 4. Tween: fade and scale a UI element (code-driven)\n\n```gdscript\nfunc pop_in(node: Control) -> void:\n    node.scale = Vector2.ZERO\n    node.modulate.a = 0.0\n    var tw := create_tween()                          # bound to this node's tree\n    tw.set_parallel(true)                             # run the two tweens together\n    tw.tween_property(node, \"scale\", Vector2.ONE, 0.2) \\\n      .set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_OUT)\n    tw.tween_property(node, \"modulate:a\", 1.0, 0.2)   # sub-property via \":\"\n```\n\n## Pitfalls\n\n- **`AnimationTree.active` left false** → nothing animates and `travel()` appears to do\n  nothing. Set `active = true` and assign the `anim_player` path.\n- **Wrong parameter path.** Blend\u002Fcondition paths are `\"parameters\u002F\u003CNodeName>\u002F...\"` and\n  must match the node names in the tree exactly (e.g. `\"parameters\u002Fplayback\"`,\n  `\"parameters\u002FMove\u002Fblend_position\"`). A typo silently no-ops.\n- **AnimationPlayer and AnimationTree fighting.** When an `AnimationTree` is active, don't\n  also call `AnimationPlayer.play()` for the same tracks — let the tree own playback.\n- **3.x Tween node is gone.** There is no `Tween` node to add in 4.x; create tweens in\n  code with `create_tween()` (which returns a `Tween`). They auto-start and free themselves.\n- **Reusing a finished tween.** A tween is one-shot; call `create_tween()` again for a new\n  animation. Use `set_loops()` for repetition.\n- **`yield`\u002F`yield(anim, \"...\")` is gone.** Use `await anim.animation_finished`.\n- **Sub-property tweens** use a colon: `\"modulate:a\"`, `\"position:x\"`. Tweening the whole\n  property instead overwrites siblings.\n\n## References\n\n- For state machine transitions\u002Fconditions, root motion, one-shot\u002Fblend nodes, method &\n  call tracks, `SpriteFrames`\u002F`AnimatedSprite2D`, and Tween easing\u002Fchaining\u002Fcallbacks,\n  read `references\u002Fanimation-tree-and-tween.md`.\n\n## Related skills\n\n- `godot-2d-movement` — supplies the velocity\u002Fstate that selects animations.\n- `godot-ui-control` — UI that Tweens animate.\n- `godot-3d-essentials` — 3D character scenes driven by AnimationTree.\n- `game-ai` — state machines that mirror animation states.\n","# Godot Animation (4.x)\n\nChoose and drive the right animation tool: `AnimationPlayer` (clips), `AnimationTree`\n(blending\u002Fstate machines), or `Tween` (short procedural moves). Targets **Godot 4.3+**.\n\n## When to use\n\n- Use when playing keyframed animations, blending walk\u002Frun\u002Fidle states, animating a\n  sprite sheet, or tweening UI\u002Fobjects in code.\n\n**When *not* to use:** the movement *logic* that decides which state to play →\n`godot-2d-movement`; UI layout (vs. UI tweening) → `godot-ui-control`; shader-driven\neffects → `godot-shaders`.\n\n## Core workflow\n\n1. **Pick the tool:**\n   - `AnimationPlayer` — author keyframed clips (transforms, properties, method calls,\n     audio, even other animations). The source of truth for clip data.\n   - `AnimationTree` — blend and transition between those clips at runtime with a state\n     machine and\u002For blend spaces. Needs an `AnimationPlayer` to pull clips from.\n   - `Tween` — fire-and-forget procedural interpolation in code (`create_tween()`); ideal\n     for UI pops, fades, and one-off moves.\n2. **For 2D sprite sheets:** use `AnimatedSprite2D` + `SpriteFrames`, or keyframe the\n   `frame` property in an `AnimationPlayer`.\n3. **For characters:** build clips in `AnimationPlayer`, then add an `AnimationTree`\n   (`active = true`), set its `anim_player`, and design an `AnimationNodeStateMachine` or\n   `AnimationNodeBlendSpace2D` as the tree root.\n4. **Drive transitions from code** via the playback object (`travel`) or by setting blend\n   parameters.\n5. **React to clip events** with the `animation_finished` signal and call\u002Fmethod tracks.\n\n## Patterns\n\n### 1. AnimationPlayer: play a clip and await it\n\n```gdscript\n@onready var anim: AnimationPlayer = $AnimationPlayer\n\nfunc attack() -> void:\n    anim.play(\"attack\")\n    await anim.animation_finished     # resume after the clip ends\n    anim.play(\"idle\")\n```\n\n### 2. AnimationTree state machine: travel between states\n\n```gdscript\n@onready var tree: AnimationTree = $AnimationTree\n\nfunc _ready() -> void:\n    tree.active = true                # the tree drives animation; AnimationPlayer is the source\n\nfunc set_state(state: StringName) -> void:\n    # The playback object controls an AnimationNodeStateMachine root.\n    var sm: AnimationNodeStateMachinePlayback = tree.get(\"parameters\u002Fplayback\")\n    sm.travel(state)                  # transitions using the graph's connections\n\nfunc _physics_process(_d: float) -> void:\n    set_state(&\"run\" if velocity.length() > 5.0 else &\"idle\")\n```\n\n### 3. Blend space: blend run direction by a 2D parameter\n\n```gdscript\n# Root is an AnimationNodeBlendSpace2D named \"Move\" with idle\u002Frun points placed in it.\nfunc update_locomotion(input_dir: Vector2) -> void:\n    # Parameter path = \"parameters\u002F\u003Cnode name>\u002Fblend_position\".\n    tree.set(\"parameters\u002FMove\u002Fblend_position\", input_dir)\n```\n\n### 4. Tween: fade and scale a UI element (code-driven)\n\n```gdscript\nfunc pop_in(node: Control) -> void:\n    node.scale = Vector2.ZERO\n    node.modulate.a = 0.0\n    var tw := create_tween()                          # bound to this node's tree\n    tw.set_parallel(true)                             # run the two tweens together\n    tw.tween_property(node, \"scale\", Vector2.ONE, 0.2) \\\n      .set_trans(Tween.TRANS_BACK).set_ease(Tween.EASE_OUT)\n    tw.tween_property(node, \"modulate:a\", 1.0, 0.2)   # sub-property via \":\"\n```\n\n## Pitfalls\n\n- **`AnimationTree.active` left false** → nothing animates and `travel()` appears to do\n  nothing. Set `active = true` and assign the `anim_player` path.\n- **Wrong parameter path.** Blend\u002Fcondition paths are `\"parameters\u002F\u003CNodeName>\u002F...\"` and\n  must match the node names in the tree exactly (e.g. `\"parameters\u002Fplayback\"`,\n  `\"parameters\u002FMove\u002Fblend_position\"`). A typo silently no-ops.\n- **AnimationPlayer and AnimationTree fighting.** When an `AnimationTree` is active, don't\n  also call `AnimationPlayer.play()` for the same tracks — let the tree own playback.\n- **3.x Tween node is gone.** There is no `Tween` node to add in 4.x; create tweens in\n  code with `create_tween()` (which returns a `Tween`). They auto-start and free themselves.\n- **Reusing a finished tween.** A tween is one-shot; call `create_tween()` again for a new\n  animation. Use `set_loops()` for repetition.\n- **`yield`\u002F`yield(anim, \"...\")` is gone.** Use `await anim.animation_finished`.\n- **Sub-property tweens** use a colon: `\"modulate:a\"`, `\"position:x\"`. Tweening the whole\n  property instead overwrites siblings.\n\n## References\n\n- For state machine transitions\u002Fconditions, root motion, one-shot\u002Fblend nodes, method &\n  call tracks, `SpriteFrames`\u002F`AnimatedSprite2D`, and Tween easing\u002Fchaining\u002Fcallbacks,\n  read `references\u002Fanimation-tree-and-tween.md`.\n\n## Related skills\n\n- `godot-2d-movement` — supplies the velocity\u002Fstate that selects animations.\n- `godot-ui-control` — UI that Tweens animate.\n- `godot-3d-essentials` — 3D character scenes driven by AnimationTree.\n- `game-ai` — state machines that mirror animation states.\n",{"name":5,"license":15,"metadata":24,"description":27,"compatibility":28},{"engine":25,"category":25,"difficulty":26},"godot","intermediate","Animate in Godot 4.x three ways: AnimationPlayer for keyframed clips (incl. call and signal tracks), AnimationTree with state machines and blend spaces for character animation, and Tween for short procedural\u002FUI tweens via create_tween(). Use when working with AnimationPlayer\u002FAnimationTree nodes in a .tscn, blending character states, sprite-sheet animation, or code-driven Tweens.\n","Godot 4.3+","main","6d4e3296d58b2720c5b1026197cd069b1dde4789","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmistervaibhav","Software Engineer","2026-07-24 17:16:42",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add mistervaibhav\u002Fskills --skill godot-animation",{"tool":41,"command":42},"bunx","bunx skills add mistervaibhav\u002Fskills --skill godot-animation",{"tool":44,"command":45},"pnpm","pnpm dlx skills add mistervaibhav\u002Fskills --skill godot-animation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fgodot-animation\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fanimation-tree-and-tween.md","REFERENCE","参考文档",4139,"https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fgodot-animation\u002Freferences\u002Fanimation-tree-and-tween.md",[56,64,72,80,87,94],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M79NZDV5781GA6SJMN1QPXB4","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M79NZ8SEVWT4WYD49BV980YW","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", or \"type hierarchy\". Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","MIT","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":76,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79NYVQS5NYHH36NXF2AHP8B","web-haptics","Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-haptics\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-haptics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79NY8AMC62DDRSH21WKXJVE","visual-novel","Build a visual novel: a branching script, character and background display, a text box with choices, save\u002Fload, backlog, and skip\u002Fauto. Use for a VN, dating sim, or branching story game.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fvisual-novel\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79NWFM5R9QC9Y2AT40EHF44","ux-heuristics","Evaluate and improve interface usability using heuristic analysis. Use when the user mentions \"usability audit\", \"UX review\", \"users are confused\", \"heuristic evaluation\", \"form usability\", or \"navigation problems\". Covers Nielsen's 10 heuristics, severity ratings, and information architecture. For visual design fixes, see refactoring-ui. For conversion-focused audits, see cro-methodology.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fux-heuristics\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79NVSG7AB3MSFT8Y6EEHG1B","unreal-packaging","Package and ship an Unreal Engine 5 project: the Platforms menu Package Project flow, build configurations (Development vs Shipping), cooking content, packaging settings and the Game Default Map, and command-line builds with RunUAT BuildCookRun. Use when packaging a build, making a shipping build, cooking content, configuring packaging settings, or when the user mentions package Unreal, cook content, shipping build, or BuildCookRun.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Funreal-packaging\u002FSKILL.md",[],[]]