Skill library

Agent skill UI design

Premium Frontend UI

Shape a web interface around a coherent visual direction.

  • UI design
  • Animation

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add github/awesome-copilot --skill premium-frontend-ui --agent claude-code --yes

Check this file in your project.claude/skills/premium-frontend-ui/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add github/awesome-copilot --skill premium-frontend-ui

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use a local vanilla, HTML or Astro project with GSAP if available or approved. The fixture used GSAP 3.15.1 and ScrollTrigger, with no additional scrolling library.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Skill name
premium-frontend-ui
Scenario
Add one scroll-linked editorial reveal with reduced-motion support
Deliverable
A nearby narrative reveal, a usable static reduced-motion path and browser evidence of both modes.
Skill name
premium-frontend-ui

Define a component task with an observable result

A request with an unclear outcome

Hide the reading content by default until the animation runs.

A user with reduced motion or a blocked script may lose essential content.

A workflow with observable results

  1. Choose a single narrative moment
  2. Implement the preference-gated effect
  3. Exercise both motion preferences

Premium Frontend UI operation manual

Use one controlled transform and opacity effect inside an existing story section, keeping all content reachable with reduced motion.

Replace the bracketed details with your own project and target.

  1. Choose a single narrative moment

    Keep reading and navigation usable before animating.

    Prompt · Step 1
    Use `premium-frontend-ui` to plan [editorial section]. Pick one scene and the detail that benefits from a scroll-linked reveal. Define visible static content, the intended transform and opacity range, and the primary link’s focus order. Keep the page readable when motion is unavailable.
  2. Implement the preference-gated effect

    Use ScrollTrigger and only the scoped visible properties.

    Prompt · Step 2
    Use `premium-frontend-ui` to implement [approved scene]. In the existing vanilla or Astro bundle, register GSAP ScrollTrigger and create one scrubbed transform/opacity tween. Use gsap.matchMedia for prefers-reduced-motion: no-preference and keep the semantic content visible outside that context. Clean up when the media query or component lifecycle changes.
  3. Exercise both motion preferences

    Check scrolling, content visibility and link reachability.

    • Scroll visibly changes the scoped transform or opacity under normal preferences.
    • Reduced motion preserves reading and navigation without an active trigger.
    Prompt · Step 3
    Use `premium-frontend-ui` to verify [local scene]. With normal motion scroll across the trigger range and capture the start/end transformation. Emulate reduced motion, confirm no active reveal remains and the text is fully visible, then Tab to the link. Report what was seen at the tested viewport and which package ran.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

Decide which properties to animateReference
Command or reference
SKILL.md · The Performance Imperative
Examples
Restrict this effect to transform and opacity and honor motion preferences.

Premium Frontend UI troubleshooting

Should I install a smooth scrolling package for this?

The verified scene used native scrolling with ScrollTrigger. Since it is one local effect, keep the project’s scrolling behavior and package selection.