Agent skill · software engineering · sickn33
go-playwright
Expert capability for robust, stealthy, and efficient browser automation using Playwright Go.
Why this skill is useful
Adds advanced automation scripts and human-emulation techniques for Playwright Go that aren't commonly found in public documentation.
What it needs
Requires playwright installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.
What this skill does
Playwright Go Automation Expert Overview This skill provides a comprehensive framework for writing high-performance, production-grade browser automation scripts using github.com/playwright-community/playwright-go. It enforces architectural best practices (contexts over instances), robust error handling, structured logging (Zap), and advanced human-emulation techniques to bypass anti-bot systems. When to Use This Skill Use when the user asks to "scrape," "automate," or "test" a website using Go. Use when the target site has complex dynamic content (SPA, React, Vue) requiring a real browser. Use when the user mentions "stealth," "avoiding detection," "cloudflare," or "human-like" behavior. Use when debugging existing Playwright scripts. Safety & Risk Risk Level: 🔵 Safe Sandboxed Execution: Browser contexts are isolated; they do not persist data to the host machine unless explicitly saved. Resource Management: Designed to close browsers and contexts via defer to prevent memory leaks. No External State-Change: Default behavior is read-only (scraping/testing) unless the script is explicitly designed to submit forms or modify data. Limitations Environment Dependencies: Requires Playwright drivers and browsers to be installed (go run github.com/playwright-community/playwright-go/cmd/playwright@latest install --with-deps). Resource Intensity: Launching full browser instances (even headless) consumes significant RAM/CPU. Use single-browser/multi-context architecture. Bot Detection: While this skill includes stealth techniques, extremely strict anti-bot systems (e.g., rigorous Cloudflare settings) may still detect automation. CAPTCHAs: Does not include built-in CAPTCHA solving capabilities. Strategic Implementation Guidelines 1. Architecture: Contexts vs. Browsers CRITICAL: Never launch a new Browser instance for every task. Pattern: Launch the Browser once (singleton). Create a new BrowserContext for each distinct session or task. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills sickn33/go-playwright--81aa18