agentleFS
fmindfmind/dotfiles/skills/chrome-devtools/SKILL.md

chrome-devtools

Skill13 starsChanged 4 days agoMITView on GitHub

Debug Chrome with DevTools MCP or its CLI: console, network, performance, accessibility.

43 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use aesthetic, web-frameworks and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mrgoonieSkill

    aesthetic

    Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

    Also in 5 projects that use this

  • mrgoonieSkill

    web-frameworks

    Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined/filled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.

    Also in 8 projects that use this

  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 4 projects that use this

  • truongtv22Skill

    mobile-development

    Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.

    Also in 5 projects that use this

  • +8 more from mrgoonie

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Chrome DevTools MCP or its CLI for live browser diagnostics.

    line 15
  2. Very specific:

    Resolve the command: run npm exec --yes --package=chrome-devtools-mcp@1.12.0 -- chrome-devtools <command>.

    line 31
  3. Distinctive:

    Close task-owned pages: after verifying the fix.

    line 43

“Common” is measured: kept by at least 6 in 10 of the 41 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Chrome DevTools

Use Chrome DevTools MCP or its CLI for live browser diagnostics. playwright owns repeatable end-to-end journeys; web-frontend owns platform implementation guidance.

Setup

Require Node.js LTS, npm/npx, and supported Chrome. dot deploys no DevTools MCP server: reuse a connected one, use the CLI below when none is connected, and add the server with mcp-setup only when a harness needs it. The launch command below uses a reviewed package pin; recheck installed help before updating it.

npx --yes chrome-devtools-mcp@1.12.0 --isolated --headless --no-usage-statistics --no-performance-crux --redact-network-headers

The MCP client starts that process over stdio. Use a dedicated browser profile. Keep remote debugging on loopback; browser content, network bodies, cookies, screenshots, and traces may expose private data. The two opt-out flags disable MCP usage statistics and CrUX URL lookups respectively. --redact-network-headers replaces every header outside DevTools' allowlist with <redacted>, including Cookie, Set-Cookie, Authorization, ETag, and Content-Length; omit it only from a session that must read those headers.

CLI without MCP

The same package exposes the chrome-devtools shell command, a client to a persistent background daemon. It is the default path when no DevTools MCP is connected.

  1. Resolve the command: run npm exec --yes --package=chrome-devtools-mcp@1.12.0 -- chrome-devtools <command>; read chrome-devtools --help and start --help for the installed commands and flags.
  2. Check before starting: inspect status first; do not stop or repurpose another task's daemon.
  3. Start the task's session explicitly: start --workspace="$PWD" --no-usage-statistics --no-performance-crux. Otherwise the first tool call starts the daemon automatically with unrestricted file access.
  4. Clean up: close task-owned pages and stop only a daemon created for this task.

Workflow

  1. Identify the target: list pages and select the intended page ID. Take a fresh snapshot before using element UIDs; navigation and rerenders invalidate them.
  2. Inspect console and network: list bounded console messages and failed-request metadata, then fetch only the relevant request IDs and bodies.
  3. Trace performance: performance_start_trace and performance_stop_trace take a filePath; save large traces as files instead of returning their raw contents.
  4. Audit accessibility: lighthouse_audit covers accessibility, SEO, and best practices; it reloads the page unless mode is snapshot, and it excludes performance, which needs a trace.
  5. Analyze memory: take_heapsnapshot is on by default, while compare_heapsnapshots and the other analysis tools need --memoryDebugging on the MCP server.
  6. Close task-owned pages: after verifying the fix.

Gotchas

  • Pin the browser mode: set headed or headless explicitly for reproducibility; the CLI defaults to headless and enables --memoryDebugging, which need not match a separately configured MCP connection.
  • Save artifacts inside allowed roots: MCP file tools write only under the OS temp directory, the client's MCP roots, and --workspace directories; other paths fail with is not within any of the configured workspace roots. Add --workspace=<dir> to the launch command for the authorized artifact directory, or save to the temp directory and move the file.

Official Skills

Upstream: ChromeDevTools/chrome-devtools-mcp skills, including chrome-devtools-cli for the CLI. Use DISABLE_TELEMETRY=1 skills add ChromeDevTools/chrome-devtools-mcp --list, then follow the shared vendor-skill policy for the required guidance. Select task-specific entries such as a11y-debugging or memory-leak-debugging; preview the same-name chrome-devtools entry (also in github/awesome-copilot) instead of installing it (vendor-skill policy).

Documentation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.