Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides developers through building, updating, debugging, and deploying ChatGPT apps as MCP servers using the Skybridge framework.
18% 95%+77 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 4 of 22 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Use this when upgrading from Skybridge < 0.36.x. The breaking changes first landed in v0.36.0 and were restated in v1.0.0; users might refer to 0.36.x+ as "v1". A greenfield app scaffolded from the current example apps already has everything below correct; these gotchas apply to migrators who carry over their own config.
Read the release notes first: they are the fastest source. Use this guide for the parts the notes get wrong or leave out. When a note is imprecise, defer to this document and verify against the installed package instead of guessing: grep its dist types (node_modules/skybridge/dist/web/index.d.ts, dist/server/server.d.ts, dist/web/plugin/scan-views.js), or run npm pack skybridge@<version> to read them before installing.
These are exactly as documented. Apply them verbatim:
| v0 | v1 |
|---|---|
registerWidget("name", viewMeta, toolDef, handler) | registerTool({ name, ...toolDef, view: {...} }, handler) |
mountWidget(<View />) at end of view file | delete it — views auto-mount from src/views/ |
useWidgetState | useViewState |
widgetsDevServer | viewsDevServer |
server/ + web/ split | flat src/ with src/views/ |
return { ..., result } in tool response | remove the result field — dropped from CallToolResponse (keep isError, see below) |
Two of these are not pure 1:1 renames:
useViewState's return type depends on whether you pass a default: with one it is [T, …], without it is [T | null, …]. useWidgetState was always nullable, so the swap can change your state type.result field was dropped, not isError. isError is part of the MCP CallToolResult and is still how you flag a failed call. Keep returning isError: true on error paths (or throw inside the handler — the SDK catches it and sets isError: true for you). If you drop isError from an error response, the missing field defaults to false and the host treats the failure as a successful result.Each of these blocks a working build, and several fail with error messages that point away from the actual cause.
skybridge/web → skybridge/vite rename is only the Vite pluginOn Skybridge 2.x the plugin lives in its own package: install @skybridge/vite-plugin and read @skybridge/vite-plugin wherever this guide says skybridge/vite.
The notes show import { skybridge } from "skybridge/web" → "skybridge/vite" and read like a blanket rename. It is not. Only the Vite plugin moved. Every React hook still lives in skybridge/web. The split is by runtime: skybridge/vite is build-time Node code (the plugin runs in your Vite config), while skybridge/web is browser code that ships to the view — so a blanket rename moves browser hooks into a module the browser bundle can't resolve.
// vite.config.ts — the ONLY thing that moves to skybridge/vite
import { skybridge } from "skybridge/vite";
// helpers.ts and views — hooks stay in skybridge/web
import { generateHelpers, useDisplayMode, useSendFollowUpMessage, useViewState } from "skybridge/web";
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.