Playbridge extension

From playbridgeapp/playbridge · View interactive version

Playbridge extension is an AI agent skill from the GitHub repository playbridgeapp/playbridge. 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/.

How to use this skill

Skill file

PlayBridge Extension

Establish ownership

Work safely

  1. Follow the root AGENTS.md and preserve Chrome/Firefox target compatibility.
  2. Keep content-script, page, popup, background, and native-host trust boundaries explicit.
  3. Validate origins, frame identity, lifecycle state, and externally supplied media metadata before acting on them.
  4. Never log pairing credentials, authenticated headers, cookies, or complete protected stream URLs.
  5. Keep the lightweight page API available while bridged-site detection is off. Detection policy changes must stop disabled DOM observers, probes and body scanners and reject late results; page/document generations fence both detector and linked-session messages. Preserve the background's linked-session heartbeat and cancellation cleanup.

Verify

From extension/:

pnpm typecheck
pnpm test
pnpm build

For store or manifest work, also run the relevant store validation or the complete check:

pnpm store:check
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.