Skip to content
Back to skills

Update

ASecurity

Update Layerwright on this computer when a newer version is out - the Figma plugin, the /layer commands and the MCP server they run. Use for /layer:update, when the user asks to update Layerwright, or when a request from the Figma window asks for it.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 10, 2026
ai-agents

Works with

  • claude code
  • terminal
  • cli
  • mcp

Security analysis

A100/100

Scanned November 10, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Update?

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

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

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: update
description: Update Layerwright on this computer when a newer version is out - the Figma plugin, the /layer commands and the MCP server they run. Use for /layer:update, when the user asks to update Layerwright, or when a request from the Figma window asks for it.
---

# Update Layerwright

1. `layerwright_update()`: the version this session runs, the newest one on npm, and the command.
2. Up to date → say so in one line and stop. npm couldn't be reached → say so; the user can try again later.
3. A newer one is out → one line: "Layerwright <current> → <latest>". Ask before running it (AskUserQuestion when you have it: Update now / Not now), unless this came from the Update button in the Figma window: pressing it was their OK.
4. Run the command it gives in the terminal: `npx -y layerwright@latest update` (any folder; the first run downloads the new version, so it can take a minute). Show the user its ✓ / ✗ lines. No terminal in this client → give them the command to run themselves.
5. Tell them what's left, as its "Next" lines say: in Claude Code, type `/reload-plugins` in each open session (this one too), or start a new one; in the desktop app or Codex, a new session; in Figma, close and reopen the Layerwright plugin. The newer version takes over the shared Figma connection by itself.
6. From the Figma window → `figma_reply({ id, status: "done", message })` with one line: the version now and what's left. A ✗ line → `status: "failed"` with it.

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.