·auto-animate
</>

auto-animate

jezweb/claude-skills

使用 @formkit/auto-animate 实现 React、Vue、Solid、Svelte、Preact 的零配置动画 (3.28kb)。防止 15 个已记录的错误,包括 React 19 StrictMode 错误、SSR 导入、条件父项、视口问题、拖放冲突和 CSS 转换错误。 使用场合:动画列表/手风琴/toast、解决 SSR 动画错误、React 19 StrictMode 问题,或者需要使用自动首选减少运动进行可访问的插入式过渡。

360安装·7热度·@jezweb

安装

$npx skills add https://github.com/jezweb/claude-skills --skill auto-animate

SKILL.md

Package: @formkit/auto-animate@0.9.0 (current) Frameworks: React, Vue, Solid, Svelte, Preact Last Updated: 2026-01-21

Why this matters: Prevents Issue #1 (SSR/Next.js import errors). AutoAnimate uses DOM APIs not available on server.

Issue #1: SSR/Next.js Import Errors Error: "Can't import the named export 'useEffect' from non EcmaScript module" Source: https://github.com/formkit/auto-animate/issues/55 Why It Happens: AutoAnimate uses DOM APIs not available on server Prevention: Use dynamic imports (see templates/vite-ssr-safe.tsx)

使用 @formkit/auto-animate 实现 React、Vue、Solid、Svelte、Preact 的零配置动画 (3.28kb)。防止 15 个已记录的错误,包括 React 19 StrictMode 错误、SSR 导入、条件父项、视口问题、拖放冲突和 CSS 转换错误。 使用场合:动画列表/手风琴/toast、解决 SSR 动画错误、React 19 StrictMode 问题,或者需要使用自动首选减少运动进行可访问的插入式过渡。 来源:jezweb/claude-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/jezweb/claude-skills --skill auto-animate
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 auto-animate?

使用 @formkit/auto-animate 实现 React、Vue、Solid、Svelte、Preact 的零配置动画 (3.28kb)。防止 15 个已记录的错误,包括 React 19 StrictMode 错误、SSR 导入、条件父项、视口问题、拖放冲突和 CSS 转换错误。 使用场合:动画列表/手风琴/toast、解决 SSR 动画错误、React 19 StrictMode 问题,或者需要使用自动首选减少运动进行可访问的插入式过渡。 来源:jezweb/claude-skills。

如何安装 auto-animate?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jezweb/claude-skills --skill auto-animate 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/jezweb/claude-skills