animation-spec

Generate animation specifications, easing curves, and motion design documentation

509 stars

Best use case

animation-spec is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate animation specifications, easing curves, and motion design documentation

Teams using animation-spec should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/animation-spec/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/ux-ui-design/skills/animation-spec/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/animation-spec/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How animation-spec Compares

Feature / Agentanimation-specStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate animation specifications, easing curves, and motion design documentation

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Animation Spec Skill

## Purpose

Generate comprehensive animation specifications including easing curves, timing values, and motion design guidelines for consistent UI animations.

## Capabilities

- Define custom easing curves (cubic-bezier)
- Calculate animation timing for different contexts
- Generate CSS animation keyframes
- Create Lottie animation specifications
- Document motion design guidelines
- Export animation tokens

## Target Processes

- component-library.js (interactionAnimationTask)
- hifi-prototyping.js
- design-system.js

## Integration Points

- CSS animations
- Lottie animations
- Framer Motion
- GSAP

## Input Schema

```json
{
  "type": "object",
  "properties": {
    "animationType": {
      "type": "string",
      "enum": ["entrance", "exit", "emphasis", "transition", "loading", "feedback"],
      "description": "Category of animation"
    },
    "duration": {
      "type": "object",
      "properties": {
        "fast": { "type": "number", "default": 150 },
        "normal": { "type": "number", "default": 300 },
        "slow": { "type": "number", "default": 500 }
      }
    },
    "easing": {
      "type": "object",
      "properties": {
        "standard": { "type": "string" },
        "decelerate": { "type": "string" },
        "accelerate": { "type": "string" }
      }
    },
    "elements": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "properties": { "type": "array" },
          "stagger": { "type": "number" }
        }
      }
    },
    "outputFormat": {
      "type": "string",
      "enum": ["css", "js", "lottie", "tokens"],
      "default": "css"
    }
  },
  "required": ["animationType"]
}
```

## Output Schema

```json
{
  "type": "object",
  "properties": {
    "animationSpec": {
      "type": "object",
      "description": "Complete animation specification"
    },
    "easingCurves": {
      "type": "object",
      "description": "Cubic-bezier values"
    },
    "cssKeyframes": {
      "type": "string",
      "description": "CSS @keyframes code"
    },
    "tokens": {
      "type": "object",
      "description": "Animation design tokens"
    },
    "documentation": {
      "type": "string",
      "description": "Motion design guidelines"
    }
  }
}
```

## Usage Example

```javascript
const result = await skill.execute({
  animationType: 'entrance',
  duration: { fast: 150, normal: 300, slow: 500 },
  easing: {
    standard: 'cubic-bezier(0.4, 0.0, 0.2, 1)',
    decelerate: 'cubic-bezier(0.0, 0.0, 0.2, 1)',
    accelerate: 'cubic-bezier(0.4, 0.0, 1, 1)'
  },
  outputFormat: 'css'
});
```

Related Skills

retrospect

509
from a5c-ai/babysitter

Summarize or retrospect on a completed Babysitter run.

mock-spec-extractor

509
from a5c-ai/babysitter

Extracts design specifications from mock images including colors, typography, spacing, and component details

typespec-sdk-generator

509
from a5c-ai/babysitter

Microsoft TypeSpec-based API and SDK generation

typescript-sdk-specialist

509
from a5c-ai/babysitter

TypeScript SDK development with Node.js and browser support. Design SDK architecture, implement type-safe API clients, support ESM and CommonJS modules, and configure bundling for browsers.

rust-sdk-specialist

509
from a5c-ai/babysitter

Rust SDK development with zero-cost abstractions

python-sdk-specialist

509
from a5c-ai/babysitter

Python SDK development with async support and type hints

openapi-spec-generator

509
from a5c-ai/babysitter

Automated OpenAPI specification generation from code annotations, comments, and interface definitions

java-sdk-specialist

509
from a5c-ai/babysitter

Java SDK development for enterprise environments

go-sdk-specialist

509
from a5c-ai/babysitter

Go SDK development with idiomatic patterns

csharp-sdk-specialist

509
from a5c-ai/babysitter

C#/.NET SDK development with async patterns

lottie-animations

509
from a5c-ai/babysitter

Lottie animation skill for integrating After Effects animations into iOS, Android, and cross-platform mobile apps with playback control, performance optimization, and interactive animation capabilities.

specialization-validator

509
from a5c-ai/babysitter

Validate specialization completeness across all 7 phases, score each phase, identify gaps, and generate validation reports.