Usa esta skill para conectarte a la interfaz de Chrome DevTools para depuración interactiva, revisión de UI/UX, preguntas y respuestas, mostrar al usuario elementos/solicitudes de red/paneles, inspeccionar la selección actual del usuario en DevTools y atender o consultar hilos de comentarios de la interfaz de DevTools.
Compatibilidad
Con tu gateway de Versatile, cualquier cliente MCP carga las instrucciones de esta skill. Que además pueda hacer el trabajo depende de lo que la skill necesita y de lo que el cliente ejecuta.
Requiere
Nada más que leer sus instrucciones
| Cliente | Funciona | Por qué | Lee SKILL.md de forma nativa |
|---|---|---|---|
| Claude Code | Completo | Tiene todo lo que esta skill necesita | Sí |
| Codex CLI | Completo | Tiene todo lo que esta skill necesita | Sí |
| Cursor | Completo | Tiene todo lo que esta skill necesita | Sí |
| Gemini CLI | Completo | Tiene todo lo que esta skill necesita | Sí |
| VS Code Copilot | Completo | Tiene todo lo que esta skill necesita | Sí |
| opencode / oh-my-pi | Completo | Tiene todo lo que esta skill necesita | Sí |
| Claude Desktop | Completo | Tiene todo lo que esta skill necesita | Sí |
| ChatGPT and other chat-only MCP clients | Completo | Tiene todo lo que esta skill necesita | No |
Cómo lo determinamos
Nada de esto se ejecutó ni se probó. Cada veredicto se deriva de los archivos de la propia skill y de una tabla fija de reglas, así que léelo como una previsión, no como una garantía.
De la skill leemos las herramientas que permite el frontmatter, los lenguajes de sus scripts, los comandos que cita en el código, el uso de red y los servidores MCP que espera.
De cada cliente usamos tres cosas que hace en tu máquina sin servidores extra: ejecutar comandos, leer y escribir archivos y acceder a la web. La búsqueda integrada de una app de chat no cuenta, porque una skill no puede accionarla.
Completo significa que el cliente hace todo lo que la skill necesita. Solo las instrucciones significa que carga y sigue el texto, pero le falta una capacidad que la skill usa. No significa que la skill trae código y el cliente no puede ejecutarlo.
--- name: inspect-in-devtools description: Use this skill to connect to the Chrome DevTools UI for interactive debugging, UI/UX review, Q&A, showing elements/network requests/panels to the user, inspecting the user's current DevTools selection, and addressing or polling for DevTools UI comment threads. --- # Debug, Review, and Q&A in DevTools Use this skill to: 1. **Show a target to the user**: Open DevTools and reveal a panel, a DOM element, or a network request. 2. **Inspect the user's selection**: Read the element or network request that the user selected in DevTools. 3. **Address DevTools comments**: Fetch comment threads, answer questions or apply fixes, and resolve the threads. ## Prerequisites - **Chrome version**: Chrome M159 or later. - **Required flag**: `--devtools-comments` in the MCP server config. Without it, `open_devtools`, `reveal_in_devtools`, `get_devtools_comments`, and `resolve_devtools_comment` are not available. - **Headed browser**: Chrome must not run in `--headless` mode. - **Page targeting**: All tools require a `pageId` from `list_pages` or `new_page`. ## Workflows ### 1. Open DevTools Call `open_devtools` with `pageId`. Do this before you call `reveal_in_devtools`, `get_devtools_comments`, or `resolve_devtools_comment`. ### 2. Reveal a panel, element, or network request Call `reveal_in_devtools` with `pageId` and these optional parameters: - `panelName`: `"elements"`, `"network"`, `"sources"`, or `"console"`. Pass it alone to switch panels. - `uid`: Element `uid` from `take_snapshot`. Reveals the element in the Elements panel. - `reqid`: Request `reqid` from `list_network_requests`. Reveals the request in the Network panel. `uid` and `reqid` are mutually exclusive. ### 3. Inspect the user's selection - **DOM element**: Call `take_snapshot`. The snapshot marks the element selected in the Elements panel. Pass its `uid` to `get_css_styles`, `take_screenshot`, or `evaluate_script`. - **Network request**: Call `get_network_request` and omit `reqid`. It returns the request selected in the Network panel. ### 4. Handle comment threads Select the mode from the user's request. #### Mode A: One-shot (comments already exist) Use this mode when the user says the comments are already in DevTools, or asks you not to poll. 1. Call `get_devtools_comments` once. 2. Process and resolve each returned thread. 3. Summarize your changes and answers in chat, then end your turn. Do **not** poll. #### Mode B: Watch (wait for user feedback) Use this mode when the user asks you to wait while they debug, review, or add comments. 1. Call `get_devtools_comments` immediately. 2. While the result is `"No open DevTools comments found."`, wait 10 seconds, then call it again. Call it immediately if a `"DevTools comment threads updated"` notification arrives. 3. Stop after 12 consecutive empty polls (about 2 minutes) or when the user asks you to stop. 4. When threads appear, process and resolve them. Then reset the empty-poll counter and continue polling. Rules for polling: - **Use a background sub-agent** when sub-agent tools are available, so the main thread stays responsive. The sub-agent returns the threads to the main agent, or resolves them itself if it has workspace and MCP tools. - **Poll inline** only when sub-agent tools are unavailable. Do not end your turn early. - **Never call `get_devtools_comments` back-to-back** without the 10-second delay. #### Process and resolve a thread For each `### Thread: <id>`: 1. **Inspect the anchored target**: - `Related element uid`: Use `get_css_styles`, `take_snapshot`, or `take_screenshot` with the `uid`. - `Related network reqid`: Use `get_network_request` with the `reqid`. - Optionally call `reveal_in_devtools` to show the target to the user. 2. **Address the comment**: - For a code or styling request, apply the fix in the workspace. Reload and verify the page if needed. - For a question or root-cause investigation, collect diagnostic data. Do not make unnecessary code edits. 3. **Resolve**: Call `resolve_devtools_comment` with `pageId`, `threadId`, and `replyText`: - For a question or root cause, write a detailed answer. - For a straightforward fix, write 1–2 sentences that state the change and the file.
1 archivos, 4,2 KB
- SKILL.md4,2 KB
- Licencia
- Apache-2.0encontrada en repository
- Listado
- Descargar el YAML
Gateway en el puerto 7465 cambiar
Se guarda solo en este navegador.
¿Aún no tienes el gateway? Pega esto en tu terminal y vuelve a hacer clic en Importar.
git clone https://github.com/versatile-sh/connector-engine && cd connector-engine && make upImportar abre tu propio gateway en una pestaña nueva; esta página nunca se conecta con él. Cómo funciona