sandbox-migrate-to-next
Agent skill fromfcakyon/claude-codex-settings
Migrate Cloudflare Sandbox apps from stable @cloudflare/sandbox to @cloudflare/sandbox@next (SDK 1.0 preview). Use sandbox-next for apps already on the preview.
How to install sandbox-migrate-to-next
install sandbox-migrate-to-next
# install the claude-codex-settings pack with the skills CLI
npx skills add fcakyon/claude-codex-settings# or add only this skill to Claude Code: copy the folder
plugins/cloudflare-skills/skills/sandbox-migrate-to-next/
# into
~/.claude/skills/sandbox-migrate-to-next/ (all projects)
.claude/skills/sandbox-migrate-to-next/ (one project)
1# Migrate stable → Sandbox SDK 1.0 preview (`@next`)23**Perform** the port. Follow the steps in order. Depth lives in docs—fetch the linked page when a step needs detail.45Human guide: [Migrate](https://developers.cloudflare.com/sandbox/sdk/migrate/index.md) · [1.0 preview](https://developers.cloudflare.com/sandbox/index.md)67**New projects** should start on `@next` (**`sandbox-next`**), not this skill. **Day-to-day stable work** → **`sandbox-stable`**. Deprecated-API cleanup **without** moving to `@next` → [2026 deprecation guide](https://developers.cloudflare.com/sandbox/sdk/migrate/index.md) first if needed.89Existing apps should migrate **when you can**, so you are ready when 1.0 becomes the stable release. Do **not** force production cutover without the user agreeing.1011**Prefer installed `@next` types and the migrate doc over memory.**1213## Workflow14151. **Review** hard rules and the replacement map162. **Audit** the codebase; list hits and target shapes173. **Clarify** with the user (cutover, bridge, Python image, unclear sites)184. **Upgrade** package, image, and code195. **Validate**2021Stop after any step that needs a user decision.2223## Hard rules2425- Worker package and container image must be the **same** `@next` line.26- Production cutover uses **immediate** container rollout. Stable and `@next` control protocols are incompatible both ways; gradual rollout leaves a broken mixed window. In-flight container work can stop.27…
Excerpt shown under the repository's Apache-2.0 license.
