Browser debugging

From aj-geddes/useful-ai-prompts · View interactive version

Browser debugging is an AI agent skill from the GitHub repository aj-geddes/useful-ai-prompts. Debug client-side issues using browser developer tools. Identify JavaScript errors, styling issues, and performance problems in the browser.

How to use this skill

Skill file

Browser Debugging

Table of Contents

Overview

Browser debugging tools help identify and fix client-side issues including JavaScript errors, layout problems, and performance issues.

When to Use

Quick Start

Minimal working example:

Chrome DevTools Tabs:

Elements/Inspector:
  - Inspect HTML structure
  - Edit HTML/CSS in real-time
  - View computed styles
  - Check accessibility tree
  - Modify DOM

Console:
  - View JavaScript errors
  - Execute JavaScript
  - View console logs
  - Monitor messages
  - Clear errors

Sources/Debugger:
  - Set breakpoints
  - Step through code
  - Watch variables
  - Call stack view
  - Conditional breakpoints

Network:
  - View all requests
// ... (see reference guides for full implementation)

Reference Guides

Detailed implementations in the references/ directory:

| Guide | Contents |

|---|---|

| Browser DevTools Fundamentals | Browser DevTools Fundamentals |

| Debugging Techniques | Debugging Techniques |

| Common Issues & Solutions | Common Issues & Solutions |

| Performance Debugging | Performance Debugging |

Best Practices

✅ DO

❌ DON'T

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.