meta-wearables-web-apps
Build and review Meta Wearables Web Apps for the Ray-Ban Display with the official HTML/CSS/JavaScript route, 600×600 display contract, public HTTPS delivery, focus and D-pad/EMG input, performance limits, source-conflict handling, and separate simulator/physical-device evidence. Use when building or reviewing a Ray-Ban Display Web App, or deciding between a Web App and native DAT Display.
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- meta-wearables-web-apps
- description
- Build and review Meta Wearables Web Apps for the Ray-Ban Display with the official HTML/CSS/JavaScript route, 600×600 display contract, public HTTPS delivery, focus and D-pad/EMG input, performance limits, source-conflict handling, and separate simulator/physical-device evidence. Use when building or reviewing a Ray-Ban Display Web App, or deciding between a Web App and native DAT Display.
- allowed-tools
- Bash(uv run *), Bash(node *), Read, Grep, Glob
- last_verified
- 1787356800000
02 资源文件 3
- 参考文档references/display-contract.md5.1 KB
- 参考文档references/toolkit-skill-map.md3.6 KB
- 脚本scripts/run_webapp_preflight.py13.2 KB
03 SKILL.md 正文
Meta Wearables Web Apps
Use the official Web App surface when the experience should reach the Meta Ray-Ban Display as a web page. Keep it separate from a native iOS/Android DAT companion app and from native DAT Display code.
Apply the shared rules — evidence ladder, device labels, secrets, claims.
Read before acting
- Inspect the actual Web App source, build toolchain, URL/deployment target, assets, state model, and any companion phone integration.
- Read the local display and input contract — it holds the source conflict, layout/input/delivery rules, and the reading list of knowledge-base routes for input, compliance, security, operations, and architecture.
- Load the Web Apps
api_surface.rowsfrom the source-pinned manifest and keep each runtime/source-conflict row separate. - Read the toolkit skill map for scaffolding, text entry, gestures, sensors, offline, API connection, staging, or publishing.
- Read the official Web App repository, its agent guidance, Display guidelines, performance guidelines, and the current Web Apps documentation.
Scripts
$SKILL below is this skill's directory — the folder holding this SKILL.md. Find it by name in your tool's skills folder (some tools prefix it, e.g. meta-wearables-ops__meta-wearables-web-apps).
Preflight the real entrypoint before calling a local HTML/JS surface a Meta delivery target:
uv run $SKILL/scripts/run_webapp_preflight.py <web-app-root> --require-meta-markers \
--origin <https-url> --check-origin --require-https-origin
Drop the --origin flags when no public URL exists yet. The receipt keeps hosted HTTPS evidence separate from browser-simulator and physical Display evidence.
For a new reducer-first scaffold, copy the dependency-free Web App starter and run its node --test test/display-state.test.mjs before binding the selected toolkit revision.
Workflow
- Define the glanceable outcome and whether the Web App is standalone or paired with a phone service.
- Build the smallest HTML/CSS/JS surface inside the 600×600 contract: additive content, short text, clear hierarchy, no phone-viewport assumptions. Gate source-conflicted features behind explicit capability/fallback decisions.
- Implement focus and input deliberately: visible focus, deterministic D-pad/EMG action mapping, clear selection, dismiss, and recovery.
- Use the current metadata/launch contract and a public HTTPS URL. Never ship a localhost URL, private tunnel, secret-bearing URL, or native DAT import in a Web App.
- Design loading, stale, offline, consent handoff, invalid input, and service-failure states. Keep data minimal.
- Follow the official performance budget; measure load and interaction latency on the target surface.
- Test in the official browser simulator, then the deployed URL, then the same script on physical Ray-Ban Display hardware. Stop at the first unavailable gate and record each result separately.
Source conflict
The full Developer Center index (reviewed 2026-08-22) lists no camera, microphone, text input, offline support, notifications, or back navigation. The toolkit main at a2714f862c61b1ce9c6cb624fc7e4938087102db documents a handwriting/voice composer, service-worker offline, Escape/back, gestures, and sensors. Carry each of those as source-conflict/to-verify with a phone/manual fallback until runtime and current docs agree. Record details per the display contract.
Required output
- Route decision: Web App versus native DAT Display.
- Public URL, launch metadata, and the preflight receipt.
- Display/input state map and performance budget.
- Source-conflict rows with fallback and release decision.
- Simulator test cases and results.
- Physical Ray-Ban Display test script with evidence status per the ladder.
- Phone handoff, privacy, and failure behavior.
Hard boundaries
- A browser simulator proves web behavior and some input logic, not glasses rendering, brightness, latency, comfort, or hardware input.
- Never represent a Web App as a native DAT integration in store copy or source documentation.
- Never assume arbitrary browser APIs, background execution, camera/microphone, notifications, or Meta AI voice commands on the Display.
- Never put secrets or raw personal media in a public URL or client bundle.
Related skills
- Route planner — route choice and app architecture
- Device capabilities — native DAT Display, input, and sensors
- Device proof — physical evidence plans
- Trust and release — privacy, compliance, publishing
- Diagnostics — operational readiness and recovery
04 同仓库更多 Skills
no-description
暂无简介
good-skill
Fixture skill that satisfies every rule.
broken-link
Links to a reference file that does not exist.
Bad_Name
Name violates the kebab-case rule and does not match the directory.
skill-authoring
Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.
weigh-bags
Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts/reconcile.py.