agentleFS
RamezHanyRamezHany/payload-cms-skills/skills/creative-frontend/SKILL.md

creative-frontend

Skill0 starsChanged 13 days agoMITView on GitHub

Add free motion, 3D, and copied UI components to a Payload Next.js site. Use for GSAP, Lenis, Motion, Theatre.js, Rive, three.js, React Three Fiber, Uiverse, React Bits, Cult UI, Magic UI, Animate UI, Aceternity UI, hover.dev, 21st.dev, recent.design, or a Codrops demo. Checks the license and free tier before any install or copy. Paid and Pro components stay out.

  • Installs packages

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add an effect only when a frame or the brief asks for it.

    line 11
  2. Distinctive:

    Use today's date. Paid, Pro, All-access, and unlicensed items do not get a line and do not get installed.

    line 21
  3. Very specific:

    Do not install framer-motion.

    line 36
  4. Very specific:

    Read prefers-reduced-motion: reduce before starting a timeline, Lenis, or a self-playing canvas.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Creative frontend

Add an effect only when a frame or the brief asks for it. The default page is server-rendered and still. This skill does not replace the figma-handoff skill and does not install a design system.

Step 1: Pass the license gate

Open references/licenses.md. Find the library. If its row says stop, stop. If the row tells you to open a page, open that page in this session and read the license before you copy or install.

Then write one line under ## Design in PROJECT.md for every library you will use:

2026-11-20: <library> <component or package> — <license> — <source URL>

Use today's date. Paid, Pro, All-access, and unlicensed items do not get a line and do not get installed.

The shadcn CLI may fetch one named component only when that line exists. Never shadcn init as the base design system. Never add --all. Never a Pro registry.

Step 2: Pick one motion runtime

NeedPackageWhere
Timeline, scroll scenegsap and @gsap/reactsrc/components/motion/
Smooth scrolllenisone instance beside the locale layout
Small React gesturesmotion (motion/react)the section that needs it
Editor for a scene@theatre/core in production, @theatre/studio in development onlysrc/components/motion/theatre.ts
3Dthree and @react-three/fibersrc/components/three/, loaded with next/dynamic and ssr: false
Vector animation@rive-app/react-canvassrc/components/rive/

Do not install framer-motion. Do not run GSAP and Motion on the same element. Do not put a canvas, a Rive file, or Theatre studio in the root layout.

@theatre/studio is a devDependency. Import it only from a file that production does not include. Details: references/runtime.md.

Step 3: Respect reduced motion and cost

  1. Read prefers-reduced-motion: reduce before starting a timeline, Lenis, or a self-playing canvas. Reduced motion gets the final frame, not an empty box.
  2. Animate transform and opacity. Do not animate top, left, width, or height.
  3. The 3D and Rive islands are client components. The page around them stays a server component.
  4. Images inside a section still go through the payload-media skill. Do not add a second image pipeline.
  5. A copied component that fetches its own font or analytics is rejected. Remove that code before shipping.

Step 4: Install in the website, not in this skills repo

From the website project:

pnpm view <package> version
pnpm add <package>

Record the version you installed in the Design line. Do not add these packages to this skills repository's versions.json. They are optional and they are not the Payload stack.

Copy a registry component into src/components/ui/<Name>.tsx or src/components/sections/<Name>.tsx. Keep the copyright notice the license requires. One component per command.

Stop and ask

  • The license page did not load, or the component is marked Pro, premium, or All-access.
  • recent.design has no license on the component you need.
  • A 21st.dev copy would need a paid membership, or the component's own license is missing.
  • The free Rive plan's splash screen is unacceptable to the client.
  • Theatre studio would be imported from a production page.

Done when

  • Every library and component has a Design line with a license and a source URL
  • No Pro package and no Pro registry item is in package.json or src/
  • Reduced motion shows the final frame
  • @theatre/studio is not in the production bundle
  • pnpm build still succeeds

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.