Explore skills. Ship every project faster.
One click to add expert know-how to any prompt.
Popular skill categories
Skills library
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
by Sticklight
•
2K+ Uses
Kill list of visual cliches, layout tropes, and UI patterns that make frontends look AI-generated. ALWAYS trigger this skill alongside frontend-design whenever Claude builds any frontend — websites, landing pages, dashboards, React components, HTML pages, artifacts, or any visual UI. Also trigger when users say "make it look less AI," "this looks generic," "don't make it look like every other AI site," "avoid the AI look," "no AI slop," or when reviewing/auditing any frontend output. This is a companion checklist of what to NEVER do — the frontend-design skill handles what TO do.
by Sticklight
•
1K+ Uses
Build interactive 3D scenes for the web using Three.js r128. Use this skill ONLY when the user explicitly asks for 3D — product viewers, 3D hero backgrounds, interactive geometry, particle scenes, or scroll-driven 3D camera work. Do NOT trigger for standard 2D websites, CSS animations, or SVG graphics. Trigger words: 3D, three.js, WebGL, 3D scene, product viewer, 3D background, interactive 3D, rotating model, particle system, 3D experience.
by Sticklight
•
900+ Uses
Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.
by Sticklight
•
900+ Uses
Measurable UX rules, UI style catalog, industry-specific guidance, and pre-delivery checklist for any frontend project. ALWAYS trigger this skill alongside frontend-design when building websites, landing pages, dashboards, apps, React components, or any interactive UI. Also trigger when users mention "UX," "usability," "accessibility," "a11y," "WCAG," "responsive," "mobile-friendly," "user experience," "UI patterns," "checklist," or ask to audit, review, or improve the usability of any frontend. This skill provides the hard numbers — minimum sizes, contrast ratios, timing values, spacing rules — so Claude doesn't guess.
by Sticklight
•
700+ Uses
Make websites, apps, and dashboards work beautifully across screen sizes. Use when the user mentions responsive, mobile, tablet, breakpoints, adaptive layout, touch targets, or cross-device — or when building any UI that needs to work beyond desktop. Self-contained — no other skills required.
by Sticklight
•
500+ Uses
Authentication and authorization patterns for React + Vite + Tailwind apps using Cloud Backend (Supabase). Use when implementing login, signup, password reset, session management, protected routes, Row Level Security (RLS), role-based access control, or user data tables. Covers: profiles table with auto-creation trigger, user_roles table, AuthContext with getUser() (not getSession()), ProtectedRoute component, full auth pages (Login, Signup, Forgot Password, Reset Password with expired link handling), logout, user-owned data with RLS policies, and security best practices.
by Sticklight
•
400+ Uses
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.
by Sticklight
•
400+ Uses
Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Elevates good work to great work.
by Sticklight
•
400+ Uses
SEO best practices for React + Vite + Tailwind CSS apps built with sticklight.com. Use when building or reviewing web pages, writing content for the web, generating meta tags, improving search rankings, setting up sitemap or robots.txt, adding structured data (JSON-LD), or optimizing images and performance in a Vite-based SPA. Covers: static fallback meta tags, dynamic SEO with @unhead/react, useSEO hook, sitemaps (dynamic via Edge Function and static), semantic HTML, heading hierarchy, image SEO, link best practices, URL structure, Core Web Vitals, favicon and OG image specs, mobile-first design, and IndexNow integration for instant search engine notifications.
by Sticklight
•
400+ Uses
Mobile-first design system for building iOS and Android apps with React Native, Flutter, or native frameworks. Covers touch interaction, performance, platform conventions, and visual quality. Prevents generic AI mobile aesthetics (pill overload, glassmorphism shells, gradient hero sections, metric-card grids) and enforces human-designed, functional UI. Use whenever building any mobile app, mobile component, React Native screen, Flutter widget, or mobile UI — even if the user doesn't say "mobile design system." Also trigger when reviewing mobile code for UX or performance issues, or when the user describes an app that "looks too AI-generated" or "generic."
by Sticklight
•
300+ Uses
Core Web Vitals optimization for Sticklight React+Vite+Tailwind apps. Use when the user asks to improve load speed, Lighthouse scores, LCP/FCP/CLS/INP/TBT, or fix slow or broken pages after refresh. Covers images, fonts, scripts, CSS animation, listeners, and bundle size.
by Sticklight
•
200+ Uses
Guide for creating or improving Sticklight user skills (specialized instructions stored in the Skills editor). Use when the user wants to add a new skill, rewrite skill content, tune descriptions for better triggering, or migrate ideas from file-based skill docs into Sticklight's DB format.
by Sticklight
•
100+ Uses
Shadow and elevation system for creating depth hierarchy. Covers sharp, soft, glow, layered, and neumorphic shadow styles. Includes tinted shadows, dark mode patterns, performant animations, and elevation formulas. Use when adding shadows, depth, or elevation to any UI element.
by Sticklight
•
100+ Uses
Build a live admin dashboard for WooCommerce/WordPress: product, order, and category management pulling real store data. Trigger when the user wants an admin panel, dashboard, or back-office to manage a WordPress or WooCommerce store — not a public storefront.
by Sticklight
•
100+ Uses
3d-web-experience
Build interactive 3D scenes for the web using Three.js r128. Use this skill ONLY when the user explicitly asks for 3D — product viewers, 3D hero backgrounds, interactive geometry, particle scenes, or scroll-driven 3D camera work. Do NOT trigger for standard 2D websites, CSS animations, or SVG graphics. Trigger words: 3D, three.js, WebGL, 3D scene, product viewer, 3D background, interactive 3D, rotating model, particle system, 3D experience.
by Sticklight
•
900+ Uses
# 3D Web Experience
Build interactive Three.js scenes inside React artifacts or HTML pages. Three.js r128 is the available version — use it directly, no React Three Fiber.
## When 3D Is Right
Use 3D when it **earns its place** — when a flat image or CSS animation can't do the job:
| Good fit | Bad fit |
|---------------------------------------|------------------------------------|
| Product viewer (rotate, zoom, inspect)| Blog post hero |
| Interactive data visualization | "Cool background" with no purpose |
| Architectural / spatial walkthrough | Marketing page that needs to load fast |
| Signature wow-moment on a landing page| Every section of a long page |
| Particle / geometry art as hero | Mobile-first app |
**Rule of thumb:** If a photo, illustration, or CSS gradient would communicate the same thing — skip 3D. 3D is for when the user needs to *interact* with depth or when the motion itself is the message.
---
## Three.js in Artifacts — Ground Rules
### Import
```jsx
import * as THREE from 'three';
```
Three.js r128 is available via the artifact environment. The CDN URL is:
`https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js`
### What's Available
- All core geometries: BoxGeometry, SphereGeometry, PlaneGeometry, CylinderGeometry, TorusGeometry, TorusKnotGeometry, IcosahedronGeometry, OctahedronGeometry, RingGeometry, ConeGeometry, DodecahedronGeometry
- All core materials: MeshStandardMaterial, MeshPhongMaterial, MeshBasicMaterial, MeshNormalMaterial, ShaderMaterial
- Lights: AmbientLight, DirectionalLight, PointLight, SpotLight, HemisphereLight
- Textures: TextureLoader, CanvasTexture, CubeTextureLoader
- Fog, Raycaster, Clock, Vector2/3, Color, Group
- BufferGeometry + BufferAttribute for custom geometry
- ShaderMaterial + RawShaderMaterial for custom shaders
### What's NOT Available (r128 limitations)
- ❌ `CapsuleGeometry` — introduced in r142. Use CylinderGeometry with SphereGeometry caps instead
- ❌ `THREE.OrbitControls` — not bundled. Implement manual rotation via mouse/touch events
- ❌ `GLTFLoader`, `DRACOLoader` — no external loaders from CDN submodules
- ❌ Post-processing (EffectComposer, passes) — not on CDN
- ❌ Any `examples/jsm/` imports — they aren't hosted
### Manual Orbit Controls Pattern
```javascript
let isDragging = false;
let previousMouse = { x: 0, y: 0 };
let rotation = { x: 0, y: 0 };
canvas.addEventListener('pointerdown', (e) => {
isDragging = true;
previousMouse = { x: e.clientX, y: e.clientY };
});
canvas.addEventListener('pointermove', (e) => {
if (!isDragging) return;
const dx = e.clientX - previousMouse.x;
const dy = e.clientY - previousMouse.y;
rotation.y += dx * 0.005;
rotation.x += dy * 0.005;
rotation.x = Math.max(-Math.PI / 3, Math.min(Math.PI / 3, rotation.x));
previousMouse = { x: e.clientX, y: e.clientY };
});
canvas.addEventListener('pointerup', () => isDragging = false);
// In animation loop:
targetGroup.rotation.x = rotation.x;
targetGroup.rotation.y = rotation.y;
```
---
## Scene Templates
### 1. Floating Geometry Hero
Animated geometric shapes floating in space — great for tech/creative landing pages.
```javascript
// Setup
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(60, w / h, 0.1, 100);
camera.position.z = 5;
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
renderer.setSize(w, h);
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2));
// Lights
scene.add(new THREE.AmbientLight(0xffffff, 0.4));
const dirLight = new THREE.DirectionalLight(0xffffff, 0.8);
dirLight.position.set(5, 5, 5);
scene.add(dirLight);
// Floating shapes
const geometries = [
new THREE.IcosahedronGeometry(0.6, 0),
new THREE.OctahedronGeometry(0.5, 0),
new THREE.TorusGeometry(0.4, 0.15, 16, 32),
new THREE.TorusKnotGeometry(0.3, 0.1, 64, 16),
];
const meshes = geometries.map((geo, i) => {
const mat = new THREE.MeshStandardMaterial({
color: ACCENT_COLOR, // from design-system-picker
metalness: 0.3,
roughness: 0.4,
wireframe: i % 2 === 0,
});
const mesh = new THREE.Mesh(geo, mat);
mesh.position.set(
(Math.random() - 0.5) * 6,
(Math.random() - 0.5) * 4,
(Math.random() - 0.5) * 3
);
mesh.userData.speed = 0.2 + Math.random() * 0.5;
mesh.userData.axis = new THREE.Vector3(
Math.random(), Math.random(), Math.random()
).normalize();
scene.add(mesh);
return mesh;
});
// Animate
const clock = new THREE.Clock();
function animate() {
requestAnimationFrame(animate);
const t = clock.getElapsedTime();
meshes.forEach((m) => {
m.rotation.x += 0.003 * m.userData.speed;
m.rotation.y += 0.005 * m.userData.speed;
m.position.y += Math.sin(t * m.userData.speed) * 0.002;
});
renderer.render(scene, camera);
}
animate();
```
### 2. Particle Field
Thousands of points creating atmosphere — cosmic, data, or ambient.
```javascript
const COUNT = 2000;
const positions = new Float32Array(COUNT * 3);
const colors = new Float32Array(COUNT * 3);
const palette = [
new THREE.Color(ACCENT_COLOR),
new THREE.Color(SURFACE_COLOR),
new THREE.Color(TEXT_MUTED_COLOR),
];
for (let i = 0; i < COUNT; i++) {
positions[i * 3] = (Math.random() - 0.5) * 20;
positions[i * 3 + 1] = (Math.random() - 0.5) * 20;
positions[i * 3 + 2] = (Math.random() - 0.5) * 20;
const c = palette[Math.floor(Math.random() * palette.length)];
colors[i * 3] = c.r;
colors[i * 3 + 1] = c.g;
colors[i * 3 + 2] = c.b;
}
const geo = new THREE.BufferGeometry();
geo.setAttribute('position', new THREE.BufferAttribute(positions, 3));
geo.setAttribute('color', new THREE.BufferAttribute(colors, 3));
const mat = new THREE.PointsMaterial({
size: 0.04,
vertexColors: true,
transparent: true,
opacity: 0.8,
sizeAttenuation: true,
});
const points = new THREE.Points(geo, mat);
scene.add(points);
// Animate — slow rotation
function animate() {
requestAnimationFrame(animate);
points.rotation.y += 0.0005;
points.rotation.x += 0.0002;
renderer.render(scene, camera);
}
```
### 3. Product Viewer (Procedural)
When no GLB is available — build the product from primitives with manual orbit.
```javascript
const product = new THREE.Group();
// Example: abstract trophy / device
const body = new THREE.Mesh(
new THREE.CylinderGeometry(0.5, 0.7, 2, 32),
new THREE.MeshStandardMaterial({ color: 0x222222, metalness: 0.9, roughness: 0.1 })
);
const ring = new THREE.Mesh(
new THREE.TorusGeometry(0.6, 0.05, 16, 64),
new THREE.MeshStandardMaterial({ color: ACCENT_COLOR, metalness: 0.8, roughness: 0.2 })
);
ring.position.y = 0.5;
ring.rotation.x = Math.PI / 2;
product.add(body, ring);
scene.add(product);
// Apply manual orbit controls (see pattern above) targeting `product`
```
### 4. Scroll-Driven Camera
Camera moves through scene as user scrolls — works in HTML artifacts with `window.scrollY`.
```javascript
const totalScroll = document.body.scrollHeight - window.innerHeight;
// Define camera path waypoints
const waypoints = [
{ pos: [0, 2, 8], look: [0, 0, 0] }, // top of page
{ pos: [3, 1, 5], look: [0, 1, 0] }, // mid scroll
{ pos: [0, 0.5, 2], look: [0, 0, 0] }, // deep scroll
];
function updateCamera() {
const scrollFraction = window.scrollY / totalScroll;
const segment = scrollFraction * (waypoints.length - 1);
const i = Math.floor(segment);
const t = segment - i;
const a = waypoints[Math.min(i, waypoints.length - 1)];
const b = waypoints[Math.min(i + 1, waypoints.length - 1)];
camera.position.set(
a.pos[0] + (b.pos[0] - a.pos[0]) * t,
a.pos[1] + (b.pos[1] - a.pos[1]) * t,
a.pos[2] + (b.pos[2] - a.pos[2]) * t,
);
camera.lookAt(
a.look[0] + (b.look[0] - a.look[0]) * t,
a.look[1] + (b.look[1] - a.look[1]) * t,
a.look[2] + (b.look[2] - a.look[2]) * t,
);
}
window.addEventListener('scroll', updateCamera);
```
### 5. Glow Sphere (Shader)
Custom shader for a glowing orb — hero accent or interactive element.
```javascript
const glowMat = new THREE.ShaderMaterial({
uniforms: {
uTime: { value: 0 },
uColor: { value: new THREE.Color(ACCENT_COLOR) },
},
vertexShader: `
varying vec3 vNormal;
void main() {
vNormal = normalize(normalMatrix * normal);
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
}
`,
fragmentShader: `
uniform float uTime;
uniform vec3 uColor;
varying vec3 vNormal;
void main() {
float intensity = pow(0.6 - dot(vNormal, vec3(0.0, 0.0, 1.0)), 2.0);
float pulse = 0.8 + 0.2 * sin(uTime * 2.0);
gl_FragColor = vec4(uColor * intensity * pulse, intensity);
}
`,
transparent: true,
side: THREE.FrontSide,
});
const glowSphere = new THREE.Mesh(
new THREE.SphereGeometry(1.2, 32, 32),
glowMat
);
scene.add(glowSphere);
// In animate loop:
glowMat.uniforms.uTime.value = clock.getElapsedTime();
```
---
## Integration with Design System
### Colors
Pull scene colors from the active design-system-picker palette:
- **Scene background** → `--bg` or transparent (alpha: true) to layer over CSS
- **Primary geometry** → `--accent` color
- **Secondary geometry** → `--surface-alt` or `--text-muted`
- **Lights** → white or slightly tinted with `--accent`
- **Particles** → mix of `--accent`, `--surface`, `--text-muted`
Convert hex to Three.js: `new THREE.Color('#FF4700')` or `new THREE.Color(0xFF4700)`
### When 3D Replaces an Image
If a section would normally have a hero image or feature visual, a 3D scene can replace it:
- The 3D canvas takes the same space the image would
- Keep the scene focused — one subject, not a cluttered stage
- Layer HTML text over the canvas with `position: absolute` + `pointer-events: none`
- Match scene lighting mood to the section's color scheme
### Combining with 2D
The 3D canvas should be ONE element in the page, not the entire page. Wrap it:
```css
.scene-container {
position: relative;
width: 100%;
height: 100vh; /* or specific section height */
overflow: hidden;
}
.scene-container canvas {
position: absolute;
inset: 0;
}
```
---
## Performance Rules
| Rule | Target |
|------|--------|
| Max geometry faces (total scene) | < 100K |
| Renderer pixel ratio | `Math.min(devicePixelRatio, 2)` |
| Texture size | Max 1024×1024 for web |
| Animation loop | Use `Clock` for delta-time, not frame count |
| Resize | Debounce `resize` listener, update camera aspect + renderer size |
| Dispose | Call `geometry.dispose()`, `material.dispose()` on unmount |
### Mobile Strategy
- Detect mobile: `'ontouchstart' in window` or `window.innerWidth < 768`
- On mobile: reduce particle count by 50%, lower pixel ratio to 1, simplify geometry (fewer segments)
- If scene is purely decorative: consider replacing with a static CSS gradient on mobile
- Always test touch interactions — pointer events, not just mouse
### Loading
- Show the page content first, initialize 3D after DOM is ready
- Use `renderer.alpha = true` with transparent background so content shows while scene builds
- No loading spinner needed for procedural scenes (they're instant)
- For heavy scenes: fade-in the canvas with CSS `opacity` transition after first render
---
## Don'ts
- **NEVER** add 3D just for decoration when CSS would suffice — every scene must have a reason
- **NEVER** use `CapsuleGeometry` — doesn't exist in r128
- **NEVER** import from `three/examples/jsm/` — not available in this environment
- **NEVER** make the entire page a 3D scene — 3D is one section, not the whole site
- **NEVER** skip the resize handler — broken aspect ratios look amateur
- **NEVER** use `setAnimationLoop` without a way to stop it on unmount — causes memory leaks in React
- **NEVER** hardcode colors — always pull from the design system palette
- **NEVER** forget `renderer.dispose()` in React cleanup / component unmount
- **NEVER** exceed 60fps render cost — if `requestAnimationFrame` callback takes > 16ms, simplify
- **NEVER** assume mouse-only — all interactions need touch equivalents