skills/threejs-skills/threejs-helpers/SKILL.md
Debug and visualization helpers in three.js Core Helpers (AxesHelper, GridHelper, CameraHelper, light helpers, SkeletonHelper, bounding box helpers, PlaneHelper, PolarGridHelper, ArrowHelper) and Addons Helpers (VertexNormalsHelper, VertexTangentsHelper, RectAreaLightHelper, LightProbeHelper, ViewHelper, OctreeHelper, TextureHelper, PositionalAudioHelper, AnimationPathHelper, RapierHelper). Use only for development and editor overlays—not for shipping art; for gizmo-style manipulation use threejs-controls.
npx skillsauth add partme-ai/full-stack-skills threejs-helpersInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ALWAYS use this skill when the user mentions:
IMPORTANT: helpers vs production meshes
Trigger phrases include:
CameraHelper(light.shadow.camera)).three/addons/helpers/... paths per threejs-dev-setup.import * as THREE from 'three';
const DEBUG = import.meta.env.DEV; // Vite-style; adapt for your bundler
const debugGroup = new THREE.Group();
debugGroup.visible = DEBUG;
scene.add(debugGroup);
// Add helpers only in development
if (DEBUG) {
debugGroup.add(new THREE.AxesHelper(5));
debugGroup.add(new THREE.GridHelper(10, 10));
// Shadow camera helper for directional light
const shadowHelper = new THREE.CameraHelper(directionalLight.shadow.camera);
debugGroup.add(shadowHelper);
}
// Toggle helpers at runtime via console or GUI
// debugGroup.visible = !debugGroup.visible;
See examples/workflow-light-camera-helpers.md.
| Docs section | Representative links | |--------------|----------------------| | Helpers | https://threejs.org/docs/AxesHelper.html | | Helpers | https://threejs.org/docs/GridHelper.html | | Helpers | https://threejs.org/docs/CameraHelper.html | | Helpers | https://threejs.org/docs/SkeletonHelper.html |
#ifdef DEBUG style flags.CameraHelper for shadow cameras must reference light.shadow.camera, not the main view camera.Helpers are listed under Helpers (core) and Addons → Helpers in three.js docs. They are for debug only; production meshes and lighting should use real geometry/lights (threejs-geometries, threejs-lights).
When answering under this skill, prefer responses that:
AxesHelper, CameraHelper, …) being used.English: helper, debug, axes, grid, skeleton, normals, light helper, three.js
中文: 辅助、调试、坐标轴、网格、骨架、法线、Helper、three.js
development
Provides per-component and per-API examples with cross-platform compatibility details for uni-app, covering built-in components, uni-ui components, and APIs (network, storage, device, UI, navigation, media). Use when the user needs official uni-app components or APIs, wants per-component examples with doc links, or needs platform compatibility checks.
tools
Creates new uni-app projects via the official CLI or HBuilderX with Vue 2/Vue 3 template selection, manifest.json and pages.json configuration, and directory structure setup. Use when the user wants to scaffold a new uni-app project, initialize project files with a single command, or set up the development environment.
tools
Browses, installs, configures, and manages plugins from the uni-app plugin market (ext.dcloud.net.cn) including component plugins, API plugins, and template plugins with dependency handling. Use when the user needs to find and install uni-app plugins, configure plugin settings, manage plugin dependencies, or integrate third-party components.
tools
Develops native Android and iOS plugins for uni-app including module creation, JavaScript-to-native communication, and plugin packaging for distribution. Use when the user needs to build custom native modules, extend uni-app with native capabilities (camera, Bluetooth, sensors), or create publishable native plugins.