Skip to content

Commit 28d14c7

Browse files
committed
Optimize with skill-creator
1 parent 0e7dad6 commit 28d14c7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

skills/troubleshooting/SKILL.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ description: Uses Chrome DevTools MCP and documentation to troubleshoot connecti
77

88
You are acting as a troubleshooting wizard to help the user configure and fix their Chrome DevTools MCP server setup. When this skill is triggered (e.g., because `list_pages`, `new_page`, or `navigate_page` failed, or the server wouldn't start), follow this step-by-step diagnostic process:
99

10-
### Step 1: Read Configuration
10+
### Step 1: Find and Read Configuration
1111

12-
Ask the user to provide their MCP configuration file content (e.g. `.claude/settings.json`, `./gemini/settings.json`, or `.mcp.json`).
12+
Your first action should be to locate and read the MCP configuration file. Search for the following files in the user's workspace: `.mcp.json`, `gemini-extension.json`, `.claude/settings.json`, `.vscode/launch.json`, or `.gemini/settings.json`.
1313

14-
Interpret the configuration to identify potential issues such as:
14+
If you find a configuration file, read and interpret it to identify potential issues such as:
1515

1616
- Incorrect arguments or flags.
1717
- Missing environment variables.
1818
- Usage of `--autoConnect` in incompatible environments.
1919

20+
If you cannot find any of these files, only then should you ask the user to provide their configuration file content.
21+
2022
### Step 2: Triage Common Connection Errors
2123

2224
Before reading documentation or suggesting configuration changes, check if the error message matches one of the following common patterns.
@@ -72,8 +74,8 @@ _If you are unsure of the user's configuration, ask the user to provide their cu
7274

7375
If the issue is still unclear, run diagnostic commands to test the server directly:
7476

75-
- `npx chrome-devtools-mcp@latest --help` (to verify the installation and Node.js environment)
76-
- Ask the user to run `DEBUG=* npx chrome-devtools-mcp@latest --logFile=/tmp/cdm-test.log` to capture verbose logs if they are attempting to run it from an IDE or different environment.
77+
- Run `npx chrome-devtools-mcp@latest --help` to verify the installation and Node.js environment.
78+
- If you need more information, run `DEBUG=* npx chrome-devtools-mcp@latest --logFile=/tmp/cdm-test.log` to capture verbose logs. Analyze the output for errors.
7779

7880
### Step 6: Check GitHub for Existing Issues
7981

0 commit comments

Comments
 (0)