mcpField
B
browser-debugging

browser-debugging

github.com/aj-geddesDevelopment373542 installsUpdated 34w ago
Repository

About browser-debugging

browser-debugging is a skill for diagnosing browser-side issues, including JavaScript errors, layout, performance, interactions, and network requests. It is intended for developers investigating and fixing web pages with browser developer tools.

Key features

  1. 01Investigate JavaScript errors
  2. 02Inspect and edit HTML and CSS
  3. 03Analyze performance issues
  4. 04Diagnose failed network requests
  5. 05Check user interaction issues

Use cases

  1. 01Locate script errors on a web page
  2. 02Troubleshoot layout or styling problems
  3. 03Analyze performance and network failures

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill browser-debugging

After installing, type/browser-debuggingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
browser-devtools-fundamentals.md
common-issues-solutions.md
debugging-techniques.md
performance-debugging.md
templates/
component-template.tsx

Details

From the project README

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

  • JavaScript errors
  • Layout/styling issues
  • Performance problems
  • User interaction issues
  • Network request failures
  • Animation glitches

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:

GuideContents
Browser DevTools FundamentalsBrowser DevTools Fundamentals
Debugging TechniquesDebugging Techniques
Common Issues & SolutionsCommon Issues & Solutions
Performance DebuggingPerformance Debugging

Best Practices

✅ DO
  • Follow established patterns and conventions
  • Write clean, maintainable code
  • Add appropriate documentation
  • Test thoroughly before deploying
❌ DON'T
  • Skip testing or validation
  • Ignore error handling
  • Hard-code configuration values

Comments

Markdown supported