بنقرة واحدة
dev-server-sandbox
Run multiple isolated mux dev-server instances (temp MUX_ROOT + free ports)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run multiple isolated mux dev-server instances (temp MUX_ROOT + free ports)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.
Run isolated mux desktop (Electron) instances (temp MUX_ROOT + free ports)
Terminal-Bench integration for Mux agent benchmarking and failure analysis
Regenerate high-resolution README screenshots from Storybook stories. Use this skill when Chromatic detects visual diffs in any story under "Docs/README Screenshots", or when story data/layout changes require updated documentation assets. Triggers on: Chromatic visual regressions in readme screenshot stories, changes to App.readmeScreenshots.stories.tsx, changes to mockFactory.ts that affect screenshot stories, or explicit user request to update README images.
Guidelines for creating and managing Pull Requests in this repo
Testing doctrine, commands, and test layout conventions
| name | dev-server-sandbox |
| description | Run multiple isolated mux dev-server instances (temp MUX_ROOT + free ports) |
dev-server sandbox instancesmake dev-server starts the mux backend server, which uses a lockfile at:
<MUX_ROOT>/server.lock (defaults to ~/.mux-dev/server.lock in development)This means you can only run one dev server per mux root directory.
This skill documents the repo workflow for starting multiple dev-server instances in parallel (including from different git worktrees) by giving each instance its own temporary MUX_ROOT.
make dev-server-sandbox
MUX_ROOT directoryproviders.jsonc (provider config)config.json (project list)$MUX_ROOT, then ~/.mux-dev, then ~/.mux), so a root with only
config.json doesn't drop provider config--clean-providers (including Bedrock's AWS_REGION and
AWS_BEARER_TOKEN_BEDROCK; shared AWS credentials like AWS_PROFILE are
kept); otherwise only *_BASE_URL env vars that would shadow a seeded
providers.jsonc entry that has an apiKey but no explicit baseUrl
(API key env vars are always kept so env-key fallback still works)BACKEND_PORT, VITE_PORT)MUX_ENABLE_TUTORIALS_IN_SANDBOX=1 opts back in)VITE_ALLOWED_HOSTS=all) so it works behind port-forwarding domainsmake dev-server with those env overridesbash.monitorWhen you need the sandbox to keep running while you continue or end the turn, start it as a monitored background bash. The monitor wakes the workspace on useful server output; call task_await only if you need surrounding logs.
bash({
script: "make dev-server-sandbox",
display_name: "Dev Server Sandbox",
run_in_background: true,
timeout_secs: 1800,
monitor: {
filter: "ready|listening|localhost|ERROR|EADDRINUSE|failed|Failed",
cooldown_ms: 1000,
max_events: 3,
},
});
Use this for line-oriented server readiness/errors. For external status polling (PR checks, deployment health, remote CI), use a background task/workflow monitor instead.
# Start with a clean instance (do not copy providers or projects)
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-providers --clean-projects"
# Skip copying providers.jsonc
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-providers"
# Clear projects from config.json (preserves other config)
make dev-server-sandbox DEV_SERVER_SANDBOX_ARGS="--clean-projects"
# Use a specific root to seed from (default: per-file from $MUX_ROOT, ~/.mux-dev, ~/.mux)
SEED_MUX_ROOT=~/.mux-dev make dev-server-sandbox
# Keep the sandbox root directory after exit (useful for debugging)
KEEP_SANDBOX=1 make dev-server-sandbox
# Pin ports (must be different)
BACKEND_PORT=3001 VITE_PORT=5174 make dev-server-sandbox
# Re-enable tutorials for sandbox dogfooding
MUX_ENABLE_TUTORIALS_IN_SANDBOX=1 make dev-server-sandbox
# Override which make binary to use
MAKE=gmake make dev-server-sandbox
providers.jsonc may contain API keys.secrets.json.