.agents/skills/check-deploy/SKILL.md
Watch CI until the "Build and Push Sandbox" workflow completes. For dev deployments, watches the develop branch. For prod deployments, watches the latest tag. Use after merging into develop or pushing a release tag.
npx skillsauth add blaxel-ai/sandbox check-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Watch the Build and Push Sandbox workflow until it completes, then report the result.
develop): watch the develop branch.git describe --tags --abbrev=0
Then query workflow runs filtered by that tag.If explicitly told which branch or tag to watch, use that instead.
For dev (branch):
gh api "repos/blaxel-ai/sandbox/actions/runs?branch=develop&per_page=5" \
--jq '.workflow_runs[] | select(.name == "Build and Push Sandbox") | {id: .id, status: .status, conclusion: .conclusion, url: .html_url, created_at: .created_at}' \
| head -1
For prod (tag):
gh api "repos/blaxel-ai/sandbox/actions/runs?event=push&per_page=10" \
--jq '.workflow_runs[] | select(.name == "Build and Push Sandbox" and .head_branch == "<tag>") | {id: .id, status: .status, conclusion: .conclusion, url: .html_url, created_at: .created_at}' \
| head -1
If no run is found, tell the user and stop.
Use gh run watch to follow the run until completion:
gh run watch <run_id> --exit-status
This blocks until the run finishes and returns a non-zero exit code on failure.
The deployment is considered done as soon as any build-s3-hub job completes successfully. You do not need to wait for the entire workflow to finish. If you see build-s3-hub jobs pass in the output, you can report success early.
Once deployed, report:
If the conclusion is failure, suggest the user check the logs at the run URL.
development
Regenerate the OpenAPI reference documentation after adding, modifying, or removing API endpoints in sandbox-api. Run this whenever handler signatures, route paths, or swag annotations change.
development
Run the sandbox-api integration tests against a live API instance. Use after making changes to sandbox-api to verify all endpoints still work correctly.
development
Run the full end-to-end test suite against a custom sandbox image deployed locally or on Blaxel. Use before merging significant changes to validate the complete sandbox-api binary, not just unit/integration tests.
testing
Deploy a Playwright sandbox (chromium or firefox) on Blaxel and run e2e tests against it. Use to validate that playwright hub images work end-to-end (browser connection, page navigation, DOM interaction) after changes.