Index of every page on this site: llms.txt
All skills
dylantarre avatar

/e-commerce-retail

@8359713
Run it yourself

Use when designing animations for shopping apps, product catalogs, checkout flows, or retail experiences

Use this Skill: https://skilld.dev/gh/dylantarre/animation-principles/e-commerce-retail

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈31 tokens for metadata: the name and description. ≈747 when used: this file.

Description uses 1.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈124 characters, or 1.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

E-Commerce & Retail Animation Principles

Apply Disney's 12 principles to create shopping experiences that feel premium, trustworthy, and encourage conversion.

The 12 Principles Applied

1. Squash & Stretch

  • Add to Cart: Button compresses on tap, product thumbnail squishes into cart icon
  • Quantity Badges: Numbers stretch when incrementing quickly
  • Sale Tags: Pulse with slight stretch to draw attention

2. Anticipation

  • Buy Button: Subtle lift before purchase confirmation
  • Image Zoom: Brief pause before expanding product image
  • Checkout Steps: Progress indicator hints at next section

3. Staging

  • Product Hero: Center product with dimmed background
  • Price Display: Animate price prominently, discounts secondary
  • CTA Hierarchy: Primary actions draw eye first

4. Straight Ahead & Pose to Pose

  • Browse Flow: Smooth scroll for catalog browsing (straight ahead)
  • Checkout: Defined steps with clear transitions (pose to pose)
  • Search Results: Staggered reveal for product grid

5. Follow Through & Overlapping Action

  • Product Cards: Image settles before price text
  • Cart Drawer: Items slide in, total updates after
  • Filters: Tags animate before results refresh

6. Slow In & Slow Out

  • Modal Opens: Ease-out for product quick-view
  • Image Carousel: Smooth deceleration between slides
  • Checkout Transitions: 300-400ms with ease-in-out

7. Arc

  • Add to Cart: Product thumbnail arcs toward cart icon
  • Wishlist: Heart icon arcs to saved section
  • Drag to Compare: Items follow natural curved path

8. Secondary Action

  • Purchase Success: Confetti while confirmation loads
  • Review Stars: Sparkle while rating saves
  • Discount Applied: Price crosses out while new price appears

9. Timing

  • Quick Add: 150-200ms for snappy cart additions
  • Checkout Steps: 300-400ms for confident transitions
  • Loading States: Skeleton screens for perceived speed

10. Exaggeration

  • Flash Sales: Urgent countdown with bold pulses
  • Low Stock: Warning badge with attention-grabbing shake
  • Big Discounts: Strike-through with dramatic reveal

11. Solid Drawing

  • Product Images: Maintain aspect ratios during zoom
  • 3D Views: Consistent lighting and perspective
  • Icons: Uniform weight across cart, search, menu

12. Appeal

  • Micro-Delights: Subtle bounce on successful actions
  • Brand Personality: Premium = smooth, Playful = bouncy
  • Trust Signals: Gentle animations for security badges

Industry Timing Standards

Action Duration Easing
Add to Cart 200ms ease-out
Quick View 250ms ease-in-out
Checkout Step 350ms ease-in-out
Cart Update 150ms ease-out
Image Zoom 300ms ease-out

Key Principle

Never let animation slow the path to purchase. Every motion should feel efficient and build buying confidence.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides design guidelines for e-commerce animations. It contains no executable code, network requests, or sensitive data access.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1 file scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 8359713. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Dormantupdated 11 months ago

README badge

README badge for dylantarre/animation-principles/e-commerce-retail