Work on the PlayBridge browser extension. Use for TypeScript, WebExtension APIs, background/content/popup code, media detection, video overlays, native messaging, Desktop bridge reconnection, store packaging, manifests, or changes under extension/.
Installation
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Work on the PlayBridge browser extension. Use for TypeScript, WebExtension APIs, background/content/popup code, media detection, video overlays, native messaging, Desktop bridge reconnection, store packaging, manifests, or changes under extension/.
PlayBridge Extension
Establish ownership
Work from extension/; source lives primarily under extension/src/ and is built with TypeScript and esbuild.
Modify source and manifests rather than generated dist/ output.
Load playbridge-desktop-proxy when native messaging, Desktop discovery, reconnection, or proxy routing changes.
Load playbridge-protocol when message envelopes, payloads, pairing, or authentication change.
Work safely
Follow the root AGENTS.md and preserve Chrome/Firefox target compatibility.
Keep content-script, page, popup, background, and native-host trust boundaries explicit.
Validate origins, frame identity, lifecycle state, and externally supplied media metadata before acting on them.
Never log pairing credentials, authenticated headers, cookies, or complete protected stream URLs.
Verify
From extension/:
pnpm typecheck
pnpm test
pnpm build
For store or manifest work, also run the relevant store validation or the complete check: