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
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-guardrailsSkill
- figma-handoffSkill
- payload-admin-brandingSkill
- payload-auth-rbacSkill
- payload-bookings-paymentsSkill
- payload-bootstrapSkill
- payload-deploy-vercelSkill
- payload-forms-crmSkill
- payload-integrationsSkill
- payload-legal-trustSkill
- payload-live-previewSkill
- payload-localizationSkill
- payload-mcpSkill
- payload-mediaSkill
- payload-performanceSkill
- payload-project-kickoffSkill
- payload-seo-geoSkill
- payload-testingSkill
- project-architectureSkill
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
- Very specific: line 11
Add an effect only when a frame or the brief asks for it.
- Distinctive: line 21
Use today's date. Paid, Pro, All-access, and unlicensed items do not get a line and do not get installed.
- Very specific: line 36
Do not install framer-motion.
- Very specific: line 42
Read prefers-reduced-motion: reduce before starting a timeline, Lenis, or a self-playing canvas.
≈ “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.
Files
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
| Need | Package | Where |
| Timeline, scroll scene | gsap and @gsap/react | src/components/motion/ |
| Smooth scroll | lenis | one instance beside the locale layout |
| Small React gestures | motion (motion/react) | the section that needs it |
| Editor for a scene | @theatre/core in production, @theatre/studio in development only | src/components/motion/theatre.ts |
| 3D | three and @react-three/fiber | src/components/three/, loaded with next/dynamic and ssr: false |
| Vector animation | @rive-app/react-canvas | src/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
- Read
prefers-reduced-motion: reducebefore starting a timeline, Lenis, or a self-playing canvas. Reduced motion gets the final frame, not an empty box. - Animate
transformandopacity. Do not animatetop,left,width, orheight. - The 3D and Rive islands are client components. The page around them stays a server component.
- Images inside a section still go through the
payload-mediaskill. Do not add a second image pipeline. - 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.jsonorsrc/ - Reduced motion shows the final frame
@theatre/studiois not in the production bundlepnpm buildstill succeeds
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
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.

