vite-devtools-svelte-perf-audit

Installation
SKILL.md

Svelte performance audit

You are auditing a running Svelte/SvelteKit dev server through the svelte-devtools MCP server provided by vite-devtools-svelte.

Preconditions

  1. The dev server is running and the user has registered the MCP server with claude mcp add (the dev server prints the command on startup). If a tool answers No running dev server, relay that to the user; if it asks for server, call list_dev_servers and ask the user which app they mean.
  2. The user has exercised the app at least once in a browser — render/load/fps buffers are empty until traffic flows.

If either is missing, stop and tell the user what to do; do not invent metrics.

Workflow

  1. Call start_session with label: "baseline-<short description>" and persist: false. Tell the user that they should now use the app in the browser (golden path + any flow they care about) for ~10–30 seconds.
  2. Wait for the user to confirm they are done exercising the app. Do not poll.
  3. When they confirm, ask whether to keep the baseline for this dev-server run only (keep: "memory", default) or save it to disk (keep: "disk"), then call end_session with that keep. Note the session id from the response — you will need it later.
  4. Call list_performance_issues (no thresholds first; defaults are sensible). Read the issues array.
  5. Present the top 3 issues to the user as a compact table: severity | kind | summary | file. Add any context from the metric field that aids interpretation.
  6. Ask the user which issue (if any) to investigate. Do not implement fixes in this skill. Hand off to /vite-devtools-svelte-perf-fix <issue id or summary> once they pick one.
Installs
3
GitHub Stars
55
First Seen
10 days ago