investigate
Investigate a URL or page using Playwright browser
SKILL.md.claude/skills/investigate/SKILL.md
GitHubBrowser Investigation
You are investigating $ARGUMENTS.url using Playwright.
Steps
1. Resolve URL
- If the URL starts with
/, prependhttp://localhost:3000 - If the URL starts with
http, use as-is - Check if the dev server is running on :3000; if not, suggest
npm run dev
2. Navigate
- Use
mcp__playwright__browser_navigateto open the URL - Take a screenshot with
mcp__playwright__browser_take_screenshot
3. Inspect
- Use
mcp__playwright__browser_snapshotto get the accessibility tree - Check
mcp__playwright__browser_console_messagesfor errors - Check
mcp__playwright__browser_network_requestsfor failed requests
4. Report
- Summarize what you see: layout, content, errors
- If there are console errors or network failures, list them
- Suggest fixes if issues are found
Notes
- Use Playwright MCP tools, not Bash-based browser commands
- Take screenshots at each significant step
- Close the browser when done:
mcp__playwright__browser_close