Skip to content
Back to skills

Threejs Build Ui

ASecurity

Implement Three.js game HUDs, world anchors and browser interface adapters with accessible equivalents and consistent input ownership.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
designapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill threejs-build-ui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Threejs Build Ui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Threejs Build Ui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-threejs-build-ui/badge)](https://www.skillsdirectory.com/skills/timothymeadows-threejs-build-ui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: threejs-build-ui
description: Implement Three.js game HUDs, world anchors and browser interface adapters with accessible equivalents and consistent input ownership.
engines: [THREEJS]
---

# Build Three.js UI

## When to use

Integrate game interfaces with Three.js cameras, picking and scenes. Compose with `build-game-ui` for shared hierarchy and navigation decisions.

## Engine and dependencies

Before edits or tool launches, run `resolve-engine.sh` and `resolve-skill.sh threejs-build-ui`; require compatibility and honor task override scope. Inspect the Three.js version, browser surface, screen contract, scale settings and art pipeline. Three.js has no complete accessible widget toolkit: select DOM, canvas textures or world geometry deliberately without implicitly adding a framework.

## Workflow

1. Use semantic DOM for menus and important controls where appropriate. CSS2D/CSS3D addons and canvas labels are rendering choices, not automatic keyboard/screen-reader support. Match addon revisions to core.
2. Project world anchors through the active camera and viewport. Define behind-camera, offscreen and occlusion policy; clamp indicators to safe areas and support split views. Separate decorations from actionable objects and stable gameplay IDs.
3. Give the top screen/modal sole action ownership. Coordinate DOM focus, pointer capture/lock and picking so menu clicks do not attack. Define controller navigation, cancel/back and focus restoration, including a fallback when the opener disappeared.
4. Bind the HUD to an initial snapshot and bounded updates; unsubscribe on close/unmount. Reopened screens show current state without replaying old notifications. Prompts follow the active player's device and remaps.
5. Separate CSS layout pixels from render pixels. Measure localization, browser zoom, touch targets and high-DPI scaling. Dispose UI textures/materials, anchor observers and DOM listeners according to ownership.

## Output and verification

Deliver screen/input ownership, anchor behavior and state binding with browser evidence. Check keyboard/gamepad operation, modal nesting, resize, long text, hidden objects, camera switching and HUD reopen after state changes. Inspect semantic roles and DOM focus; screenshots alone cannot prove accessibility or event isolation. Use the [Raycaster API](https://threejs.org/docs/pages/Raycaster.html) for world interaction details.

Files in this skill

  • SKILL.md2.4 KB
  • agents/openai.yaml247 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.