Add stable and @next Sandbox agent skills - #92
Merged
Conversation
Refresh sandbox-sdk for @next and add sandbox-v1-migration plus sandbox-2026-deprecation so agents install migrate paths from cloudflare/skills instead of docs-only markdown.
ghostwriternr
requested review from
dmmulroy,
elithrar and
irvinebroque
as code owners
August 7, 2026 15:58
ghostwriternr
marked this pull request as draft
August 7, 2026 15:58
Agents need separate build paths for stable and @next so they do not mix incompatible exec models. Keep migration as its own performable upgrade skill.
Pair build skills as sandbox-next and sandbox-stable so the package line is obvious from the skill name.
Build skills gate the package line, state the contract, and route to docs by task. Keep migrate as a stepwise port runbook.
Point exhaustive reading at types and docs so agents do not treat the process/terminal stub as the full Sandbox surface.
ghostwriternr
marked this pull request as ready for review
August 7, 2026 16:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stable
@cloudflare/sandboxand@cloudflare/sandbox@nextuse incompatible command models (buffered stringexecvs argv handles). A single product skill teaches agents the wrong contract half the time, and docs-local SKILL.md files sit outside the normal cloudflare/skills install path.This change puts three skills on the central install path so agents pick the right package first, stay productive on either release during the 1.0 preview window, and only port when asked:
sandbox-next— build on@next(recommended for new projects)sandbox-stable— build on the current stable packagesandbox-migrate-to-next— perform stable →@nextwhen upgradingBuild skills are gates and retrieval maps (package check, non-negotiable contract, task → docs), not full API manuals. Migrate is a stepwise runbook. Optional
@nextreference files are explicit cheatsheets; exhaustive signatures stay in installed types and developers.cloudflare.com.Companion docs PR wires the same skill names into Sandbox coding-agent blurbs: cloudflare/cloudflare-docs#32291
Test plan:
npx skills add https://github.com/cloudflare/skillsand confirm the three skill names appearsandbox-stable(or stops if it openedsandbox-next) and does not rewrite to argv/output()handles@nextapp, agent uses argvexecand does not assume command completion atawait execsandbox-migrate-to-nextand does not force production cutover without asking