Compétences gsap-animations
🎬

gsap-animations

Sûr 🌐 Accès réseau⚙️ Commandes externes

アクセシビリティに配慮した滑らかなGSAPアニメーションを作成

Webアニメーションはアクセシビリティテストに失敗したり、パフォーマンスを損なったりすることがよくあります。このスキルは、ユーザーの設定を尊重し、60fpsを維持する本番対応のGSAPパターンを提供します。

Prend en charge: Claude Codex Code(CC)
📊 69 Adéquat
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

Activez et commencez à utiliser

Tester

Utilisation de "gsap-animations". Create a hero section animation with background scale, title fade, and subtitle slide

Résultat attendu:

  • タイムラインベースのアニメーションシーケンスを作成
  • GPUアクセラレーション対応のプロパティ(scale、opacity、y)を使用
  • reduced motionのアクセシビリティチェックを含む
  • SPAナビゲーション向けのクリーンアップ関数を提供
  • 60fpsに最適化されたアニメーション時間

Utilisation de "gsap-animations". Add scroll-triggered cards that fade in one by one

Résultat attendu:

  • カードのスタッガーアニメーションを設定
  • ScrollTriggerをビューポートの75%で開始するよう設定
  • 複数カード向けにバッチ処理を有効化
  • コンポーネントのアンマウント用クリーンアップ関数を提供

Audit de sécurité

Sûr
v5 • 1/16/2026

This is a documentation-only skill containing GSAP animation best practices. No executable code, network calls, or file system access. Pure educational content with code examples for implementing animations safely. All 103 static findings are false positives - the scanner incorrectly flagged markdown code formatting backticks as shell execution and legitimate CDN URLs as hardcoded endpoints.

2
Fichiers analysés
817
Lignes analysées
2
résultats
5
Total des audits

Score de qualité

38
Architecture
100
Maintenabilité
87
Contenu
19
Communauté
100
Sécurité
87
Conformité aux spécifications

Ce que vous pouvez construire

テーマにスクロールアニメーションを追加

適切なスクリプトのenqueueとアクセシビリティを考慮し、WordPressテーマに高性能なフェードインとパララックス効果を実装します。

既存のGSAPアニメーションを最適化

GPUアクセラレーション対応のプロパティのみを使うようにアニメーションをリファクタリングし、アクセシビリティ向上のためにreduced motion対応を追加します。

アニメーション付きサイトを一貫してテスト

提供されたテストヘルパーを使い、アニメーション完了時のスクリーンショットを取得してビジュアルリグレッションテストを行います。

Essayez ces prompts

基本的なフェードアニメーション
Create a GSAP fade-in animation for elements with class 'fade-in' that triggers when they enter the viewport. Include accessibility support for reduced motion.
スクロールで発火するパララックス
Show me how to create a subtle parallax effect on images that moves them 20% slower than scroll. Make it performant and mobile-friendly.
WordPress統合
Provide the complete WordPress PHP code to properly enqueue GSAP and ScrollTrigger from CDN with theme animations file.
アニメーションのパフォーマンス監査
Analyze this GSAP animation code and identify any performance issues or properties that might cause layout thrashing: [paste code]

Bonnes pratiques

  • アニメーションの前に必ずprefers-reduced-motionを確認し、代替手段を提供する
  • レイアウトプロパティ(width、height、top、left)ではなく、transformプロパティ(x、y、scale、rotation)を使用する
  • ブラウザのDevToolsだけでなく、実機のモバイル端末でアニメーションをテストする

Éviter

  • レイアウト再計算を引き起こすwidth、height、positionプロパティのアニメーション
  • 本番コードでmarkers: trueを使用すること - デバッグ用マーカーは必ず削除する
  • シングルページアプリケーションでクリーンアップ関数なしにアニメーションを作成する

Foire aux questions

すべてのブラウザに対応していますか?
GSAPはすべての最新ブラウザで動作します。IE11をサポートする場合は、最新のJavaScript機能向けのポリフィルとともにGSAP 3.xを使用してください。
Club GreenSockの会員資格は必要ですか?
コアのGSAPは無料です。SplitTextのようなプレミアムプラグインには会員資格が必要ですが、このスキルはCSS代替手段を提供します。
ReactやVueで使えますか?
はい。ただし、useEffect(React)やライフサイクルフック(Vue)でアニメーションをラップし、アンマウント時にクリーンアップしてメモリリークを防いでください。
既存のWordPressテーマと統合するにはどうすればよいですか?
テーマのfunctions.phpファイルで提供されたwp_enqueue_scriptの例を使用し、更新のために子テーマからenqueueしてください。
モバイルでアニメーションがカクつくのはなぜですか?
transformプロパティのみをアニメーションさせ、レイアウトプロパティは避けてください。また、シミュレーターでは実際のパフォーマンスが分からないため、実機でテストしてください。
ScrollTriggerの位置をデバッグするには?
markers: trueを一時的に有効にしてトリガーポイントを可視化します。console.logで要素の位置とビューポート計算を確認してください。

Détails du développeur

Structure de fichiers

📄 SKILL.md