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

/ai-glasses-webapp-test

@548f10f
by metameta/meta-wearables-webapp233 stars
39
Run it yourself

Run the complete deterministic quality gate for a Meta Ray-Ban Display glasses web app: package/UI-toolkit checks, typecheck, production build, responsive viewport containment, local performance smoke checks, Playwright interaction, accessibility, sensors, and screenshots.

  • 6 files
  • 162.9 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/meta/meta-wearables-webapp/ai-glasses-webapp-test

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈74 tokens for metadata: the name and description. ≈625 when used: this file.

Description uses 3.7% 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 ≈298 characters, or 3.7%.

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.

Test a Meta glasses web app

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.

Source: SKILL.md on GitHub

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 third-party reports yet.

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

Last checked against GitHub last week.

Activeupdated 2 months ago
argument-hint
[app-directory]

README badge

README badge for meta/meta-wearables-webapp/ai-glasses-webapp-test