Миграция Cloudflare Sandbox на SDK 1.0 preview
★ 8.5 · vibe-coding
sandbox-migrate-to-next is a Claude Code skill that ports an existing Cloudflare Sandbox application from the stable @cloudflare/sandbox package to the @cloudflare/sandbox@next prerelease (Sandbox SDK 1.0 preview). It audits the codebase using a targeted rg search for deprecated patterns, then applies a replacement map: removes SANDBOX_TRANSPORT and session APIs, converts string exec calls to argv arrays with process handles, replaces sandbox.terminal with createTerminal, switches to numeric kill signals, and migrates interpreter usage to withInterpreter. Both the Worker package and the container image must be updated together — npm install @cloudflare/sandbox@next and FROM cloudflare/sandbox:next — since stable and @next control protocols are mutually incompatible, making gradual rollout impossible. Before any production cutover, the skill requires explicit user confirmation, as in-flight processes and terminals may stop. Use this skill to migrate an existing project; for new @next applications, use sandbox-next instead.