What problem does it solve?
When a Slate Yjs collaboration bug appears (offline edits, reconnect, selection, or history issues), it is hard to tell whether the behavior is a real defect or expected conflict semantics. This Skill uses Potion as a live behavioral oracle in a persistent debug Chrome browser to compare against your local Slate Yjs implementation.
Core Features & Use Cases
- Per-Page Offline Isolation: Uses CDP Network.emulateNetworkConditions on a single page instead of context-wide setOffline, so only tab B goes offline while tab A stays connected.
- Structured Repro Workflow: Opens two named Potion pages on the same document, runs B-offline edits, A-online edits, reconnects B, then compares convergence, selection, history, and presence state.
- One-Off Script Discipline: Explicitly forbids stale reusable scripts; each bug gets a fresh dev-browser script written from the current repro steps.
- Use Case: A user reports that offline edits lose history after reconnect. You open two Potion tabs, take one offline via CDP, replay the exact edit sequence, reconnect, and compare Potion's result with your local Slate Yjs behavior to decide if the local behavior is suspicious.
Quick Start
Ask the AI to use the Potion Yjs dev browser test to reproduce your current offline/reconnect collaboration bug against the shared Potion document in the debug Chrome at 127.0.0.1:9222.