Token导航 LogoToken导航

Agent Skill · 前端设计

ui-enhance-animate(ui 增强动画)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

ui-enhance-animate 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 4,485。

总安装 874周安装 35GitHub Stars 4下载 283核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-enhance-animate(ui 增强动画)
来源仓库:https://github.com/zaaakher/agent-skills
仓库路径:skills/ui-enhance-animate
安装命令:
npx skills add https://github.com/zaaakher/agent-skills --skill ui-enhance-animate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zaaakher/agent-skills --skill ui-enhance-animate

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。适合根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素;涉及页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

安装方式:github,可通过 npx skills add 命令从指定仓库添加。适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

来源仓库内路径:skills/ui-enhance-animate

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/zaaakher/agent-skills --skill ui-enhance-anima…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

ui-enhance-animate 怎么安装?

在终端执行 npx skills add https://github.com/zaaakher/agent-skills --skill ui-enhance-animate。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ui-enhance-animate 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ui-enhance-animate 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

ui-enhance-animate 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ui-enhance-animate 用的人多吗?

公开数据是累计安装 874 次,近一周安装 35 次,下载 283 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ui-enhance-animate 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
ui-enhance-animate

ui 增强动画 · 本页

8744只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

UI Enhancement + Staggered Animation Skill

This skill performs a full design upgrade of an existing website or component. It is NOT just about adding animations — it is a holistic visual refinement pass that touches typography, spacing, layout, depth, micro-interactions, and motion. The existing color palette is preserved; everything else can and should be improved.


Phase 1 — Audit & Understand Before Touching Anything

Before writing a single line of code, do a thorough read of the existing code. Extract and note:

  1. Color palette — all hex/hsl/rgb values, CSS variables, Tailwind color classes. These are sacred and must be preserved exactly.
  2. Font stack — what fonts are currently in use.
  3. Layout structure — is it CSS Grid, Flexbox, plain blocks? What's the overall page structure?
  4. Component inventory — list every distinct section/component: hero, navbar, cards, features, testimonials, CTA, footer, etc.
  5. Current weaknesses — visually identify what looks amateur or generic: flat cards, no spacing rhythm, weak typography hierarchy, no depth/shadow, boring hover states, no visual flow, walls of text, etc.
  6. Tech stack — React (use Framer Motion), plain HTML/CSS (use CSS animations + IntersectionObserver), Vue, etc.

Only after this audit should you begin making changes.


Phase 2 — Full Design Upgrade (Non-Animation)

Apply ALL of the following improvements that are relevant to the site. Be thorough — don't skip sections because they "look okay". Every part of the site should be elevated.

Typography

  • Introduce a clear typographic hierarchy: display sizes (clamp-based fluid sizing), section headings, subheadings, body, caption — each with distinct weight and size.
  • Replace generic system fonts (Arial, Helvetica, system-ui) with a distinctive pairing from Google Fonts or similar. A strong display/heading font paired with a clean readable body font.
  • Use letter-spacing for uppercase labels and overlines.
  • Add line-height rhythm: ~1.2 for headings, ~1.6–1.7 for body text.
  • Tighten long text blocks with max-width: 65ch for readability.

Spacing & Rhythm

  • Introduce a consistent spacing scale (e.g., 4/8/16/24/32/48/64/96px).
  • Increase section padding — most amateur sites are too cramped.
  • Add generous whitespace between section components.
  • Ensure consistent internal card/component padding.

Depth & Surfaces

  • Add layered box-shadow to cards, modals, and elevated surfaces. Use multi-layer soft shadows, not harsh single-layer ones.
  • Use subtle border with low-opacity color instead of hard outlines.
  • Apply backdrop-filter: blur() to glass-morphism elements like navbars or overlapping cards where appropriate.
  • Use subtle background differentiation between sections (slightly lighter/darker tint of existing colors).

Layout & Composition

  • Break out of purely uniform grid layouts. Use asymmetric or offset compositions where they add interest.
  • Add visual anchors: decorative elements, large background text/numbers, gradient blobs, or geometric shapes using the existing color palette (low opacity).
  • Ensure the hero is impactful with generous sizing and a strong focal point.
  • Use CSS Grid for complex layouts; avoid excessive nested divs.

Cards & Components

  • Round all corners consistently (usually 8–16px for cards, 6–8px for buttons/inputs).
  • Add hover states to all interactive elements: cards should lift (translateY + shadow), buttons should shift or glow.
  • Ensure buttons have visible padding, strong contrast, and consider adding a subtle icon or arrow.
  • Add transition: all 0.2s ease baseline to interactive elements.

Visual Polish Details

  • Add subtle gradient overlays to hero images or dark sections.
  • Use overflow: hidden on cards to clip child images and effects cleanly.
  • Ensure images use object-fit: cover and have defined aspect ratios.
  • Add divider treatments between sections (subtle border, gradient fade, or decorative wave/angle).
  • If there are icons, ensure they are consistently sized and optically aligned with text.

Phase 3 — Staggered Blur + Slide-Up Reveal Animations

Animation Philosophy

  • Animations should feel natural and elegant — not flashy or distracting.
  • Every major content section should animate in when it enters the viewport.
  • Use a staggered pattern: child elements within a section animate in one by one with a delay offset (e.g., 0.1s apart).
  • The animation: elements start opacity: 0, filter: blur(8px), translateY(24px) and transition to opacity: 1, filter: blur(0px), translateY(0).
  • Duration: 0.6s for most elements. Easing: ease-out or a custom cubic-bezier like cubic-bezier(0.16, 1, 0.3, 1) (snappy spring).
  • Respect prefers-reduced-motion — disable animations for users who opt out.

React — Framer Motion Implementation

Install if not present:

npm install framer-motion
Core Animation Variants
// lib/animations.ts
import { Variants } from "framer-motion";

export const fadeUpBlur: Variants = {
  hidden: {
    opacity: 0,
    y: 24,
    filter: "blur(8px)",
  },
  visible: {
    opacity: 1,
    y: 0,
    filter: "blur(0px)",
    transition: {
      duration: 0.6,
      ease: [0.16, 1, 0.3, 1],
    },
  },
};

export const staggerContainer: Variants = {
  hidden: {},
  visible: {
    transition: {
      staggerChildren: 0.1,
      delayChildren: 0.05,
    },
  },
};

// For heavier stagger (e.g., feature grids)
export const staggerContainerSlow: Variants = {
  hidden: {},
  visible: {
    transition: {
      staggerChildren: 0.15,
      delayChildren: 0.1,
    },
  },
};
Reusable AnimateInView Wrapper
// components/AnimateInView.tsx
import { motion, useInView } from "framer-motion";
import { useRef } from "react";
import { staggerContainer, fadeUpBlur } from "@/lib/animations";

interface AnimateInViewProps {
  children: React.ReactNode;
  className?: string;
  delay?: number;
  stagger?: boolean;
}

export function AnimateInView({
  children,
  className,
  delay = 0,
  stagger = false,
}: AnimateInViewProps) {
  const ref = useRef(null);
  const isInView = useInView(ref, { once: true, margin: "-80px" });

  if (stagger) {
    return (
      <motion.div
        ref={ref}
        className={className}
        variants={staggerContainer}
        initial="hidden"
        animate={isInView ? "visible" : "hidden"}
      >
        {children}
      </motion.div>
    );
  }

  return (
    <motion.div
      ref={ref}
      className={className}
      variants={fadeUpBlur}
      initial="hidden"
      animate={isInView ? "visible" : "hidden"}
      transition={{ delay }}
    >
      {children}
    </motion.div>
  );
}

// Individual animated child (use inside AnimateInView with stagger=true)
export function AnimatedItem({
  children,
  className,
}: {
  children: React.ReactNode;
  className?: string;
}) {
  return (
    <motion.div className={className} variants={fadeUpBlur}>
      {children}
    </motion.div>
  );
}
Usage Pattern
// Hero section — single block fade
<AnimateInView>
  <h1>Your Headline</h1>
  <p>Subheadline text here</p>
  <Button>CTA</Button>
</AnimateInView>

// Feature grid — staggered children
<AnimateInView stagger className="grid grid-cols-3 gap-6">
  {features.map((f) => (
    <AnimatedItem key={f.id}>
      <FeatureCard {...f} />
    </AnimatedItem>
  ))}
</AnimateInView>

// Section heading + body — slight delays
<div>
  <AnimateInView delay={0}>
    <h2>Section Title</h2>
  </AnimateInView>
  <AnimateInView delay={0.1}>
    <p>Section description</p>
  </AnimateInView>
</div>
Reduced Motion
// Wrap your app or layout:
import { LazyMotion, domAnimation, MotionConfig } from "framer-motion";

export function Providers({ children }: { children: React.ReactNode }) {
  return (
    <MotionConfig reducedMotion="user">
      <LazyMotion features={domAnimation}>
        {children}
      </LazyMotion>
    </MotionConfig>
  );
}

Plain HTML/CSS/JS — CSS + IntersectionObserver Implementation

CSS Animation Classes
/* Add to your global stylesheet */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
    transition:
      opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
      filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }

  /* Stagger delays for children */
  .stagger-children .reveal:nth-child(1) { transition-delay: 0.0s; }
  .stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
  .stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
  .stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
  .stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
  .stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }
  /* Add more as needed */
}
IntersectionObserver Script
// Add before closing </body>
const observer = new IntersectionObserver(
  (entries) => {
    entries.forEach((entry) => {
      if (entry.isIntersecting) {
        entry.target.classList.add("in-view");
        observer.unobserve(entry.target); // animate once
      }
    });
  },
  { rootMargin: "-80px 0px", threshold: 0.1 }
);

document.querySelectorAll(".reveal").forEach((el) => observer.observe(el));
Usage Pattern
<!-- Single block -->
<section>
  <div class="reveal">
    <h2>Section Title</h2>
    <p>Description text</p>
  </div>
</section>

<!-- Staggered grid -->
<div class="stagger-children grid">
  <div class="reveal card">Feature 1</div>
  <div class="reveal card">Feature 2</div>
  <div class="reveal card">Feature 3</div>
</div>

Phase 4 — Section-by-Section Application Guide

Apply improvements and animations to each section type as follows:

SectionDesign UpgradesAnimation Pattern
NavbarGlassmorphism backdrop-blur, subtle border-bottom, refined logo spacingFade in on load (no scroll trigger)
HeroLarge fluid type, strong hierarchy, gradient or decorative blob, CTA button polishSingle block stagger: headline → subtext → CTA button (0.1s each)
Features/GridCard depth (shadow + hover lift), icon refinement, consistent spacingStagger grid items with 0.1–0.15s offset
TestimonialsQuote styling, avatar polish, card surface differentiationStagger cards left-to-right
Stats/NumbersOversized numbers with accent color, label typography, divider linesEach stat fades in with offset
CTA SectionStrong background treatment, button refinement, generous paddingSingle block reveal
FooterColumn spacing, link hover states, subtle dividersSingle reveal

Phase 5 — Quality Checklist

Before delivering the result, verify:

  • All original colors are preserved (no new palette colors introduced)
  • Every section has at least one .reveal / AnimateInView wrapper
  • Stagger is applied to all grid/list/card groups of 2+ items
  • prefers-reduced-motion is respected
  • Hover states exist on all interactive elements
  • Typography has clear hierarchy (not all same size/weight)
  • Cards/surfaces have depth (shadow, border, or background distinction)
  • Spacing feels generous and rhythmic — not cramped
  • No generic placeholder improvements — every change is intentional and visible
  • The site feels noticeably more polished than before

Notes & Edge Cases

  • If the site uses Tailwind: Use motion.div from Framer Motion with Tailwind classes. Add arbitrary values for blur: [filter:blur(8px)] or inline styles for the animation initial state.
  • If colors are defined as Tailwind config values: Reference them in the animation components but don't change them.
  • If there are images: Ensure they have defined height/aspect-ratio + object-fit: cover. Consider adding subtle scale-on-hover.
  • For dark sites: Glassmorphism works especially well. Use bg-white/5 or similar low-opacity whites for card surfaces.
  • For light sites: Use soft, layered shadows (shadow-sm + shadow-md combo). Use slight background tints to distinguish sections.
  • Performance: blur() filter animations can be GPU-intensive on low-end devices. If performance is a concern, drop the blur and use only opacity + translateY.

平台分布

Codex

35.55%
按下载量换算101

Claude

31.25%
按下载量换算88

Cursor

17.16%
按下载量换算49

Gemini CLI

10.2%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills