/claudops:dev-server [port] [-- extra-args]from Claudops
Auto-detects project stack and starts the dev server, then monitors output for errors, warnings, and crashes. Supports Node.js, Python, Ruby, Go, Rust, Java, PHP, Elixir, and Docker Compose.
Ships in Claudops. 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.
If
.claude/skills/dev-server/SKILL.md.disabledexists, stop before reading a fallback. Project configuration: If the current project contains.claude/skills/dev-server/SKILL.md, read and apply it instead of this bundled default. The project copy is the capability source of truth. Repository context: Read../setup/references/task-context.mdwhen resolving a task, project commands, named agent roles, or legacy.claude/resource paths. Use repository evidence and applicable project instructions; a missing local workflow copy does not require setup. Resolve bundled resources from the installed skill, never from the target cwd.
Start the project's dev server and watch its output for errors. The user says "start dev" and you handle detection, startup, and monitoring — they only hear from you when something breaks.
When a server supports a task, resolve ../setup/references/task-context.md and record
the command, port, monitor/session identifier and verification result there. A standalone
server start uses session state only and does not create a task.
Scan the working directory for project markers. Check in this order — first match wins:
| Marker file | Stack | Dev command | Default port |
|---|---|---|---|
package.json | Node.js (see framework table) | varies | 3000 |
manage.py | Django | python manage.py runserver | 8000 |
Pipfile or pyproject.toml with [tool.poetry] | Python (check for framework) | varies | 8000 |
requirements.txt with fastapi | FastAPI | uvicorn main:app --reload | 8000 |
requirements.txt with flask | Flask | flask run --reload | 5000 |
Gemfile with rails | Rails | bin/rails server | 3000 |
Gemfile with sinatra | Sinatra | ruby app.rb | 4567 |
go.mod | Go | go run . | 8080 |
Cargo.toml | Rust | cargo run | 8080 |
pom.xml | Maven/Spring | ./mvnw spring-boot:run | 8080 |
build.gradle / build.gradle.kts | Gradle/Spring | ./gradlew bootRun | 8080 |
mix.exs with phoenix | Phoenix | mix phx.server | 4000 |
composer.json with laravel | Laravel | php artisan serve | 8000 |
docker-compose.yml | Docker | docker compose up | varies |
Makefile with dev target | Make | make dev | varies |
Node.js framework detection — when package.json exists, check dependencies:
| Dependency | Framework | Default command |
|---|---|---|
next | Next.js | next dev |
vite or @vitejs/* | Vite | vite |
@remix-run/dev | Remix | remix dev |
astro | Astro | astro dev |
@sveltejs/kit | SvelteKit | vite dev |
nuxt | Nuxt | nuxt dev |
@angular/cli | Angular | ng serve |
gatsby | Gatsby | gatsby develop |
expo | Expo | expo start |
| (none match) | npm scripts | <pm> run dev |
Node.js package manager — check in order:
bun.lock or bun.lockb → bunx / bun runpnpm-lock.yaml → pnpm exec / pnpm runyarn.lock → yarn / yarn runnpx / npm runPython environment — check in order:
.venv/ or venv/ exists → source .venv/bin/activate &&poetry.lock → poetry runPipfile.lock → pipenv runIf nothing matches, tell the user you couldn't detect the stack and ask what command to run.
If the detection picks a stack that seems wrong for the directory (e.g. package.json exists but it's just dev tooling in a Python project, or both manage.py and package.json present and unclear which is primary), show the user your guess and confirm before starting. Don't silently commit to a wrong stack.
Before starting:
Port conflict — check if the default (or user-specified) port is taken:
lsof -i :<port> -t 2>/dev/null
If occupied, identify the occupying process (ps -p <pid>) and present two options to
the user: kill PID N, or bind to port+1. Never kill a process without authorization. If
the process is clearly another instance of this project, prefer port+1 when no choice is
needed to start safely.
Dependencies installed?
node_modules/ existsbundle check passesIf missing, ask the user if you should install first. If the user or caller already authorized setup and installation for this project, reuse that authorization.
Use the Monitor tool with persistent: true so the server runs for the session.
The grep filter matters because a raw dev-server stdout stream is mostly routine request logs — thousands of lines of noise that would flood the conversation and hide real errors. The pattern below surfaces only startup failures, runtime exceptions, build errors, and warnings:
<dev-command> 2>&1 | grep --line-buffered -iE \
'(error[:\[]| ERR[!_]|EADDRINUSE|EACCES|ENOENT|ECONNREFUSED|FATAL|panic|Segmentation|Module not found|Cannot find module|ModuleNotFoundError|ImportError|SyntaxError|TypeError|ReferenceError|NameError|AttributeError|KeyError|ValueError|RuntimeError|IndentationError|failed to|build failed|compile error|compilation error|WARN[:\[]|warning[:\[]|deprecated|port.*already|address already in use|unhandled|rejected|crash|killed|Traceback|Exception|FAILED|ActionView|ActiveRecord|LoadError|undefined method|NoMethodError|cannot find|not found|Permission denied|exit code [1-9]|exit status [1-9]|thread.*panic|cannot compile)'
Set the Monitor description to something specific: "Next.js dev :3000" or "Django dev :8000".
Port flag by stack (when user specifies a port):
-p PORT--port PORT0.0.0.0:PORT--port PORT--port PORT-p PORTPORT=PORT env var--port PORTAnnounce once started and verified:
Started Next.js dev server (
bun run dev) on :3000 — root URL returned 200, no error overlay. Monitoring for errors.
"No error in the Monitor" ≠ "the app works." After the dev command announces readiness, confirm the server is reachable before handing control back to the user:
curl -sS -o /dev/null -w "%{http_code}\n" http://localhost:<port> with a 5s timeout. Expect 2xx/3xx. Non-2xx, connection refused, or timeout → investigate./health, /api/health, /), curl it and show the status code. Otherwise one HTTP probe is enough.If verification fails, surface it with the same classification as §4 (build/runtime/dependency/port) — don't just re-announce success.
When a Monitor notification fires, surface everything the filter caught — do not silently drop items because they look minor. Claude's job is coverage; the user decides what to ignore.
When the user says "stop", "kill it", "shut down", or similar, use the host's available monitor/session stop operation and confirm the exact server is stopped. If no stop capability is available, report that blocker instead of claiming it stopped.
package.json has workspaces or there's a turbo.json/nx.json, ask which package. Or check for a root dev script."Rails API :3001" and "Vite web :5173". Don't serialize — they're independent.docker-compose.yml exists alongside a framework, mention both options.XYZ and watch it", skip detection — just run their command through the Monitor filter.--turbo, preserve it.The Monitor is persistent: true and outlives context compaction. If the conversation has been compacted and the user asks about the server, restate: framework, port, PID (from startup), and how long it's been running. Don't assume the user remembers which dev server was started.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alexandrbasis/claudops --plugin claudops40 skills in this plugin
/analyzeCompare a task's discovery or product requirements with its tech decomposition and report traceability gaps. Use when asked to 'analyze consistency', 'check alignment', 'verify spec matches plan', 'traceability check', 'spec drift', 'are my docs aligned', or after /ct completes to verify the plan covers the requirements. `/ct` may invoke this check when traceability is material; otherwise it remains an explicit read-only command. NOT for code review (use /sr), NOT for code analysis (use /code-analysis), NOT for debugging (use /dbg)./antigravity-cliRun Google Antigravity CLI (agy) for web-grounded research, cross-AI review, or validation when those capabilities are explicitly needed or another skill delegates to agy. One-shot only; do not select it for an ordinary review without an explicit provider choice./architecture-languageCanonical architectural vocabulary — module, interface, seam, adapter, depth, leverage, locality. Use when reviewing architecture, deepening shallow modules, designing interfaces, or evaluating refactor candidates. NOT a domain glossary (use /ubiquitous-language for that)./blueprintTurn a one-line objective into a bounded staged implementation plan with cold-start briefs. Use when asked to 'blueprint', 'multi-session plan', 'long-term plan', 'construction plan', 'break into sessions', 'plan across sessions', 'multi-step project plan', 'session plan', or when work needs staged handoffs. Produces a plan where each step can be resumed independently by a fresh agent with no prior context./brainstormCompare options and clarify a decision through a collaborative brainstorming session. Use when asked to 'brainstorm', 'let's brainstorm', 'explore ideas', 'think through', 'brainstorm about [topic]', 'what are our options for', 'let's think about', 'pros and cons of', 'help me decide', or 'weigh the options'. NOT for feature discovery (use /nf), NOT for PRD/JTBD docs (use /product), NOT for deep research (use /deep-research), NOT for pre-implementation design (auto-triggered by design-exploration skill)./cc-linearExecute Linear operations via direct GraphQL API — create issues, update status/priority/title, add comments, search tasks, manage labels, assign work, and link PRs. Use this skill when the user mentions Linear explicitly, or references a Linear-style identifier (uppercase team prefix + dash + number, e.g. ENG-123, OPS-7; the project's team key is in $LINEAR_TEAM_KEY). Trigger on phrases like "create a Linear ticket/issue", "move TEAM-X to done/in progress/review", "update the Linear task status", "close the Linear issue", "what's in our Linear backlog", "assign this Linear issue to", "my Linear issues", or any project management operation targeting Linear. Also trigger when other skills (ct, si, sr) need to sync state with Linear. Do not trigger on ambiguous "create an issue" when the user clearly means a GitHub Issue (repo context, `gh issue` commands, issues.md), unless they also reference Linear.
Other plugins' skills for the same job