Browser Debugging

Browser Debugging

Guides an AI agent to debug client-side problems with browser developer tools: JavaScript errors, layout and styling bugs and performance issues.

Skill files6 files

references/

templates/

SKILL.md89 lines
1
---
2
name: browser-debugging
3
description: >
4
Debug client-side issues using browser developer tools. Identify JavaScript
5
errors, styling issues, and performance problems in the browser.
6
---
7
8
# Browser Debugging
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Browser debugging tools help identify and fix client-side issues including JavaScript errors, layout problems, and performance issues.
21
22
## When to Use
23
24
- JavaScript errors
25
- Layout/styling issues
26
- Performance problems
27
- User interaction issues
28
- Network request failures
29
- Animation glitches
30
31
## Quick Start
32
33
Minimal working example:
34
35
```yaml
36
Chrome DevTools Tabs:
37
38
Elements/Inspector:
39
- Inspect HTML structure
40
- Edit HTML/CSS in real-time
41
- View computed styles
42
- Check accessibility tree
43
- Modify DOM
44
45
Console:
46
- View JavaScript errors
47
- Execute JavaScript
48
- View console logs
49
- Monitor messages
50
- Clear errors
51
52
Sources/Debugger:
53
- Set breakpoints
54
- Step through code
55
- Watch variables
56
- Call stack view
57
- Conditional breakpoints
58
59
Network:
60
- View all requests
61
// ... (see reference guides for full implementation)
62
```
63
64
## Reference Guides
65
66
Detailed implementations in the `references/` directory:
67
68
| Guide | Contents |
69
|---|---|
70
| [Browser DevTools Fundamentals](references/browser-devtools-fundamentals.md) | Browser DevTools Fundamentals |
71
| [Debugging Techniques](references/debugging-techniques.md) | Debugging Techniques |
72
| [Common Issues & Solutions](references/common-issues-solutions.md) | Common Issues & Solutions |
73
| [Performance Debugging](references/performance-debugging.md) | Performance Debugging |
74
75
## Best Practices
76
77
### ✅ DO
78
79
- Follow established patterns and conventions
80
- Write clean, maintainable code
81
- Add appropriate documentation
82
- Test thoroughly before deploying
83
84
### ❌ DON'T
85
86
- Skip testing or validation
87
- Ignore error handling
88
- Hard-code configuration values
89

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…