Skip to content
Back to skills

Doctor

ASecurity

Find out why Layerwright can't reach Figma (plugin not connected, wrong port, old plugin window, another server on the port) and fix it with the user. Use for /layer:doctor or when figma_* tools fail with PLUGIN_DISCONNECTED or TIMEOUT.

  • 9 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 6, 2026
ai-agents

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add shayan-m81/layerwright --skill doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shayan-m81-doctor/badge)](https://www.skillsdirectory.com/skills/shayan-m81-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doctor
description: Find out why Layerwright can't reach Figma (plugin not connected, wrong port, old plugin window, another server on the port) and fix it with the user. Use for /layer:doctor or when figma_* tools fail with PLUGIN_DISCONNECTED or TIMEOUT.
disable-model-invocation: true
---

# Connection doctor

1. `figma_status`. Connected → say so (file, page, sessions) and stop.
2. Run `npx layerwright doctor` in the project and read it top to bottom; each ✗ line has its fix.
3. The usual causes: the plugin window isn't open (Figma desktop → Plugins → Development → Layerwright); the plugin was never imported (`npx layerwright plugin` prints the manifest's full path and the steps for this computer); an old plugin window (close and reopen it); the browser version of Figma (it must be the desktop app, which is for macOS and Windows only); a different port (`LAYERWRIGHT_PORT`).
4. After a fix, `figma_status` again and confirm.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.