Agent skill

dev-tools-skill

Use when the user says "use the DevTools skill" or when they need help debugging a web app with Chrome DevTools MCP (UI bugs, incorrect behavior, console errors, network/API failures, or performance/lag), especially if the user seems inexperienced and needs guided, step-by-step diagnosis.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/eccentric-jamaican/dev-tools-skill

SKILL.md

Dev Tools Skill

Overview

Use the Chrome DevTools MCP server to diagnose and fix frontend issues by observing the live page, gathering evidence (console, network, performance), and proposing targeted code changes.

Quick Start

  1. Confirm the user wants DevTools used (or they already asked).
  2. Open the target page, then take an a11y snapshot.
  3. Triage via console + network + quick DOM inspection.
  4. Choose the appropriate workflow below and follow it end-to-end.
  5. Summarize findings + propose the smallest safe fix.

Workflow Decision Tree

  • UI/interaction bug (layout, hover/click, missing text): use UI/Interaction Workflow.
  • Performance/lag (slow load, jank, long TTI): use Performance Workflow.
  • API/network issue (failed fetch, wrong data): use Network Workflow.
  • Runtime error (crash, blank screen, stack trace): use Console/Error Workflow.

Core Workflows

1) Triage (always first)

  • Capture state: list_pagesselect_pagetake_snapshot.
  • Scan for visible errors (missing sections, broken layout) in snapshot text.
  • Check console messages (list_console_messages, then get_console_message for details).
  • Check network requests (list_network_requests, then get_network_request for errors/slow calls).
  • Form a hypothesis and select a workflow below.

2) UI/Interaction Workflow

  • Use take_snapshot to locate the target element; if unclear, take_screenshot.
  • Inspect element text/attributes via evaluate_script (read-only DOM queries).
  • Reproduce the issue with click, hover, or press_key.
  • If layout is involved, measure box sizes/positions via evaluate_script.
  • Propose minimal CSS/JS fixes; if unsure, ask 1 targeted question.

3) Performance Workflow

  • Run a trace: performance_start_trace (reload=true) → reproduce → performance_stop_trace.
  • Identify top issue via performance_analyze_insight.
  • Correlate with network timings and large asset loads.
  • Recommend fixes: reduce bundle size, defer non-critical JS, optimize images, avoid layout thrash.

4) Network Workflow

  • List requests and find failures/slow endpoints.
  • Open failing request details (get_network_request), capture status, timing, payload.
  • Cross-check console for CORS or runtime fetch errors.
  • Suggest fixes: endpoint URL, headers/auth, payload shape, caching, retries.

5) Console/Error Workflow

  • Read console errors and stack traces in full.
  • Identify the first failing module/function; map to code location if possible.
  • Confirm if error is user-triggered vs load-time.
  • Suggest smallest code change + safe rollback steps.

UX & Safety Rules

  • Explain actions in plain language; assume the user is less experienced.
  • Avoid submitting forms or destructive actions without explicit user confirmation.
  • Keep fixes minimal and reversible; call out any risk.

References

  • See references/mcp-cheatsheet.md for MCP command usage.
  • See references/debug-workflows.md for detailed steps and examples.
  • See references/performance.md for perf triage patterns.
  • See references/network.md for network debugging patterns.
  • See references/ui-debug.md for DOM/layout debugging tips.

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results