Skip to content

Declarative HTML framework for browser-based VR and AR scenes built on entity-component architecture and Three.js.

CCM score
48 of 100
skills.sh installs
2.7K
GitHub stars
1.5K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scene setup, cameras, lighting, materials, animations, assets, and custom components for WebXR content
  • Includes primitives such as <a-box> and <a-sphere>, plus controller patterns using hand-controls and laser-controls
  • Documents the entity-component-system model, with entities as containers, components for behavior, and systems for global logic
  • Designed for minimal-JavaScript prototypes, 360-degree media viewers, and HTML-first immersive web pages

Install

$ npx -y skills add freshtechbro/claudedesignskills --skill aframe-webxr -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

A-Frame WebXR Skill

When to Use This Skill

  • Build VR/AR experiences with minimal JavaScript
  • Create cross-platform WebXR applications (desktop, mobile, headset)
  • Prototype 3D scenes quickly with HTML primitives
  • Implement VR controller interactions
  • Add 3D content to web pages declaratively
  • Build 360° image/video experiences
  • Develop AR experiences with hit testing

Core Concepts

1. Entity-Component-System (ECS)

A-Frame uses an entity-component-system architecture where:

  • Entities are containers (like <div> in HTML)
  • Components add functionality/appearance to entities
  • Systems provide global functionality
<!-- Entity with components -->
<a-entity
  geometry="primitive: box; width: 2"
  material="color: red; metalness: 0.5"
  position="0 1.5 -3"
  rotation="0 45 0">
</a-entity>

Primitives are shortcuts for common entity + component combinations:

<!-- Primitive (shorthand) -->
<a-box color="red" position="0 1.5 -3" rotation="0 45 0" width="2"></a-box>

Details

Repository
github.com/freshtechbro/claudedesignskills
Categories
Frontend & UI Code, 3D, CAD & Modeling
First seen
Jun 3, 2026

More from freshtechbro/claudedesignskills

All 22

Similar to Aframe Webxr

More Frontend & UI Code