A-Frame lets you build VR and AR experiences using plain HTML instead of wrestling with WebGL or Three.js directly. You get an entity-component architecture where you can drop primitives like boxes and spheres into a scene, add animations with HTML attributes, and have VR controller support working without touching much JavaScript. It's genuinely good for prototyping immersive experiences fast or adding 3D content to web pages when you don't want to manage a full game engine. The declarative approach means you can sketch out a scene in minutes, though you'll still write custom components in JavaScript when you need real interactivity beyond basic animations and clicks.

skills.sh installs
2.5K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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>

Sponsors

Details

Repository
github.com/freshtechbro/claudedesignskills
Categories
Frontend Development, Code Review & Quality, Automation & Workflows
First seen
Jun 3, 2026

More from freshtechbro/claudedesignskills

All 23
1geekjourneyx avatarmd2wechatgeekjourneyx/md2wechat-skillConvert Markdown to WeChat Official Account HTML. Use this whenever the user wants WeChat article formatting, article preview, WeChat draft upload, image genera2.5Kskills.sh installs
2mastra-ai avatare2e-tests-studiomastra-ai/mastraREQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component creation/modification/refactoring, UI changes, n2.5Kskills.sh installs
3vercel avatarupdate-docsvercel/next.jsGuided workflow for updating Next.js documentation based on code changes and PR reviews.2.4Kskills.sh installs
4pproenca avatarnuqspproenca/dot-skillsnuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code t2.4Kskills.sh installs
5josiahsiegel avatartailwindcss-animationsjosiahsiegel/claude-plugin-marketplaceTailwind CSS animations and transitions including built-in utilities and custom keyframes. PROACTIVELY activate for: (1) animate-* utilities (spin, ping, pulse,2.4Kskills.sh installs
6enzed avatarr3f-fundamentalsenzed/r3f-skillsReact Three Fiber fundamentals - Canvas, hooks (useFrame, useThree), JSX elements, events, refs. Use when setting up R3F scenes, creating components, handling t2.3Kskills.sh installs