/web3d-craft:premium-3d-websitefrom web3d-craft
Provides architectural guidelines and code patterns for building premium 3D websites with custom WebGL shaders, post-processing effects, physics-based interactions, and device optimization.
Ships in web3d-craft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill provides architectural guidelines and code patterns for developing premium, high-end 3D websites. It targets developers looking to implement advanced WebGL visual effects, custom shader pipelines, interactive physics elements, and immersive page transitions while maintaining high performance.
Setting up a robust WebGL context with proper resize handling and performance-friendly pixel ratios is crucial. Keep pixel ratios capped at a maximum of 2 to avoid rendering too many pixels on high-DPI screens.
Incorporate post-processing pipelines (using EffectComposer or @react-three/postprocessing) to add bloom, chromatic aberration, depth of field, or film grain. Keep pass counts low and combine custom fragment shaders to minimize draw calls.
Utilize physics frameworks (such as Cannon.js or Rapier) or procedural spring animations to make 3D objects react to mouse hover, drag, and click inputs with organic feedback.
Optimize 3D models (using Draco compression) and load them using custom loading managers. Render interactive preloaders to entertain users while heavy assets are fetched in the background.
import { Canvas } from '@react-three/fiber';
import { EffectComposer, Bloom, DepthOfField, Vignette } from '@react-three/postprocessing';
export default function PremiumComposer() {
return (
<Canvas dpr={[1, 2]} gl={{ powerPreference: "high-performance", antialias: false }}>
<ambientLight intensity={0.5} />
<mesh>
<boxGeometry />
<meshStandardMaterial emissive="orange" emissiveIntensity={2.0} />
</mesh>
<EffectComposer disableNormalPass>
<DepthOfField focusDistance={0} focalLength={0.02} bokehScale={2} height={480} />
<Bloom luminanceThreshold={0.3} luminanceSmoothing={0.9} height={300} />
<Vignette eskil={false} offset={0.1} darkness={1.1} />
</EffectComposer>
</Canvas>
);
}
import * as THREE from 'three';
const CustomWavyMaterial = new THREE.ShaderMaterial({
vertexShader: `
varying vec2 vUv;
uniform float uTime;
void main() {
vUv = uv;
vec3 pos = position;
pos.z += sin(pos.x * 5.0 + uTime) * 0.1;
pos.z += cos(pos.y * 5.0 + uTime) * 0.1;
gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);
}
`,
fragmentShader: `
varying vec2 vUv;
uniform float uTime;
uniform vec3 uColor;
void main() {
float pulse = 0.5 + 0.5 * sin(uTime + vUv.x * 10.0);
gl_FragColor = vec4(uColor * pulse, 1.0);
}
`,
uniforms: {
uTime: { value: 0.0 },
uColor: { value: new THREE.Color('#3b82f6') }
}
});
The material fragment requires a mesh, sufficiently subdivided geometry and an animation loop updating uniforms.uTime.value; it does not animate by itself. Respect reduced motion and provide keyboard/touch controls plus a usable non-WebGL/error fallback. Profile representative low-end devices, pause offscreen rendering, dispose owned GPU resources and cap assets/passes. DPR=2 and compression are starting choices, not guaranteed optimal settings; decoder/download cost may outweigh savings for small assets.
dpr={[1, 2]} to restrict the device pixel ratio to a maximum of 2.THREE.InstancedMesh or R3F <Instances>) for scenes containing multiple identical meshes.THREE.DirectionalLightShadow) on mobile or low-end devices due to the heavy performance overhead.GLTFLoader) are hosted on trusted, secure CDNs (HTTPS).renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))) and disable unused post-processing passes.THREE.LoadingManager) and display a responsive, interactive preloader to keep the user engaged.@3d-web-experience - Core WebGL, Three.js, and Spline concepts.@scroll-experience - Integrating 3D animation with scroll controllers.@performance-optimizer - General code execution performance tuning.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
threejs, webgl, shaders, post-processing, creative-coding, premium-design
7 skills in this plugin
/awwwards-3dBuild production-grade Awwwards-style scroll-driven 3D websites in the visual language of Active Theory, Lusion, 14islands, Bonhomme, Resn, Studio Freight, Locomotive, and Igloo Inc. Use when the user asks for an "Awwwards-style", "scroll-driven 3D", "WebGL hero", "3D landing page", "interactive product showcase", "scroll storytelling site", "cinematic web experience", "creative dev portfolio", "premium 3D site", "Lusion-style", "Active Theory-style", "scroll 3D animation", or mentions Three.js + GSAP + Lenis together. Also triggers on Mongolian phrases like "3D вэб", "scroll-тэй 3D", "premium вэбсайт", "cinematic вэб", "Awwwards маягтай", "3D landing", "интерактив 3D". Locks tech stack to Three.js r170 + GSAP 3.12.5 + Lenis 1.1.0 with three's built-in `EffectComposer` for post-processing. Produces single-file HTML deliverables when possible. Do NOT use for: static marketing sites without 3D, plain React/Next.js apps, dashboards, admin UIs, or simple landing pages where 3D would be decorative noise./inspira-uiUsare per scegliere, installare e adattare componenti Inspira UI (Vue/Nuxt, porting di Magic UI e Aceternity) nel sito PCC 2027, fase 3 (design e scroll) e fase 4 (build Nuxt). Copre scelta del componente, dipendenze, copia del sorgente da commit fissato, e i controlli obbligatori su reduced-motion, contrasto, peso e richieste esterne. Non per React/Next.js (lì c'è magic-ui).npx claudepluginhub giofornari/skills --plugin web3d-craft4 plugins in 3 repositories ship this exact skill · first indexed Oct 23, 2026
Other plugins' skills for the same job