1.4 KiB
1.4 KiB
description, allowed-tools, argument-hint, model
| description | allowed-tools | argument-hint | model | |
|---|---|---|---|---|
| Start a debugging session for a webpage. Launches browser, takes screenshot, and checks for errors. | Bash(*), Read, Write |
|
sonnet |
Debug Page
Start a comprehensive debugging session for a webpage.
Instructions
-
Start browser (if not already running):
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-start.js -
Navigate to URL (use $ARGUMENTS if provided, otherwise ask):
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-nav.js "$ARGUMENTS" -
Take initial screenshot:
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-screenshot.js -
Check for JavaScript errors:
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-console.js --errors -
Get page summary:
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-dom.js -
Analyze the screenshot visually and report:
- Any visible layout issues
- Console errors found
- DOM structure overview
- Recommendations for what to investigate
If $ARGUMENTS is empty, ask the user for the URL to debug.
After completing the initial assessment, ask the user what specific issue they'd like to investigate or if they want to use the element picker to select a problematic element.