Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计通过

gsap-routergsap 路由器

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,853

周安装

78

GitHub Stars

8

下载量

649
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bbeierle12/skill-mcp-claude --skill gsap-router

简介

gsap-router 用于辅助前端页面、组件和样式开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。
  • 使用时需要结合项目现有设计系统和路由结构。
  • 避免只生成孤立片段,应配合本地预览确认视觉效果。
  • 涉及页面改动时,建议通过构建检查验证兼容性。

SKILL.md

GSAP Router

Routes to 4 specialized skills based on animation requirements.

Routing Protocol

  1. Classify — Identify animation type from user request
  2. Match — Apply signal matching rules below
  3. Combine — Production animations often need 2-3 skills together
  4. Load — Read matched SKILL.md files before implementation

Quick Route

Tier 1: Core (Start Here)

NeedSkillSignals
Basic animations, easinggsap-fundamentalstween, animate, ease, from, to, duration, delay
Complex sequencesgsap-sequencingtimeline, sequence, orchestrate, labels, callbacks
Scroll animationsgsap-scrolltriggerscroll, pin, scrub, parallax, reveal, sticky
React integrationgsap-reactReact, useGSAP, ref, hook, cleanup, context

Signal Matching

Primary Signals

gsap-fundamentals:

  • "animate", "tween", "transition"
  • "ease", "easing", "timing"
  • "from", "to", "fromTo"
  • "duration", "delay", "repeat"
  • "stagger", "properties"

gsap-sequencing:

  • "timeline", "sequence", "orchestrate"
  • "labels", "callbacks", "nested"
  • "position parameter", "overlap"
  • "complex animation", "choreography"
  • "play", "pause", "reverse", "seek"

gsap-scrolltrigger:

  • "scroll", "ScrollTrigger"
  • "pin", "sticky", "fixed"
  • "scrub", "parallax"
  • "reveal on scroll", "snap"
  • "progress indicator"

gsap-react:

  • "React", "component"
  • "useGSAP", "useRef", "hook"
  • "cleanup", "context"
  • "event handler", "state"

Confidence Scoring

  • High (3+ signals) — Route directly to matched skill
  • Medium (1-2 signals) — Route with fundamentals as foundation
  • Low (0 signals) — Start with gsap-fundamentals

Common Combinations

Basic Animation (1 skill)

gsap-fundamentals → Tweens, easing, basic properties

React Component Animation (2 skills)

gsap-fundamentals → Animation principles, easing
gsap-react → Hook patterns, cleanup, refs

Scroll-Based Experience (3 skills)

gsap-scrolltrigger → Scroll triggers, pinning
gsap-sequencing → Timeline for pinned sections
gsap-fundamentals → Individual animations

Full Production (3-4 skills)

gsap-fundamentals → Core animations
gsap-sequencing → Complex orchestration
gsap-react → Framework integration
gsap-scrolltrigger → Scroll interactions (if needed)

Decision Table

FrameworkAnimation TypeComplexityRoute To
Vanilla JSSimpleLowfundamentals
Vanilla JSSequencedMediumfundamentals + sequencing
Vanilla JSScroll-basedMediumfundamentals + scrolltrigger
ReactSimpleLowfundamentals + react
ReactComplexHighAll four skills
ReactScrollMediumreact + scrolltrigger

Animation Categories

Motion Type → Skill Mapping

Animation TypePrimary SkillSupporting Skill
Fade in/outgsap-fundamentals-
Slide/movegsap-fundamentals-
Scale/rotategsap-fundamentals-
Staggergsap-fundamentals-
Page transitionsgsap-sequencingfundamentals
Orchestrated revealsgsap-sequencingfundamentals
Scroll revealsgsap-scrolltriggerfundamentals
Parallaxgsap-scrolltrigger-
Pinned sectionsgsap-scrolltriggersequencing
React animationsgsap-reactfundamentals
React + scrollgsap-reactscrolltrigger

Integration with Other Domains

With R3F (r3f-*)

r3f-fundamentals → 3D scene setup
gsap-fundamentals → Object property animation
gsap-sequencing → Camera movements, scene transitions

GSAP animates Three.js object properties via onUpdate.

With Post-Processing (postfx-*)

postfx-composer → Effect setup
gsap-fundamentals → Animate effect parameters
gsap-sequencing → Transition between effect states

GSAP drives effect intensity, colors, etc.

With Audio (audio-*)

audio-playback → Music timing
gsap-sequencing → Sync animations to audio cues
gsap-fundamentals → Audio-reactive property changes

Timeline callbacks sync with audio events.

With Particles (particles-*)

particles-systems → Particle emitters
gsap-fundamentals → Animate emitter properties
gsap-sequencing → Particle burst sequences

Workflow Patterns

Page Load Animation

1. gsap-fundamentals → Understand tweens, easing
2. gsap-sequencing → Build entrance timeline
3. gsap-react → Integrate with React (if applicable)

Scroll Experience

1. gsap-scrolltrigger → Set up triggers, pins
2. gsap-sequencing → Build scrubbed timelines
3. gsap-fundamentals → Individual animation properties

Interactive UI

1. gsap-fundamentals → Hover, click animations
2. gsap-react → Event handlers, cleanup
3. gsap-sequencing → Complex interaction sequences

Temporal Collapse Stack

For the New Year countdown project:

gsap-fundamentals → Digit animations, pulse effects, easing
gsap-sequencing → Countdown sequence, final moment orchestration
gsap-react → Component integration, cleanup

Key animations:

  • Digit flip on time change
  • Pulse/glow intensity over time
  • Final countdown dramatic sequence
  • Celebration reveal at zero

Quick Reference

Task → Skills

TaskPrimarySecondary
"Animate this element"fundamentals-
"Create entrance animation"fundamentalsreact
"Build page transition"sequencingfundamentals
"Animate on scroll"scrolltriggerfundamentals
"React component animation"reactfundamentals
"Pinned scroll section"scrolltriggersequencing
"Complex animation sequence"sequencingfundamentals
"Staggered list animation"fundamentalsreact

Easing Quick Reference

FeelEase
Snappy UIpower2.out
Smooth entrancepower3.out
Playful bounceback.out(1.7)
Springyelastic.out
Ball dropbounce.out
Linear/mechanicalnone

Fallback Behavior

  • No framework stated → Assume vanilla JS, start with gsap-fundamentals
  • React mentioned → Add gsap-react to combination
  • Scroll mentioned → Add gsap-scrolltrigger
  • "Complex" or "sequence" → Add gsap-sequencing
  • Unclear requirements → Start with gsap-fundamentals

Performance Priority

When performance is critical:

  1. gsap-fundamentals — Use transforms, avoid layout properties
  2. gsap-react — Proper cleanup prevents memory leaks
  3. gsap-scrolltrigger — Use scrub wisely, batch updates
  4. gsap-sequencing — Reuse timelines, don't recreate

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

27.91%
按下载量换算181

Claude Code

23.44%
按下载量换算152

OpenCode

19.1%
按下载量换算124

Cursor

11.97%
按下载量换算78

Codex

7.97%
按下载量换算52

Gemini CLI

3.21%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills