Communitygithub.com

Anhvu1107/all-agent-skill

請務必在請求符合 Anime.js 動畫時使用此技能:這是一個用於建立複雜、高效能網頁動畫的進階 JavaScript 動畫庫技能。

all-agent-skill 是什麼?

Anhvu1107/all-agent-skill 是一個專為 AI 代理設計的技能,用於運用 Anime.js 程式庫建立高品質、效能優異的網頁動畫。它引導代理使用進階動畫概念,如自訂緩動函數(spring、elastic)、`anime.timeline()` 編排以及 `anime.stagger()` 製造韻律感,超越基礎的 CSS 過渡效果。此技能支援 Claude Code、Cursor 等代理平台,其工作流程包含識別目標元素、定義進階動畫屬性,以及實施效能最佳化(例如使用 `will-change` 啟用 GPU 加速)。它的嚴格規範要求代理避免平庸的動畫,專注於打造視覺上令人驚豔且流暢自然的互動體驗。

相容平台~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 動畫引擎。它擅長複雜的時間軸、階層(stagger)以及對 DOM、CSS 和 SVG 的精確控制。

背景

此技能用於建立高保真、令人驚豔的網頁動畫,遠遠超越簡單的 CSS 過渡效果。它是打造獎項級互動網站的工具首選。

使用時機

當以下情況發生時,觸發此技能:

  • 建立複雜的多階段登陸頁面編排。
  • 實作用於揭示網格、文字或資料視覺化的階層動畫。
  • 為 SVG 路徑製作動畫(變形形狀、繪製動態線條)。
  • 建立高度互動、充滿動感的 UI 元素,能夠流暢地回應使用者輸入。

執行工作流程

  1. 識別目標:選取要製作動畫的 DOM 元素或 SVG。
  2. 定義屬性與緩動:指定要動畫化的數值。關鍵在於,使用進階的緩動函數(例如自訂 cubicBezier、spring 或 elastic),而非基本的 linear 或 ease-in-out,以營造出昂貴且自然的運動感。
  3. 編排時間軸:使用 anime.timeline() 來安排複雜的編舞。掌握時間軸偏移(相對 '-=200' v.s. 絕對)的使用,創造無縫重疊的動作。
  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。不要建立普通、乏味的過渡效果。每個動畫都應感覺獨一無二、流暢且高度精緻。
  • 階層(Staggering):廣泛利用 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.

相關技能