agentleFS
leaf76leaf76/agent-skills/chrome-devtools-test/SKILL.md

chrome-devtools-test

Skill0 starsChanged 3 months agoMITView on GitHub

Use the Chrome DevTools MCP tools to do lightweight E2E checks, capture console/network issues, and gather performance traces. Use when asked to “test in browser”, “verify UI”, or “debug in DevTools”.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read test env config from environment variables when available:

    line 11
  2. Distinctive:

    If any are missing, ask the user (do not invent credentials and do not write them into files).

    line 15
  3. Distinctive:

    Prefer going to the login page directly if auth is required.

    line 21
  4. Very specific:

    Use mcp__chrome-devtools__take_snapshot to locate form inputs and buttons.

    line 24
  5. Very specific:

    Use mcp__chrome-devtools__fill / ...__fill_form and mcp__chrome-devtools__click.

    line 25
  6. Very specific:

    Use mcp__chrome-devtools__wait_for for a post-login indicator (URL change, dashboard text, etc.).

    line 26
  7. Very specific:

    If visual verification helps, use mcp__chrome-devtools__take_screenshot.

    line 30
  8. Distinctive:

    Never log or store passwords/tokens in plaintext.

    line 39
  9. Distinctive:

    If a CAPTCHA/Turnstile appears, prompt the user to intervene manually.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 MCP Testing

Goal: quickly verify user flows and collect actionable evidence (console, network, screenshots, traces).

Prerequisites (no hardcoded secrets)

  • Read test env config from environment variables when available:
    • TEST_BASE_URL
    • TEST_EMAIL
    • TEST_PASSWORD
  • If any are missing, ask the user (do not invent credentials and do not write them into files).

Workflow

1) Navigate

  • Open a page with mcp__chrome-devtools__new_page (or ...__navigate_page for an existing page).
  • Prefer going to the login page directly if auth is required.

2) Login (if needed)

  • Use mcp__chrome-devtools__take_snapshot to locate form inputs and buttons.
  • Use mcp__chrome-devtools__fill / ...__fill_form and mcp__chrome-devtools__click.
  • Use mcp__chrome-devtools__wait_for for a post-login indicator (URL change, dashboard text, etc.).

3) Execute the test scenario

  • Interact with the UI via ...__click, ...__fill, ...__press_key.
  • If visual verification helps, use mcp__chrome-devtools__take_screenshot.
  • To check errors, use mcp__chrome-devtools__list_console_messages.
  • To inspect API calls, use mcp__chrome-devtools__list_network_requests + ...__get_network_request.

4) Performance (optional)

  • Record a trace with mcp__chrome-devtools__performance_start_trace and ...__performance_stop_trace.
  • Summarize CWV/insights relevant to the scenario.

Safety / Reporting

  • Never log or store passwords/tokens in plaintext.
  • If a CAPTCHA/Turnstile appears, prompt the user to intervene manually.
  • Report: steps executed, pass/fail, console errors, failing network requests, and attached screenshots/traces.

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.