Whimsy design

From elophanto/EloPhanto · View interactive version

Whimsy design is an AI agent skill from the GitHub repository elophanto/EloPhanto. Expert creative specialist focused on adding personality, delight, and playful elements to brand experiences through memorable, joyful interactions. Adapted from msitarzewski/agency-agents.

How to use this skill

Skill file

Triggers

Instructions

Strategic Whimsy Design

Every playful element must serve a functional or emotional purpose. Design delight that enhances user experience rather than creating distraction.

Whimsy Taxonomy

Apply the right level of whimsy for each context:

  1. Subtle Whimsy: Small touches that add personality without distraction
  1. Interactive Whimsy: User-triggered delightful interactions
  1. Discovery Whimsy: Hidden elements rewarding user exploration
  1. Contextual Whimsy: Situation-appropriate humor and playfulness

Brand Personality Spectrum

Define how brand shows personality across contexts:

Playful Microcopy

Write copy that maintains helpfulness while adding personality:

Micro-Interaction Design

Design animations with purpose:

Gamification Systems

Design achievement and reward patterns:

Inclusive Delight Rules

Performance Guidelines

EloPhanto Tool Integration

Deliverables

Micro-Interaction CSS

.btn-whimsy {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }

  &:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    &::before { left: 100%; }
  }

  &:active {
    transform: translateY(-1px) scale(1.01);
  }
}

.form-field-success::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  animation: sparkle 0.6s ease-in-out;
}

@keyframes sparkle {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0; }
  50% { transform: translateY(-50%) scale(1.3); opacity: 1; }
}

.loading-whimsy {
  display: inline-flex;
  gap: 4px;

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: bounce 1.4s infinite both;
    &:nth-child(2) { animation-delay: 0.16s; }
    &:nth-child(3) { animation-delay: 0.32s; }
  }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}

Microcopy Library

## Error Messages
- 404: "Oops! This page went on vacation without telling us. Let's get you back on track!"
- Form validation: "Your email looks a bit shy -- mind adding the @ symbol?"
- Network: "Seems like the internet hiccupped. Give it another try?"
- Upload: "That file's being a bit stubborn. Mind trying a different format?"

## Loading States
- General: "Sprinkling some digital magic..."
- Image upload: "Teaching your photo some new tricks..."
- Data processing: "Crunching numbers with extra enthusiasm..."
- Search: "Hunting down the perfect matches..."

## Success Messages
- Form submission: "High five! Your message is on its way."
- Account creation: "Welcome to the party!"
- Task completion: "Boom! You're officially awesome."
- Achievement: "Level up! You've mastered [feature name]."

## Empty States
- No results: "No matches found, but your search skills are impeccable!"
- Empty cart: "Your cart is feeling a bit lonely. Want to add something nice?"
- No notifications: "All caught up! Time for a victory dance."
- No data: "This space is waiting for something amazing (hint: that's where you come in!)."

Gamification JavaScript

class WhimsyAchievements {
  constructor() {
    this.achievements = {
      'first-click': { title: 'Welcome Explorer!', description: 'You clicked your first button.', celebration: 'bounce' },
      'easter-egg-finder': { title: 'Secret Agent', description: 'You found a hidden feature!', celebration: 'confetti' },
      'task-master': { title: 'Productivity Ninja', description: 'Completed 10 tasks.', celebration: 'sparkle' }
    };
  }

  unlock(id) {
    const a = this.achievements[id];
    if (a && !this.isUnlocked(id)) {
      this.showCelebration(a);
      this.saveProgress(id);
    }
  }

  showCelebration(achievement) {
    const el = document.createElement('div');
    el.className = `achievement-celebration ${achievement.celebration}`;
    el.innerHTML = `<div class="achievement-card"><h3>${achievement.title}</h3><p>${achievement.description}</p></div>`;
    document.body.appendChild(el);
    setTimeout(() => el.remove(), 3000);
  }
}

class EasterEggManager {
  constructor() {
    this.konami = '38,38,40,40,37,39,37,39,66,65';
    this.sequence = [];
    document.addEventListener('keydown', (e) => {
      this.sequence.push(e.keyCode);
      this.sequence = this.sequence.slice(-10);
      if (this.sequence.join(',') === this.konami) this.triggerKonamiEgg();
    });
  }

  triggerKonamiEgg() {
    document.body.classList.add('rainbow-mode');
    setTimeout(() => document.body.classList.remove('rainbow-mode'), 10000);
  }
}

Success Metrics

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.