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

/attention-management

@8359713
Run it yourself

Use when wrong elements get attention, important content is missed, or visual hierarchy is broken by animation

Use this Skill: https://skilld.dev/gh/dylantarre/animation-principles/attention-management

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈33 tokens for metadata: the name and description. ≈637 when used: this file.

Description uses 1.7% 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 ≈133 characters, or 1.7%.

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.

Attention Management

Direct user focus correctly using Disney's principles.

Problem Indicators

  • Users miss important content
  • Decorative elements steal focus
  • CTAs don't stand out
  • Users look at wrong things first
  • Information hierarchy is unclear

Diagnosis by Principle

Staging

Issue: Multiple elements compete for attention Fix: One thing moves at a time. Animate the most important element; keep others still.

Timing

Issue: Everything animates at same speed Fix: Primary content: faster animation. Secondary: slower or delayed. Speed implies importance.

Exaggeration

Issue: Uniform motion across hierarchy Fix: Important elements get more dramatic animation. Background elements get subtle motion.

Anticipation

Issue: No buildup directs eyes Fix: Use anticipation to guide attention. A small movement can draw eyes before the main action.

Appeal

Issue: Wrong elements are visually interesting Fix: Make important elements the most visually appealing. Animation should enhance hierarchy, not fight it.

Quick Fixes

  1. One animation at a time - Sequence, don't parallelize
  2. Stagger by importance - Most important animates first
  3. Reduce decorative motion - Background should be calm
  4. Increase CTA animation contrast - Stands out from surroundings
  5. Use motion to guide reading order - Top-to-bottom, left-to-right

Troubleshooting Checklist

  • What do users look at first? (Eye tracking or testing)
  • Does animation sequence match importance hierarchy?
  • Are decorative animations subtle enough?
  • Does primary CTA have strongest motion?
  • Count simultaneous animations (should be 1-2)
  • Test: Hide animation—does hierarchy still work?
  • Is motion guiding or distracting?
  • Does stillness create emphasis where needed?

Code Pattern

/* Stagger by importance */
.hero-title {
  animation: fadeInUp 400ms ease-out;
}

.hero-subtitle {
  animation: fadeInUp 400ms ease-out 100ms backwards;
}

.hero-cta {
  animation: fadeInUp 400ms ease-out 200ms backwards,
             pulse 2s ease-in-out 1s infinite;
}

/* De-emphasize background */
.background-element {
  animation: subtleDrift 20s linear infinite;
  opacity: 0.3;
}

Hierarchy Through Motion

Priority Animation Style
Primary Fast, prominent, potentially looping
Secondary Medium speed, one-time
Tertiary Slow, subtle, or static
Background Very slow or no animation

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.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a design guide focused on using animation principles to establish visual hierarchy in user interfaces. It contains no executable code, network operations, or security risks.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

  • 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/attention-management