agentleFS
soilmasssoilmass/motion-design-agent/skills/emotion-mapping/SKILL.md

emotion-mapping

Skill7 starsChanged 10 months agoMITView on GitHub

Transform emotional intent into animation parameters. Use when designing animations that convey mood, tone, or feeling - such as celebratory success states, calming reassurance, urgent warnings, or playful interactions.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When prefers-reduced-motion: reduce is active:

    line 107

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Emotion Mapping

Transform emotional intent into precise animation parameters. This skill enables autonomous interpretation of mood, tone, and feeling to generate appropriate motion design.

Emotion Taxonomy

Primary Emotions

EmotionArousalValenceCore Use Case
CelebratoryHighPositiveSuccess, achievements, milestones
CalmingLowPositiveReassurance, gentle guidance
UrgentHighNeutralWarnings, time-sensitive actions
PlayfulMedium-HighPositiveFun interactions, games
ProfessionalLowNeutralBusiness contexts, credibility
MysteriousMediumNeutralReveals, discovery moments
EnergeticHighPositiveActive, dynamic experiences
FrustratedMedium-HighNegativeError states (use sparingly)
TrustworthyLowPositiveSecurity, data handling
AnticipatoryMediumNeutralLoading, waiting states
DelightfulMedium-HighPositiveEaster eggs, surprises
FocusedLowNeutralDeep work, minimal distraction
WelcomingMediumPositiveOnboarding, first impressions

Arousal-Valence Model

Based on Russell's circumplex model of affect:

                    HIGH AROUSAL
                         |
        Frustrated       |       Celebratory
        Urgent           |       Energetic
                         |       Delightful
    ─────────────────────┼─────────────────────
    NEGATIVE             |             POSITIVE
                         |       Welcoming
        Focused          |       Trustworthy
                         |       Calming
                         |
                    LOW AROUSAL

Emotion Parameter Mapping

Each emotion maps to specific animation parameters. See references/emotion-profiles.md for complete implementation details.

Quick Reference

EmotionDurationExaggerationEasingSpring
Celebratory1.2x1.6xspring-bouncydamping: 8, stiffness: 180
Calming1.4x1.1xease-in-out-gentledamping: 30, stiffness: 80
Urgent0.8x1.3xemphasized-acceleratedamping: 30, stiffness: 400
Playful1.1x1.6xspring-bouncydamping: 10, stiffness: 200
Professional1.0x1.1xstandarddamping: 25, stiffness: 150

Brand Attitude Modifiers

BrandEmotion BiasExaggeration AdjustDuration Adjust
Elegant+calming, +professional-20%+10%
Playful+playful, +delightful+30%+0%
Bold+energetic, +urgent+20%-10%
Friendly+welcoming, +trustworthy+10%+5%

Context Modifiers

ContextDurationExaggerationSecondary
First visit+20%+10%+20% intensity
Repeat user-10%-10%-10% intensity
Reduced motion-50%0Disabled
Low power mode-20%-20%-30% intensity

Emotion Blending

For scenarios requiring mixed emotions, use weighted averaging:

Common Blends

BlendEmotionsWeightsUse Case
Confident Successcelebratory + trustworthy70/30Payment confirmation
Gentle Playplayful + calming60/40Children's apps
Business Welcomeprofessional + welcoming50/50B2B onboarding
Secure Alerturgent + trustworthy60/402FA prompts

Accessibility Considerations

Emotion-Safe Patterns

EmotionAccessibility RiskMitigation
UrgentAnxiety inductionClear resolution path, no rapid flash
FrustratedStress amplificationKeep brief, offer help
EnergeticMotion sensitivityProvide reduced alternative
CelebratoryDistractionAllow dismissal

Reduced Motion Mapping

When prefers-reduced-motion: reduce is active:

Original EmotionReduced Alternative
CelebratoryGentle fade + success icon
PlayfulStandard transition
EnergeticQuick fade
FrustratedStatic error state + icon

Quick Reference: Emotion Selection

What's the user feeling or should feel?
├── Positive outcome → Celebratory
├── Error occurred → Frustrated (brief) → Offer resolution
├── Waiting → Anticipatory
├── Learning something new → Welcoming
├── Making a decision → Professional
├── Playing/exploring → Playful
├── Achieved something → Delightful
├── Needs reassurance → Calming
├── Time pressure → Urgent
├── Security context → Trustworthy
├── Deep work → Focused
└── Discovery moment → Mysterious

Implementation Checklist

  • Identify primary emotion for interaction
  • Check brand compatibility
  • Apply context modifiers (first visit, device, preferences)
  • Generate parameters using formula
  • Implement reduced motion alternative
  • Test emotional resonance with users

Related Skills

  • animation-recipes - Pre-built animations for common emotional contexts
  • accessibility - WCAG compliance for all emotional animations
  • easing - Curve selection for different emotional profiles
  • duration - Timing selection based on emotional context

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.