Index of every page on this site: llms.txt
All skills
nikunjkothiya avatar

/threejs-engineering

@c9e2b62
Run it yourself

Implement browser 3D experiences with Three.js or an existing React Three Fiber stack. Use for scene lifecycle, asset loading, canvas and DOM integration, picking, animation loops, rendering configuration, and GPU resource ownership. Pair with the relevant visual specialist for geometry, motion, materials, lighting, or composition decisions.

Use this Skill: https://skilld.dev/gh/nikunjkothiya/gpt-6-astra-skills/threejs-engineering

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈91 tokens for metadata: the name and description. ≈1.2k when used: this file. ≈5.5k more on demand in 4 files.

Description uses 4.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈365 characters, or 4.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Three.js Engineering

Turn a resolved visual and interaction intention into a working browser experience. Keep scene state, application state, rendering, input ownership, and resource lifetime explicit enough to survive resize, interruption, navigation, failed assets, and repeated mounting.

Establish the implementation boundary

Inspect the host framework, installed three revision, renderer backend, add-ons, asset pipeline, browser targets, and existing component conventions. Use the project's supported stack. Check version-matched official documentation or installed source before adopting an API; the live documentation and React Three Fiber's /next/ branch may describe a different major version. Record versions actually exercised.

Choose Three.js when depth, inspection, lighting, geometry, or spatial interaction contribute to the task. Use DOM for semantic interface controls and readable content. A 3D hero still needs useful loading, failure, keyboard, touch, and reduced-motion states.

For uncertain form, use geometric reasoning; for hierarchy and pivots, object structure; for appearance, material reasoning and lighting design. These skills define the visual relationships. This skill owns their browser implementation.

Establish one coherent scene contract

Keep the scene's units, axes, semantic part IDs, attachment frames, canonical poses, configurable dimensions, assets, and control owners together in the existing project structure. Place construction parameters in one source. Resolve application intent into scene state; avoid deriving selected product variants or completed tasks from animation callbacks alone.

Use one renderer loop per canvas and one owner per animated degree of freedom. Distinguish changes that require rebuilding geometry from those that only change a transform or uniform. Release the previous owner before handing a camera or part to direct manipulation, a timeline, or simulation.

Build the representative object and its hardest interaction early. Check its silhouette, surface response, legibility, manipulation, and performance at the actual delivery size before expanding the scene. Keep meaningful structure and editable parameters through iteration.

Load the relevant implementation reference

Verify the integrated experience

Inspect actual renders at the intended sizes and observe motion playback. Verify initial presentation, complete loading, an asset failure, input during movement, interrupted gestures, resize, reduced motion, and navigation away and back when these apply. Exercise ordinary controls alongside the canvas.

For a resting scene, confirm that rendering settles according to its chosen policy. For continuous scenes, profile representative motion and expensive views. Use measured bottlenecks to choose quality reductions; keep essential silhouette, readable labels, input response, and selection meaning.

Inspect console errors and compare resources across repeated mount/unmount or product replacement. Expect stable retained resources after warmup, accounting for documented caches; a single nonzero memory count does not establish a leak. Numerical transform checks complement visible joins and motion inspection.

Report the renderer and versions, observable behaviors checked, visual captures or recordings, performance conditions, and any unavailable validation. A compilable scene establishes implementation validity only; rendered evidence establishes its appearance.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts22d3 checks · Risk SAFE
  • Gen Agent Trust Hub22d

    The skill provides technical implementation guidance for Three.js and React Three Fiber, focusing on scene management, rendering, and input handling. It contains no malicious code or suspicious patterns.

  • Socket22d

    No alerts

  • Snyk22d

    Risk: LOW · No issues

Signed by skilld at c9e2b62. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for nikunjkothiya/gpt-6-astra-skills/threejs-engineering