Communitygithub.com

Anhvu1107/all-agent-skill

始终在请求与Animejs动画匹配时使用此技能:用于创建复杂、高性能网页动画的高级JavaScript动画库技能。

all-agent-skill 是什么?

此技能专为AI代理(如Claude Code、Cursor、Codex等)设计,用于创建基于Anime.js库的高保真、高性能网页动画。Anime.js是一个轻量级但功能强大的JavaScript动画引擎,擅长处理复杂时间线、交错动画以及DOM、CSS和SVG的精确控制。该技能提供了完整的执行工作流程,包括识别动画目标、定义属性和缓动函数、使用`anime.timeline()`协调多阶段编排,并强制要求使用高级缓动函数(如自定义`cubicBezier`、`spring`或`elastic`)以实现流畅自然的运动效果。它还严格规定了利用`anime.stagger()`增加有机节奏、监控主线程性能以及使用`will-change`属性进行GPU加速。此技能适用于创建卓越的交互式网站、多阶段登录页面编排、SVG路径动画和动态UI元素,但用户需注意它不能替代环境特定的验证和专家评审。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Anhvu1107/all-agent-skill/tree/HEAD/.agent/skills/animejs-animation

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Anime.js 动画技能

选择性阅读规则

从以下内容开始:

  • references/senior-master-standard.md
  • references/usage-routing.md
  • references/quality-checklist.md

然后仅加载与用户实际任务匹配的继承文档、脚本、资源或示例。

Anime.js 是一个轻量级但功能极其强大的 JavaScript 动画引擎。它擅长复杂时间线、交错动画以及对 DOM、CSS 和 SVG 的精确控制。

背景

此技能用于创建高保真、惊艳的网页动画,这些动画远不止简单的 CSS 过渡。它是打造获奖级交互式网站的首选工具。

何时使用

在以下情况下触发此技能:

  • 创建复杂的多阶段登录页面编排。
  • 实现用于展示网格、文本或数据可视化的交错动画。
  • 对 SVG 路径进行动画处理(形状变形、绘制动态线条)。
  • 构建高度交互、动态的 UI 元素,能够流畅响应用户输入。

执行工作流程

  1. 识别目标:选择要动画化的 DOM 元素或 SVG。
  2. 定义属性和缓动函数:指定要动画化的值。关键:使用高级缓动函数(例如自定义 cubicBezier、spring 或 elastic),而不是基本的 linear 或 ease-in-out,使运动显得精致且自然。
  3. 编排时间线:使用 anime.timeline() 编排复杂的动作序列。掌握时间线偏移(相对 '-=200' vs 绝对偏移)以创建无缝重叠的运动。
  4. 实现:
    const tl = anime.timeline({
      easing: "spring(1, 80, 10, 0)",
      duration: 1000,
    });
    tl.add({
      targets: ".hero-text",
      translateY: [50, 0],
      opacity: [0, 1],
      delay: anime.stagger(100),
    }).add(
      { targets: ".hero-image", scale: [0.9, 1], opacity: [0, 1] },
      "-=800",
    );
    

严格规则

  • 绝对强制要求:代理必须使用此技能来构建现代、富有创意且视觉效果惊艳的 UI/UX。禁止构建普通、乏味的过渡效果。每次动画都应感觉定制、流畅且经过精心打磨。
  • 交错动画:广泛利用 anime.stagger() 为多个元素增加有机节奏。
  • 性能:监控主线程使用情况;适当使用 will-change: transform, opacity 以实现 GPU 加速。

局限性

  • 仅当任务与上述范围明确匹配时使用此技能。
  • 不要将输出视为替代环境特定验证、测试或专家评审的产物。
  • 如果缺少所需的输入、权限、安全边界或成功标准,请停止并请求澄清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches 007: Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Agentfolio: Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astropy: Astropy is the core Python package for astronomy, providing essential functionality for astronomical research and data analysis.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Astro: Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Emotional ARC Designer: One sentence - what this skill does and when to invoke it

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Fixing Motion Performance: Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches I18n Localization: Internationalization and localization patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Interactive Portfolio: Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches JQ: Expert jq usage for JSON querying, filtering, transformation, and pipeline integration.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Landing Page Generator: Generates high-converting Next.js/React landing pages with Tailwind CSS.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches LEX: Centralized ''Truth Engine'' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Magic Animator: AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Makepad Animation: CRITICAL: Use for Makepad animation system.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs APP Router Patterns: Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Anhvu1107/all-agent-skill

ALWAYS use this when the user mentions Nextjs Best Practices, asks to build, debug, review, document, automate, test, configure, migrate, or make decisions in this domain, or the task clearly depends on Nextjs Best Practices; scope: Next.js App Router principles. Apply the bundled workflow, references, scripts, Senior Master standard, and Codex strict review gate before final output.

Anhvu1107/all-agent-skill

description: ALWAYS use this when the work is specifically about modern Next.js or React architecture, data flow, rendering strategy, routing, or performance-sensitive frontend behavior.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches Nextjs Supabase Auth: Expert integration of Supabase Auth with Next.js App Router

Anhvu1107/all-agent-skill

ALWAYS use this when the task involves reading, extracting, splitting, merging, rotating, creating, validating, OCR-ing, form-filling, or otherwise producing or modifying PDF files.

Anhvu1107/all-agent-skill

ALWAYS use this when the request matches React Nextjs Development: React and Next.js 14+ application development with App Router, Server Components, TypeScript, Tailwind CSS, and modern frontend patterns.

Anhvu1107/all-agent-skill

ALWAYS use this when working with Remotion code, video compositions, rendering logic, timing, media assets, or React-based motion workflows.

相关技能