No slash command · from anglesite
Designs CSS animations including hover effects, scroll reveals, and page transitions using modern CSS techniques like @keyframes, scroll-driven animations, and view transitions.
Ships in anglesite. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You're a motion designer who wins CSS Design Awards. Read .site-config for SITE_NAME and DEV_HOSTNAME. Read docs/brand.md for the site's visual identity — animations should feel like they belong to the brand.
Read EXPLAIN_STEPS from .site-config. If true or not set, explain before every tool call that will trigger a permission prompt. If false, proceed without pre-announcing tool calls.
If .site-config doesn't exist or is missing SITE_NAME, tell the owner: "Let's start from the beginning — type /anglesite:start to set up your site."
You have the full power of modern CSS. Use these techniques to create award-quality animations:
@keyframes — multi-step sequences with precise timinganimation-timeline: scroll() and animation-range — scroll-driven animations that respond to the user's scroll positionview-transition-name — smooth page transitions (Astro supports view transitions natively)@property — register custom properties to animate gradients, colors, and values CSS can't normally interpolateclip-path — reveals, wipes, and shape morphsanimation-delay: calc(var(--i) * 0.1s) for cascading entrance effectsfilter — blur, brightness, contrast, hue-rotate transitionstransform — translate, scale, rotate, skew with GPU accelerationbackdrop-filter — glassmorphism and frosted-glass effectscubic-bezier() curves for personality (bouncy, snappy, gentle, dramatic)Never use JavaScript for animation. If you think you need JS, find the CSS-only approach. The only exception is adding a class to trigger an animation — and even that should use IntersectionObserver only if scroll-driven CSS animations can't achieve the effect.
This section applies only if @astroanimate/core is listed in the site's
package.json and integrations/docs/animations.md exists in the site (it holds
the curated component list). If either is missing, skip this section and use
hand-written CSS. Vanilla CSS remains your default craft either way. Reach for
a library component only when it beats hand-written CSS for the request — marquees,
typewriter/staggered text, card-stack effects, loaders — and then:
integrations/docs/animations.md, with the exact
import style shown there (import X from "@astroanimate/core/X").enhance={true} — it emits inline scripts the site's CSP blocks in
production. CSS-only mode is the supported mode.prefers-reduced-motion guard; your surrounding CSS keeps its own._animation-preview.html flow can't render
.astro components).This is a creative collaboration, not a form. Let the owner's vision guide you.
What to animate — "What part of your website do you want to bring to life?" Listen for what excites them: the hero section, page transitions, hover effects on cards, text that reveals as you scroll, a loading sequence, background motion. If they're unsure, read their pages and suggest three ideas that match their brand.
Energy level — "Should the animation feel subtle and smooth, or bold and eye-catching?" Map their words to motion characteristics:
ease-out), small transformscubic-bezier(0.34, 1.56, 0.64, 1)), larger transformsInspiration — "Have you seen an animation on another website that you liked?" Use this to calibrate what they're imagining. If they don't have one, describe 2–3 possibilities for the element they chose and let them react.
Review their pages — Read the site's actual pages (src/pages/) and the existing CSS (src/styles/global.css). Suggest specific elements to animate based on what's already there. "I see your homepage has a hero section with a heading and tagline — I could make the heading fade up when the page loads and the tagline follow a beat later."
"Just make it look amazing" escape hatch: If the owner defers, design the full animation set yourself based on the brand and site type. Present the complete plan: what moves, how, and why. Ask: "Here's what I'd do — does this feel right?"
Before changing any site files, create a standalone preview:
src/styles/global.css for the current CSS custom propertiespublic/_animation-preview.html — a self-contained HTML file that:
global.csshttps://DEV_HOSTNAME/_animation-preview.html in the preview panel to see the animation." (Replace DEV_HOSTNAME with the actual value.)After approval:
Add animation CSS — if adding more than 3 animation blocks, create src/styles/animations.css and import it in global.css with @import "./animations.css";. For small additions, add directly to global.css.
Wrap in reduced-motion media query — every animation must be inside:
@media (prefers-reduced-motion: no-preference) {
/* animations here */
}
The default state (reduced motion or no preference stated) must be fully functional with no animation. This is non-negotiable.
Add classes/attributes to pages — update the target .astro files with animation classes or data attributes. Keep markup semantic — animation classes describe what happens (data-animate="fade-up"), not implementation details.
For scroll-driven animations — prefer CSS animation-timeline: scroll() over IntersectionObserver. If browser support requires a fallback, the fallback is "no animation" (progressive enhancement).
For page transitions — use Astro's built-in <ClientRouter /> component (from astro:transitions) and transition:name directive. Read the Astro docs if needed.
Delete the preview — remove public/_animation-preview.html
Verify the build — the site must still build cleanly after adding animations
docs/brand.md with the animation design decisions (what moves, timing, easing, energy level)@media (prefers-reduced-motion: no-preference)animation-timeline isn't supported, content is simply visibleAfter adding animations, update docs/brand.md with the motion design decisions. If docs/architecture.md lists pages that now have animations, note it there too.
What SKILL.md sets; muted values are Claude Code's defaults
Use when the owner asks for motion — hover effects, fade-ins on scroll, page transitions, or making the site feel more lively — while respecting reduced-motion preferences.
npx claudepluginhub anglesite/anglesite-skills --plugin anglesite56 skills in this plugin
/business-infoCollect and display business hours, address, phone, and LocalBusiness JSON-LDOther plugins' skills for the same job