Communitygithub.com

Biznomad/claude-skills

Modèles d'adaptation d'animations CSS pour HyperFrames. À utiliser lors de la création d'animations basées sur des keyframes CSS, du timing avec animation-delay, animation-fill-mode, animation-play-state, ou des mouvements en CSS pur qu'HyperFrames doit rechercher de manière déterministe pendant l'aperçu et le rendu.

Qu'est-ce que claude-skills ?

Ce skill fournit des modèles d'adaptation pour utiliser des animations CSS avec HyperFrames, permettant de rechercher et contrôler des animations keyframes de manière déterministe pendant l'aperçu et le rendu. Il couvre les motifs répétés simples, les animations de fond, les effets de scintillement, les lueurs, les masques et les décorations non séquencées. Le skill détaille le contrat entre l'élément animé et le runtime HyperFrames, notamment via l'utilisation d'attributs data-start, data-duration et data-track-index, ainsi que des valeurs finies pour animation-duration et animation-iteration-count. Il propose deux modèles principaux : le motif de base (Basic Pattern) pour un élément unique avec une animation définie, et le motif d'échelonnement (Stagger Pattern) qui utilise des propriétés CSS personnalisées pour éviter la duplication de keyframes. Le skill met en garde contre les animations infinies, le changement de classes après le démarrage, et l'utilisation de propriétés de layout comme top/left/width/height si des transformations suffisent. Il inclut des commandes de validation via npx hyperframes lint et npx hyperframes validate, et référence la source de l'adaptateur dans packages/core/src/runtime/adapters/css.ts ainsi que la documentation MDN.

Compatible avec✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Biznomad/claude-skills/tree/HEAD/css-animations

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Animations CSS pour HyperFrames

HyperFrames peut rechercher des animations CSS keyframes via son adaptateur runtime css. Utilisez cela pour des motifs répétés simples, des mouvements de fond, des effets de scintillement, des lueurs, des masques et des décorations non séquencées.

Pour la chorégraphie de scènes, GSAP est généralement plus clair. Les animations CSS fonctionnent mieux lorsque le mouvement appartient à un seul élément et a une durée fixe.

Contrat

  • Placez l'élément animé dans le DOM avant la fin de l'initialisation du runtime.
  • Donnez aux éléments temporisés une valeur data-start pour que le temps d'animation local corresponde au clip.
  • Utilisez animation-duration et animation-iteration-count finies car le repli sur le délai négatif ne peut pas représenter une durée illimitée dans des environnements sans animations CSS basées sur WAAPI.
  • Préférez animation-fill-mode: both pour que les états recherchés soient maintenus avant et après le mouvement actif.
  • Évitez le JavaScript basé sur l'horloge, l'état déclenché par survol et les bascules de classe dépendant d'événements utilisateur.

L'adaptateur détecte les éléments avec animation-name calculé, recherche leurs poignées Animation du navigateur lorsqu'elles sont disponibles, et se replie sur la pause avec animation-delay négatif.

Motif de Base

<div
  id="pulse-ring"
  class="clip pulse-ring"
  data-start="0"
  data-duration="4"
  data-track-index="2"
></div>

<style>
  .pulse-ring {
    width: 280px;
    height: 280px;
    border: 4px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation-name: pulse-ring;
    animation-duration: 1200ms;
    animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
    animation-iteration-count: 3;
    animation-fill-mode: both;
  }

  @keyframes pulse-ring {
    from {
      opacity: 0;
      transform: scale(0.82);
    }
    35% {
      opacity: 1;
    }
    to {
      opacity: 0;
      transform: scale(1.18);
    }
  }
</style>

Motif d'Échelonnement

Utilisez des propriétés CSS personnalisées pour éviter de dupliquer les keyframes :

<div class="clip dots" data-start="1" data-duration="3" data-track-index="3">
  <span style="--i: 0"></span>
  <span style="--i: 1"></span>
  <span style="--i: 2"></span>
</div>

<style>
  .dots span {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: dot-pop 900ms ease-out both;
    animation-delay: calc(var(--i) * 120ms);
  }

  @keyframes dot-pop {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.75);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
</style>

Bonnes Utilisations

  • Boucles décoratives avec un nombre de répétitions connu.
  • Masques, lueurs, scintillements, grain et couches de parallaxe subtiles.
  • Entrées simples d'un seul élément où une timeline JS complète serait excessive.

À Éviter

  • Animations CSS infinies sauf si vous avez vérifié que le navigateur expose des poignées d'animation CSS basées sur WAAPI pouvant être recherchées. Préférez un nombre fini d'itérations couvrant la durée visible.
  • Animer des propriétés de mise en page comme top, left, width ou height lorsque des transformations suffisent.
  • Compter sur le survol, le focus, le défilement ou les requêtes média pour déclencher un mouvement critique pour le rendu.
  • Changer les classes d'animation après le démarrage, sauf si une autre timeline déterministe contrôle ce changement.

Validation

Après avoir édité des compositions d'animations CSS :

npx hyperframes lint
npx hyperframes validate

Crédits et Références

Individual skills in this repo

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

Biznomad/claude-skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 25 checks with emphasis on creative-first strategy, safe zone compliance, and Smart+ campaigns. Use when user says "TikTok Ads", "TikTok marketing", "TikTok Shop", "Spark Ads", "Smart+", or "TikTok campaign".

Biznomad/claude-skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, and Demand Gen formats. Use when user says "YouTube Ads", "video ads", "pre-roll", "bumper ads", "YouTube campaign", or "Shorts ads".

Biznomad/claude-skills

Help users get promoted at work. Use when someone is preparing for a promotion conversation, building their case for advancement, trying to understand what's blocking their promotion, or figuring out how to get to the next level in their career.

Biznomad/claude-skills

HyperFrames CLI dev loop — `npx hyperframes` for scaffolding (init), validation (lint, inspect), preview, render, and environment troubleshooting (doctor, browser, info, upgrade). Use when running any of these commands or troubleshooting the HyperFrames build/render environment. For asset preprocessing commands (`tts`, `transcribe`, `remove-background`), invoke the `hyperframes-media` skill instead.

Biznomad/claude-skills

Asset preprocessing for HyperFrames compositions — text-to-speech narration (Kokoro), audio/video transcription (Whisper), and background removal for transparent overlays (u2net). Use when generating voiceover from text, transcribing speech for captions, removing the background from a video or image to use as a transparent overlay, choosing a TTS voice or whisper model, or chaining these (TTS → transcribe → captions). Each command downloads its own model on first run.

Biznomad/claude-skills

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, and registry discovery.

Biznomad/claude-skills

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For dev-loop CLI commands (init, lint, inspect, preview, render) see the hyperframes-cli skill; for asset preprocessing commands (tts, transcribe, remove-background) see the hyperframes-media skill.

Biznomad/claude-skills

Optimize landing pages for higher conversion rates using proven frameworks and design patterns. Use when designing, reviewing, or improving landing pages, hero sections, pricing pages, CTAs, or when the user asks about conversion optimization.

Biznomad/claude-skills

Building promotion cases, brag documents, tracking wins, and self-advocacy for career advancement. Use when preparing for promotions, documenting accomplishments, or building your case for advancement.

Biznomad/claude-skills

Translate an existing Remotion (React-based) video composition into a HyperFrames HTML composition. Use ONLY when the user explicitly asks to port, convert, migrate, translate, or rewrite a Remotion composition as HyperFrames (e.g. "port my Remotion project to HyperFrames"). Do NOT use when (a) authoring a NEW HyperFrames composition (even if A/B-testing a Remotion video); (b) Remotion is mentioned in passing; (c) Remotion code is shared as reference, not for translation; (d) the user wants "the same video as my Remotion one" without explicitly asking to migrate the source — treat as a fresh HyperFrames build. When in doubt, default to the `hyperframes` skill. Detects unsupported patterns (useState, useEffect side effects, async calculateMetadata, third-party React component libraries, `@remotion/lambda`) and recommends the runtime interop escape hatch instead of a lossy translation.

Biznomad/claude-skills

Produce programmable videos with Remotion using scene planning, asset orchestration, and validation gates for automated, brand-consistent video content.

Biznomad/claude-skills

Generate cinematic film-style video prompts for Seedance 2.0 on Higgsfield. Use whenever the user wants cinematic, film-like, movie-quality, Hollywood-style, dramatic, or professional film-quality AI video. Triggers on: cinematic, film look, movie scene, dramatic lighting, depth of field, lens flare, anamorphic, letterbox, noir, epic, Steadicam, dolly, crane shot, or any cinematic video generation request. Always use this skill even if the user doesn't explicitly say "cinematic" but describes a film-like aesthetic.

Biznomad/claude-skills

为 Seedance 2.0(Higgsfield)生成电影级胶片风格视频提示词。在用户想要电影级、胶片感、电影质量、好莱坞风格、戏剧性或专业胶片质量的AI视频时使用。触发词:电影级、胶片感、电影场景、戏剧性打光、景深、镜头光晕、变形、信箱式、黑色电影、史诗、稳定摄像机、推车镜头、吊臂镜头或任何电影级视频生成请求。即使用户没有明确说"电影级"但描述了胶片美学,也要使用此技能。

Biznomad/claude-skills

Convert comic book panels, manga pages, webtoons, and illustrated storyboards into animated video using Seedance 2.0 on Higgsfield. Use whenever the user wants to animate comics, bring illustrations to life, convert manga to video, animate storyboards, or create motion from static sequential art. Triggers on: comic to video, manga animation, panel animation, storyboard to video, webtoon animation, comic book motion, sequential art, graphic novel animation, or any illustrate-to-animate request. Use even when user says "make this drawing move" or "animate this page.

Biznomad/claude-skills

Generate music video and beat-synced visual content prompts for Seedance 2.0 on Higgsfield. Use whenever the user wants to create a music video, lyric video, beat-synced visuals, performance video, concert visual, album art animation, or music-driven visual content. Triggers on: music video, lyric video, beat sync, music visualization, performance video, concert visual, album visual, song video, music clip, beat drop visual, rhythm sync, or any music-driven video request. Use even for "make visuals for my song" or "video for this track.

Biznomad/claude-skills

Build, redesign, and deploy websites across any stack — static HTML, Next.js, Astro, or Shopify Liquid themes. Handles design systems, brand-aware layouts, component architecture, and deployment pipelines (Netlify, Vercel, Shopify API). Use when asked to build a website, redesign a site, create a landing page, build a web app, create Shopify sections/templates, or deploy web projects. Triggers on requests like "build me a website", "redesign this page", "create a landing page", "build a Shopify theme", "deploy to Netlify".

Biznomad/claude-skills

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

Skills associés