一键导入
3d-scene-composition
Guide for composing complex 3D scenes from reusable components in a React environment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for composing complex 3D scenes from reusable components in a React environment.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | 3d-scene-composition |
| description | Guide for composing complex 3D scenes from reusable components in a React environment. |
Category: Frontend Engineering Priority: High
This skill enables agents to build complex, interactive 3D scenes by composing reusable components from react-three-drei, react-three-fiber, and other compatible libraries. It covers scene hierarchy, asset management, lighting, camera setup, interaction, and performance.
To produce maintainable, performant, and visually coherent 3D scenes without rebuilding common primitives from scratch. This skill is the bridge between individual 3D components and a complete, interactive 3D application.
Use this skill when:
@react-three/fiber.@react-three/drei is available for helpers and abstractions.urban-grid-3d-sim.<Canvas> from @react-three/fiber with an appropriate dpr and camera.<Environment> from drei for realistic reflections when appropriate.PerspectiveCamera or OrthographicCamera with OrbitControls or CameraControls from drei.useGLTF, useTexture, and useLoader.ThreeEvent handlers and raycasting.instancedMesh, cap pixel ratio, preload assets, and memoize expensive objects.import { Canvas } from '@react-three/fiber'
import { OrbitControls, PerspectiveCamera, Grid, Box } from '@react-three/drei'
function Scene() {
return (
<Canvas>
<PerspectiveCamera makeDefault position={[10, 10, 10]} />
<OrbitControls />
<ambientLight intensity={0.5} />
<directionalLight position={[10, 10, 5]} />
<Grid args={[50, 50]} />
<Box position={[0, 0.5, 0]} onClick={(e) => console.log('clicked')}>
<meshStandardMaterial color="orange" />
</Box>
</Canvas>
)
}
// Avoid dumping all objects in a single component without separation.
function BadScene() {
return (
<Canvas>
{ /* 50+ inline meshes, lights, and controls all together */ }
</Canvas>
)
}
Plan, reason, and verify across multiple levels using multi-step reasoning, tree-of-thought, and structured agent workflows.
Detect and repair security vulnerabilities or operational errors in the agent's own code and environment without manual intervention.
Generate and apply complete design systems from text descriptions or visual examples using AI and modern tooling.
Adapt user interfaces automatically based on device, viewport, user preferences, and contextual signals.
Build and query knowledge graphs automatically to capture relationships between entities, concepts, and project artifacts.
Run agent tasks in isolated, sandboxed environments to prevent malicious or untrusted code from affecting the host system.