How linhnguyendang-web/playwright-skill works
Playwright Skill equips a coding agent to create and run task-specific browser automation: the agent loads the skill guidance, writes a script, and invokes the portable executor, which runs it with the skill’s Playwright dependency. Optional helpers cover browser setup, contexts, screenshots, cookie banners, and local dev-server detection; results include automation output and artifacts. The graph includes documented reference material and capabilities, but source excerpts do not show how SKILL.md or API_REFERENCE.md is consumed internally.
Main entry points: helpers.js Automation Helpers · run.js Universal Executor · package.json Playwright Package · SKILL.md Skill Instructions
Components 11
Agent Guidance
- Skill Instructions
skills/playwright-skill/SKILL.md - API Reference
skills/playwright-skill/API_REFERENCE.md
Script Execution
- Custom Automation
- Universal Executor
skills/playwright-skill/run.js - Playwright Package
skills/playwright-skill/package.json
Browser Helpers
- Automation Helpers
skills/playwright-skill/lib/helpers.js - Browser Runtime
- Local Dev Servers
Other components
- Coding Agent
- Web Pages
- Output and Artifacts
Connections 13
- Coding Agent → Skill Instructions: loads guidance
README.md - Coding Agent → API Reference: consults reference
README.md - Coding Agent → Custom Automation: writes automation
README.md - Custom Automation → Universal Executor: runs through
README.md - Universal Executor → Playwright Package: resolves dependency
skills/playwright-skill/run.js - Universal Executor → Automation Helpers: loads for eval
skills/playwright-skill/run.js - Universal Executor → Custom Automation: spawns script
skills/playwright-skill/run.js - Automation Helpers → Playwright Package: uses browser APIs
skills/playwright-skill/lib/helpers.js - Automation Helpers → Browser Runtime: launches browser
skills/playwright-skill/lib/helpers.js - Automation Helpers → Local Dev Servers: probes ports
skills/playwright-skill/lib/helpers.js - Custom Automation → Web Pages: automates pages
README.md - Custom Automation → Output and Artifacts: produces output
README.md - Automation Helpers → Output and Artifacts: saves screenshots
skills/playwright-skill/lib/helpers.js