/build:dev-serverfrom build
Starts or restarts a project dev server on a specific or discovered port, waits for readiness, and monitors for automatic recovery. Useful when the user asks to start, restart, keep alive, watch, or monitor a dev server.
Ships in build. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Start the dev server for the current project and keep it running. Run everything in the current working directory; never hardcode or cd to a project path.
Use the port the user names. Otherwise find the configured port in vite.config.ts, app.config.ts, .env, package.json scripts, justfile, or similar.
The user expects a consistent URL, so never switch ports. Check what already listens on it:
lsof -i :<port> -P -n | grep LISTEN
Kill a listener only when it is this project's own dev server, such as a stale process this session started or one whose command runs from the current directory (lsof -p <pid> | grep cwd):
kill <pid>
When anything else holds the port, tell the user which process and PID hold it and ask before killing it. Never start the server beside an unknown listener.
Find the command in justfile, package.json scripts, Makefile, or equivalent (just dev, pnpm dev, npm run dev, make dev). Build prerequisites first when needed, such as a monorepo shared package.
Start it as a background process (the Bash tool's run_in_background in Claude Code), with PORT=<port> when the project honors it. Keep the process or session identifier so its output stays observable.
for i in $(seq 1 30); do curl -sI http://localhost:<port>/ 2>/dev/null | head -1 | grep -qE ' [23][0-9]{2}' && echo ready && break; sleep 1; done
Startup logs can claim success while another process holds a conflicting binding, which is common on macOS when IPv4, IPv6, and [::1] split. After the curl -sI check returns a non-error status, confirm the listeners:
lsof -i :<port> -P -n | grep LISTEN
Every listener must belong to the server you started. When a different process also listens on the port, tell the user the port is contested and name that process instead of reporting success. Otherwise tell the user the server is running at http://localhost:<port>/.
Check the same URL about once a minute with the available recurring mechanism (/loop 1m where available) until the user asks to stop or the surrounding task ends. Stay quiet while it is healthy.
When a check fails:
Restart automatically only once. If the server fails again after that restart, report the relevant output and ask the user before restarting it again.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub motlin/claude-code-plugins --plugin build6 skills in this plugin
/fixRun git-test precommit checks and fix failures without committing, or fix the errors described in a provided build log. Use when asked to fix build, test, lint, typecheck, or precommit failures./precommitRunning precommit checks and build validation. ALWAYS use after ANY code changes./test-allRun git-test on every local branch that contains upstream, fix failures in a subagent that folds each fix into the breaking commit, and loop until all commits pass. Use when asked to run or fix test-all./test-branchTest every commit in the current branch with git-test, delegate failures to a fix subagent, fold the fixes in with test-fix, and loop until all commits pass. Use when asked to test or fix the branch./test-setupConfigure git-test for the current repository so the test-branch and test-all skills work. Use when git test is missing or the user asks to set up branch testing.Other plugins' skills for the same job