From skills
Scaffolds a one-command dev-local launcher that discovers a repo's services, ports, and infra dependencies and generates scripts/dev-local.sh with up/down/status/logs/restart commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skills:dev-local-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Goal: produce **one script** (`scripts/dev-local.sh`) that a person or agent runs
dev-local launcher for this codebaseGoal: produce one script (scripts/dev-local.sh) that a person or agent runs
to bring the whole local stack up — every long-lived dev server in its own tmux
window, plus any infra (DB, cache, queues) the app needs — and a short skill doc
so it's discoverable later.
Do NOT start any dev servers yourself. You are generating the launcher, not running it. Build it, syntax-check it, then hand it to the user to run.
This is the local, single-stack launcher. For concurrent agents that each need their own isolated stack (one laptop can't run N), see
crabbox-setup— the cloud counterpart. It reuses this script's service/port discovery, so set this up first.
Discover the real facts before writing anything:
pnpm-workspace.yaml / turbo.json /
nx.json / lerna.json (monorepo) or a single package.json, Cargo.toml,
go.mod, pyproject.toml, Makefile, Procfile, docker-compose.yml.dev/start/serve script, or
each Procfile line, or each docker-compose service. Note the exact command
to start each (e.g. pnpm --filter <name> run dev, npm run dev, cargo run,
uvicorn app:app --reload)..env for the port each service binds
(PORT, listen(, server.port, framework config like rsbuild.config,
vite.config, next.config). Record which talks to which..env(.local), ORM config, docker-compose,
and connection-string defaults. Decide how to provide each locally
(supabase start, a Docker container, an existing docker-compose).install. Note the commands
but keep them OUT of the default up path (offer a separate subcommand)..env.example/.env; never invent or
print secrets. The script must not inject credentials.Write down a small table: service → command → port → depends-on. That table is the spec for the script.
scripts/dev-local.shAdapt the skeleton in assets/dev-local.template.sh (same directory as this
skill). Fill in the discovered services, ports, and infra. Keep these
invariants:
up leaves existing windows alone instead of duplicating them.up, down (and down --all to stop infra), status (window
list + port check), logs <name>, restart <name>, attach, plus any
project-specific one-shots (migrate, seed).up.If the repo has no infra needs, drop the Docker/DB parts entirely — keep it to preflight + tmux windows. Match the script's complexity to the repo; simpler is better.
Then: chmod +x scripts/dev-local.sh and bash -n scripts/dev-local.sh to
syntax-check. Verify the read-only status path runs cleanly. Do not run up.
Create .claude/skills/dev-local/SKILL.md (or the repo's skills location) with:
frontmatter (name: dev-local, a description listing trigger phrases), a
service/port table, prerequisites, the subcommand list, and brief
troubleshooting (port-in-use, a window exited, infra not running). Keep it to one
screen — it documents the script, it doesn't re-explain it.
Tell the user the exact commands: scripts/dev-local.sh up, plus any first-run
step (… migrate). List the URLs. Note any prerequisite they must install or
start (e.g. Docker Desktop) before the first up.
npx claudepluginhub ai-builder-club/skills --plugin skillsGenerates bash scripts for dev server lifecycle (start/stop/status/ports) from detected project structure and package manager (pnpm/bun/yarn/npm/Cargo/Go).
Set up local development environments — devcontainers, Docker Compose, one-command setup, dev/prod parity. Use when asked to "set up dev environment", "devcontainer", "docker compose for dev", "local development setup", or "one command to run".
Generates a complete local development setup guide for any service or project, walking a new engineer from zero to passing tests in under 30 minutes.