try-in-browser
/try-in-browser
Uruchamia rozszerzenie Stylebot w widocznym oknie Chrome, żeby użytkownik sam obejrzał zmianę przed zatwierdzeniem.
- Autor
- ankit ↗
- Repozytorium
- stylebot ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Uruchamia rozszerzenie Stylebot w widocznym oknie Chrome, żeby użytkownik sam obejrzał zmianę przed zatwierdzeniem.
Wyzwalacze z opisu
Oryginalny opis (EN)
Launch Stylebot in a real, headed Chrome window (via `yarn dev:chrome`) so the user can manually eyeball a change — in whatever checkout the current session is in, worktree or main. Use when the user wants to "try this out", "see it in the browser", "manually test/validate", "load the extension so I can look at it", or "smoke test this change" themselves, as opposed to running the automated e2e suite.
Jak działa
- What yarn dev:chrome already does
- How to run
- Stopping
Podgląd SKILL.md
--- name: try-in-browser description: Launch Stylebot in a real, headed Chrome window (via `yarn dev:chrome`) so the user can manually eyeball a change — in whatever checkout the current session is in, worktree or main. Use when the user wants to "try this out", "see it in the browser", "manually test/validate", "load the extension so I can look at it", or "smoke test this change" themselves, as opposed to running the automated e2e suite. --- # Try Stylebot in the browser Stylebot's AGENTS.md defaults to Playwright e2e for verifying changes — use that (`yarn e2e`) when the goal is confirming correctness. Reach for this skill instead when the **user** wants to look at the extension with their own eyes: visual/UI tweaks, "does this feel right" judgment calls, or anything the e2e suite doesn't cover. ## What `yarn dev:chrome` already does `scripts/launch-chrome.mjs` is worktree-aware out of the box — don't reinvent this: - Runs `yarn watch` and launches Chrome via CDP (`Extensions.loadUnpacked`) against the current checkout's `dist/`. - Uses a Chrome profile at `<checkout>/.chrome-dev-profile` — scoped to whichever worktree (or main) you run it from, so parallel sessions in different worktrees each get their own isolated browser instance with no port/profile collisions. - Stamps a corner badge on every page with the checked-out branch name (e.g. `🌲 claude/fix-toggle-hitbox-1a2b3c`; the checkout's folder name on a detached HEAD), so if the user has several of these windows open they can tell them apart at a glance, including in the Cmd+Tab thumbnail. - Hot-reloads the extension in place on every rebuild — no need to relaunch after edits. - Opens to Hacker News as a default test page; the user can navigate wherever they want to check the change. ## How to run 1. Confirm you're at the repo root of the **current session's checkout** (worktree or main — do not `cd` elsewhere; the whole point is testing what's checked out here). 2. If `node_modules` is missing, run `yarn install` first (fresh worktrees don't always have it — check before assuming `yarn dev:chrome` will just work). 3. Launch it **in the background** — it blocks until the browser window closes: ``` yarn dev:chrome ``` Use `run_in_background: true`. Do not use `yarn dev:chrome:headless` here — headless defeats the purpose of *manual* validation. 4. Watch the output for `🎉 Stylebot loaded on Hacker News` to confirm it launched rather than assuming success. If it fails to launch, the most likely cause is a `dev:chrome` already running in this same checkout (the profile dir is locked) — check for a stray background task before retrying. 5. Tell the user it's up, which worktree/badge to look for, and that edits will hot-reload automatically. Let them drive from there — don't attempt to interact with this window via browser automation tools, since the point is the human looking at it. ## Stopping The background task ends when the user closes the Chrome window. If they're done before that, stop the background task directly rather than leaving it running.
Wersje
W bazie nie ma innych skilli o nazwie try-in-browser.
Migawka bazy z 13.11.2026 · wersja paczki 8b7888aa2d69 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100eval-styling
Mierzy, czy zmiana poprawia stylowanie stron przez skill /stylebot i CLI stylebot, uruchamiając yarn eval:styling na nagranych stronach w bezgłowym Claude Code dla dwóch wersji Stylebota. - 90stylebot
Zmienia wygląd stron w przeglądarce przez CLI Stylebot: ciemny motyw, czcionki, większy tekst, ukrywanie elementów i zapisane profile. - 95manual-test
Testuje ręcznie funkcję w przeglądarce: nawigacja, interakcje i obserwacja wyników, jak robi użytkownik, a nie test automatyczny. - 95manual-test
Klika po funkcji w prawdziwej przeglądarce i sprawdza, czy działa, tak jak zrobiłby to użytkownik, bez pisania testu automatycznego. - 100aw-tester-chrome
Uruchamia specyfikacje UI aw-tester w sesji przez rozszerzenie claude-in-chrome w zalogowanej przeglądarce Chrome i zwraca ten sam blok werdyktu. - 90exploratory-session
Prowadzi jedną ograniczoną czasowo sesję testów eksploracyjnych wdrożonej funkcji w Chrome i porównuje to, co widać w UI, z danymi odczytanymi przez projekt.