1.2 KiB
1.2 KiB
description, allowed-tools, model
| description | allowed-tools | model |
|---|---|---|
| Verify frontend changes after editing code. Takes screenshot, checks for errors, and reports results. | Bash(*), Read | sonnet |
Verify Changes
After making frontend changes, verify they work correctly.
Instructions
-
Reload the page to pick up changes:
node ~/.claude/plugins/*/skills/website-debug/scripts/browser-eval.js 'location.reload(true)' -
Wait for page load:
sleep 2 -
Take 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 -
Analyze and report:
- Compare screenshot to expected result
- List any JavaScript errors
- Identify if changes applied correctly
- Note any unexpected side effects
-
If issues found:
- Describe the problem
- Suggest fixes
- Offer to make corrections
-
If successful:
- Confirm changes work as expected
- Ask if any refinements needed
This command is designed for the edit → verify → iterate loop that enables self-debugging of frontend work.