/meta-wearables-webapp:ai-glasses-webapp-test [app-directory]from meta-wearables-webapp
Runs a deterministic quality gate for Meta Ray-Ban Display glasses web apps: package checks, typecheck, production build, viewport containment, performance smoke tests, Playwright interaction, accessibility, sensors, and screenshots.
Ships in meta-wearables-webapp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run:
node <this-skill>/scripts/check-webapp.mjs <app-directory>
The gate verifies the locked app dependency tree and skips package installation
when it is already complete. If modules are absent, it uses npm ci against
the committed lockfile; it never rewrites package versions. It then typechecks,
builds, validates the two registry UI Toolkit packages/public imports and
required metadata, and runs the bundled Toolkit structure validator for
Toolkit apps. Those apps must use a
device-width viewport and a full-viewport #root without hardcoded device
dimensions. Explicit custom-UI opt-outs retain their generated mount contract.
Browser QA serves the production build and checks both a 600×600 device window
and a larger desktop window. A Toolkit app must fill either viewport edge to
edge without scaling from a fixed device constant. It fails on console/page errors, document overflow, clipped or
unnamed focus targets, broken directional movement/Enter/Escape focus, images
without alt text, a grossly slow local load, JavaScript that alone exhausts the
300 KB first-load budget, 15 or more initial requests, heap ≥128 MB, or
animation-frame sampling below the 30 Hz panel target. It writes
normal and additive-display screenshots under .wearables-test/.
These fast-host checks catch regressions; they do not emulate the device link
or CPU and cannot prove startup performance. Before release, use
ai-glasses-webapp-optimize-performance against a production build with a
content oracle, cold and warm runs, n ≥ 10, interleaved A/B, and a null control.
Treat every failure as blocking and fix application source—not the validator or toolkit package. Feature scenarios remain required: sensor apps test granted, denied, unsupported, demo, Pause/Stop, and cleanup; games test deterministic D-pad play, Escape focus restoration, game-over, and persisted scores; network apps test slow, empty, offline, aborted, error, stale, and recovery states.
On restricted hosts the gate tries sandboxed Chromium and Firefox. Prefer an
approved Chromium DevTools endpoint through WEARABLES_CDP_ENDPOINT when local
browsers cannot launch. Only after reviewing and trusting the application code
may a developer explicitly set WEARABLES_ALLOW_UNSANDBOXED_BROWSER=1 to use
the Chromium single-process no-sandbox fallback. Browser transport never
relaxes assertions. --static-only is diagnostic and never counts as a full
browser/convergence pass.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meta/meta-wearables-webapp --plugin meta-wearables-webapp7 skills in this plugin
/ai-glasses-webapp-buildCreate, redesign, or extend a web app for Meta Ray-Ban Display glasses. Use for application architecture, screens, routes, state, API-backed UI, persistence, offline behavior, or any product change; pair with ai-glasses-webapp-ui for toolkit setup and component composition. A complete initial app build includes a running local production preview and its URL./ai-glasses-webapp-deviceAdd Meta Ray-Ban Display glasses-specific sensors and input behavior: motion, orientation, compass, step detection, geolocation, neural-band activation/drag, D-pad game controls, or handwriting/voice text composition./ai-glasses-webapp-Other plugins' skills for the same job