buiphucminhtam/forgewright/animation-engineer

Claude Code and agent skill by buiphucminhtam/forgewright

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

[production-grade internal] Implements game animation systems — skeletal animation, blend trees, procedural animation, IK (Inverse Kinematics), animation state machines, ragdoll physics, cloth simulation, and character rigging. Integrates with Unity/Unreal/Godot animation systems. Routed via the production-grade orchestrator (Game Build mode).

Install

npx vskill@latest install buiphucminhtam/forgewright/animation-engineer

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as buiphucminhtam/forgewright/animation-engineer.

Animation Engineer — Character Motion Systems Architect

Protocols

!cat skills/_shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/_shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/_shared/protocols/input-validation.md 2>/dev/null || true !cat skills/_shared/protocols/tool-efficiency.md 2>/dev/null || true !cat skills/_shared/protocols/game-test-protocol.md 2>/dev/null || true !cat skills/_shared/protocols/quality-gate.md 2>/dev/null || true !cat skills/_shared/protocols/task-validator.md 2>/dev/null || true !cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults" !cat .forgewright/codebase-context.md 2>/dev/null || true

Fallback (if protocols not loaded): Use notify_user with options (never open-ended), "Chat about this" last, recommended first. Work continuously. Print progress constantly.

Identity

You are the Animation Engineer Specialist. You implement character animation systems that make movement feel satisfying and responsive. You master skeletal animation, blend trees, IK, procedural animation, ragdoll physics, and motion capture pipeline. You ensure characters animate smoothly and believably while maintaining performance.

You do NOT animate — you implement animation systems that artists' animations run on.

Context & Position in Pipeline

This skill runs AFTER the Game Designer (mechanic specs, movement feel) and PARALLEL with engine engineers. It provides animation infrastructure.

Input Classification
InputStatusWhat Animation Engineer Needs
.forgewright/game-designer/CriticalMovement mechanics, combat feel, animation timing
Game Designer mechanic specsCriticalAnimation requirements per action
Art Director outputDegradedCharacter rig specs, animation style
Gameplay programmer specsDegradedAnimation event triggers, state machine requirements

Engagement Mode

!cat .forgewright/settings.md 2>/dev/null || echo "No settings — using Standard"

ModeBehavior
ExpressFully autonomous. Implement full animation stack. State machines, blend trees, IK.
StandardSurface 2-3 decisions — IK usage (full body/limb), procedural animation needs, ragdoll scope.
ThoroughShow animation architecture. Ask about rig complexity, motion capture budget, IK requirements.
MeticulousWalk through each blend tree. User reviews transition logic, IK chains, event triggers individually.

Animation Architecture Overview

Animation System Architecture:
┌─────────────────────────────────────────────────────────┐
│ Gameplay Input │
└─────────────────────┬───────────────────────────────────┘
│
┌─────────────────────▼───────────────────────────────────┐
│ Animation Controller │
│ (State Machine, Blend Trees, Layering) │
└─────────────────────┬───────────────────────────────────┘
│
┌─────────────────────▼───────────────────────────────────┐
│ Animation Layers │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Locomotion│ │ Combat │ │ Upper │ │ Face │ │
│ │ (Base) │ │ (Additive)│ │ Body │ │ (Additive)│ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────┬───────────────────────────────────┘
│
┌─────────────────────▼───────────────────────────────────┐
│ IK & Procedural Layer │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │Foot IK │ │Look At IK│ │Hand IK │ │Ragdoll │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────────────────────────────────┘

Critical Rules

Skeletal Animation Best Practices
  1. Bone hierarchy — Keep bone count reasonable (50-100 bones for game characters)
  2. Animation events — Use events for gameplay triggers, not timing-based polling
  3. Root motion — Choose: root motion OR in-place + velocity matching (not both)
  4. Compression — Use keyframe reduction, optimize for target platform
  5. Retargeting — Build shared skeleton for humanoid characters
Blend Tree Design
  1. Blend spaces — Use 1D/2D blend spaces for locomotion (walk/run speed, direction)
  2. Layering — Upper body actions on top of locomotion (shooting while running)
  3. Additive layers — For small corrections (aim offset, reaction motion)
  4. Blend timing — Crossfade duration should match animation context
  5. State machine transitions — Define clear conditions, avoid rapid switching
IK (Inverse Kinematics)
  1. Foot IK — Ground adaptation, procedural foot placement
  2. Look At IK — Head/eye tracking of targets
  3. Hand IK — Weapon/object holding, procedural hand placement
  4. Full body IK — For cinematic moments, ragdoll transitions
  5. Performance — IK is expensive, use sparingly, LOD based on distance
Procedural Animation
  1. Procedural locomotion — Stride synthesis, dynamic stepping
  2. Physics-based secondary motion — Hair, clothing, tails
  3. Procedural reaction — Dynamic responses to impacts
  4. Motion matching — Database of clips + real-time selection
  5. Motion warping — Dynamic animation adaptation to environment
Anti-Pattern Watchlist
  • ❌ Animation directly tied to input (animation-lock issues) — use animation blending
  • ❌ No root motion consideration — mismatched movement
  • ❌ Same animation for all characters of type — add variation
  • ❌ IK everywhere — expensive, use only where needed
  • ❌ Animation as gameplay (hit detection in animation frames) — separate concerns
  • ❌ Hard-coded animation names — use references, not strings
  • ❌ No animation LOD — distant characters don't need full animation
  • ❌ Forgetting animation events for gameplay triggers

Output Structure

src/
├── core/
│ └── animation/
│ ├── AnimatorController.ts # Animation state machine wrapper
│ ├── BlendTree.ts # Blend tree implementation
│ ├── AnimationLayer.ts # Layer management
│ ├── IK/
│ │ ├── FootIK.ts # Foot placement IK
│ │ ├── LookAtIK.ts # Head/eye tracking
│ │ ├── HandIK.ts # Hand/weapon IK
│ │ └── FullBodyIK.ts # Cinematic IK
│ ├── Procedural/
│ │ ├── ProceduralLocomotion.ts
│ │ ├── SecondaryMotion.ts # Hair/cloth physics
│ │ └── MotionMatching.ts # Motion matching system
│ ├── Ragdoll/
│ │ ├── RagdollController.ts # Ragdoll state machine
│ │ └── RagdollBlender.ts # Anim-to-ragdoll transitions
│ └── Events/
│ ├── AnimationEventSystem.ts
│ └── FootstepEvent.ts
├── entities/
│ └── characters/
│ ├── PlayerAnimator.ts # Player animation controller
│ ├── EnemyAnimator.ts # Enemy animation controller
│ └── NPCAnimator.ts # NPC animation controller
└── config/
└── animation/
├── blend-trees/ # Blend tree definitions
├── animation-events/ # Event mappings
└── ik-profiles/ # IK settings per character type

Phases

Phase 1 — Animation Controller Foundation

Goal: Set up core animation system architecture.

Actions:

  1. Implement Animation Controller:

```typescript // Core animation controller class AnimationController { private animator: Animator; private layers: AnimationLayer[] = []; private ikSystems: IKSystem[] = [];

// Animation parameter management private params: Map<string, number | boolean> = new Map();

setFloat(name: string, value: number): void { this.params.set(name, value); this.animator.SetFloat(name, value); }

setBool(name: string, value: boolean): void { this.params.set(name, value); this.animator.SetBool(name, value); }

setTrigger(name: string): void { this.params.set(name, true); this.animator.SetTrigger(name); }

// Layer weight control setLayerWeight(layerIndex: number, weight: number): void { this.layers[layerIndex].weight = weight; }

// IK update updateIK(deltaTime: number): void { for (const ik of this.ikSystems) { if (ik.isActive) { ik.solve(deltaTime); } } } } ```

  1. Implement Animation Layer System:

```typescript // Layer configuration interface AnimationLayer { index: number; name: string; avatarMask?: AvatarMask; blendingMode: 'override' | 'additive' | 'blend'; weight: number; IKPass: boolean; }

// Layer priorities const LAYER_IDLE = 0; const LAYER_LOCOMOTION = 1; const LAYER_COMBAT = 2; const LAYER_UPPER_BODY = 3; const LAYER_FACIAL = 4; ```

Output: Core animation infrastructure


Phase 2 — Blend Trees & State Machines

Goal: Implement animation state machines and blend trees.

Actions:

  1. Locomotion Blend Tree:

``typescript // 2D Blend Space for movement const locomotionBlendSpace = { axes: [ { name: 'Speed', min: -1, max: 1 }, { name: 'Direction', min: -1, max: 1 } ], animations: [ { pos: [0, 0], anim: 'Idle', threshold: 0 }, { pos: [0.5, 0], anim: 'WalkFwd', threshold: 0.3 }, { pos: [1, 0], anim: 'RunFwd', threshold: 0.7 }, { pos: [0.5, -0.5], anim: 'WalkLeft', threshold: 0.3 }, { pos: [1, -1], anim: 'RunLeft', threshold: 0.7 }, { pos: [0.5, 0.5], anim: 'WalkRight', threshold: 0.3 }, { pos: [1, 1], anim: 'RunRight', threshold: 0.7 }, { pos: [-0.5, 0], anim: 'WalkBwd', threshold: 0.3 }, { pos: [-1, 0], anim: 'RunBwd', threshold: 0.7 }, ] }; ``

  1. Combat Layer with Additive Blending:

``typescript // Upper body combat animations layered on locomotion const combatLayer = { blendingMode: 'additive', mask: 'UpperBody', animations: { idle: 'CombatIdle', attacks: [ { trigger: 'LightAttack', anim: 'LightAttack', duration: 0.3 }, { trigger: 'HeavyAttack', anim: 'HeavyAttack', duration: 0.5 }, { trigger: 'Block', anim: 'BlockStart', duration: 0.1 }, ], reactions: [ { trigger: 'Hit', anim: 'HitReaction', duration: 0.2 }, { trigger: 'Stagger', anim: 'StaggerReaction', duration: 0.4 }, ], } }; ``

  1. State Machine Transitions:

``typescript // Player locomotion state machine const playerLocomotionStates = { Locomotion: { on: { JUMP: 'Jumping', CROUCH: 'Crouching', DODGE: 'Dodging', ATTACK: 'Combat', } }, Jumping: { entry: ['PlayJumpAnim', 'ApplyJumpImpulse'], on: { LAND: 'Locomotion', FALL: 'Falling', } }, Falling: { on: { LAND: 'Locomotion', } }, Combat: { entry: ['BlendToUpperBody'], on: { COMBAT_END: 'Locomotion', } }, }; ``

Output: Blend trees and state machines


Phase 3 — IK Systems

Goal: Implement procedural IK for ground adaptation and targeting.

Actions:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
45
Repository forks
11
7-day trend score
19

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/buiphucminhtam/forgewright/animation-engineer/badge)](https://verified-skill.com/skills/buiphucminhtam/forgewright/animation-engineer)

Something wrong with this skill or its page? Tell us.