daino92/dev-ai-config/visual-skills-front

Claude Code and agent skill by daino92/dev-ai-config

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Add and use Lenis, GSAP, Vanta, or React Bits in an existing website when the user asks for smooth scrolling, scroll animation, an animated background, or a React visual effect.

Install

npx vskill@latest install daino92/dev-ai-config/visual-skills-front

SKILL.md

The same SKILL.md was published earlier as daino92/dev-ai-config/visual-skills-front.

Visual skills for frontend projects

This skill guides project-level use of four JavaScript libraries. It is not a global library installer. Add only the library and effect needed for the user's request; check the project's framework, package manager, existing dependencies, visual style, and motion behavior first. Use the current official documentation linked below because APIs and install commands can change.

Choose the tool

GoalTool
Smooth page scrollingLenis
Sequenced or scroll-driven animationGSAP; add ScrollTrigger only for scroll-driven work
Animated WebGL backgroundVanta
Ready-made visual component in a React siteReact Bits

If the request is vague, prefer the smallest effect that serves the page. Do not add a motion library when CSS or an existing dependency already solves the task. React Bits requires React; do not convert a non-React project just to use it.

Install and use

The commands below use npm as examples. Use the package manager already present in the project, and skip packages already installed. Make changes inside the website project, never globally on the Mac.

Lenis — smooth scroll
  • Install: npm install lenis. Import lenis/dist/lenis.css. For React, use the lenis/react adapter when it fits the existing app.
  • Use: Create one Lenis instance for the page or scroll container. In a plain JavaScript app, new Lenis({ autoRaf: true }) is the basic setup. If the project owns its animation loop, call lenis.raf(time) there instead of starting a second loop. Clean up with lenis.destroy() when the owning view ends.
  • Check: Anchor links, browser history, nested scroll areas, menus, dialogs, touch scrolling, and prefers-reduced-motion. Keep native scrolling where smoothing causes a usability problem. For GSAP ScrollTrigger, synchronize Lenis scroll events and the GSAP ticker using the current official example.
  • Source: Lenis README and React adapter.
GSAP — targeted animation
  • Install: npm install gsap. Import gsap and only the plugins needed, such as ScrollTrigger from gsap/ScrollTrigger; register imported plugins with gsap.registerPlugin(...).
  • Use: Animate the requested elements with a scoped timeline or tween. For scroll effects, attach a ScrollTrigger to the relevant element. In React, use a component-scoped GSAP context or the current official React integration and revert it on unmount. Keep text and controls visible if JavaScript fails.
  • Check: Animation timing, repeated mounts, resize behavior, mobile layout, and prefers-reduced-motion. If Lenis already controls scrolling, use one synchronized loop rather than competing controllers.
  • Source: GSAP installation and ScrollTrigger.
Vanta — animated background
  • Install: npm install vanta and the renderer required by the selected effect: three for three.js effects or p5 for p5.js effects. Verify compatible versions in the current documentation before installing.
  • Use: Import only the chosen effect, such as vanta/dist/vanta.birds.min. Initialize it after the target element exists, passing that element as el and the selected renderer as THREE or p5. Store the returned instance and call .destroy() when the view unmounts or the effect changes. Initialize on the client in server-rendered frameworks.
  • Check: Readable text and clickable controls over the background, mobile performance, navigation cleanup, and a static fallback for reduced motion, missing WebGL support, or initialization failure.
  • Source: Vanta README.
React Bits — one React component
  • Install: Confirm the project uses React. Pick a component and its JS/TS and CSS/Tailwind variant from the official collection or repository. Follow that component page's current copy or CLI command; for a project already using shadcn, an example is npx shadcn@latest add @react-bits/BlurText-TS-TW. Add only that component and its listed dependencies.
  • Use: Import the generated component from its actual project path and render it in the requested place. Adjust its props and styles to match the site. Do not copy the full collection or add an unrelated effect just because it is available.
  • Check: React compatibility, responsive layout, readable fallback content, prefers-reduced-motion, and cleanup for any animation or event listeners used by the chosen component.

Finish the project task

Run the project's relevant build or checks and inspect the result at desktop and mobile sizes. Report which library and effect were used, what was installed, and what was verified. Do not publish the website unless the user asks.

To invoke this skill explicitly, the user can ask: Χρησιμοποίησε το $visual-skills-front για να προσθέσεις Lenis/GSAP/Vanta/React Bits στο website project μου.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/daino92/dev-ai-config/visual-skills-front/badge)](https://verified-skill.com/skills/daino92/dev-ai-config/visual-skills-front)

Something wrong with this skill or its page? Tell us.