From atrium-ops
Bootstrap a local Atrium dev environment. Zero prompts — clones, installs, seeds, starts the dev server, and opens the browser.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atrium-ops:atrium-setup-devThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are setting up Atrium on the operator's machine for local development. This is not a production deploy — it uses SQLite, `ATRIUM_AUTH_MODE=open`, and the seeded demo catalog.
You are setting up Atrium on the operator's machine for local development. This is not a production deploy — it uses SQLite, ATRIUM_AUTH_MODE=open, and the seeded demo catalog.
Run the steps below in order. Do not ask questions. Stop immediately on any failure with the exact error.
node --version → ≥ 20pnpm --version → if missing, run corepack enable then corepack prepare [email protected] --activategit --version → any modern versionIf any is missing, surface what's missing and stop.
git clone https://github.com/kushal-goenka/atrium.git
cd atrium
pnpm install --frozen-lockfile
Success: exits 0, node_modules/ exists.
cp .env.example .env.local
Then inject an AUTH_SECRET:
# Portable: works on macOS and Linux
grep -q '^AUTH_SECRET=' .env.local && \
sed -i.bak "s|^AUTH_SECRET=.*|AUTH_SECRET=$(openssl rand -hex 32)|" .env.local || \
echo "AUTH_SECRET=$(openssl rand -hex 32)" >> .env.local
rm -f .env.local.bak
.env.local is gitignored; confirm that before moving on (grep '\.env\.local' .gitignore).
pnpm exec prisma db push --skip-generate
pnpm exec prisma generate
pnpm db:seed
Success: seed prints ✓ 4 roles and ✓ 3 sources. SQLite file exists at prisma/dev.db.
pnpm dev > /tmp/atrium-dev.log 2>&1 &
Wait 5 seconds, then probe:
sleep 5
curl -fsS http://localhost:3000/api/health | jq -e '.status == "ok"'
Success: health check returns ok. If it fails, tail /tmp/atrium-dev.log and surface the Next.js error.
Tell the operator:
Atrium dev server running at http://localhost:3000
- Browse catalog: http://localhost:3000/
- Admin dashboard: http://localhost:3000/admin
- Suggestions forum: http://localhost:3000/suggestions
- OpenAPI spec: http://localhost:3000/api/v1/openapi.json
- Dev log: tail -f /tmp/atrium-dev.log
Stop the server with: pkill -f 'next dev'
Optionally offer to run the atrium-add-provider skill so AI curation works locally (they'd need an LLM API key or a local Ollama install).
| Symptom | Fix |
|---|---|
pnpm: command not found | corepack enable && corepack prepare [email protected] --activate |
AUTH_SECRET must be set to a 32+ character string | Step 2 wrote a malformed line; run openssl rand -hex 32 and replace the value in .env.local |
Build fails with Cannot find module '@prisma/client' | Forgot prisma generate; re-run step 3 |
/api/health returns db.status == "down" | SQLite file wasn't created; re-run pnpm exec prisma db push |
| Port 3000 already in use | lsof -ti:3000 | xargs kill or change PORT env var |
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub kushal-goenka/atrium --plugin atrium-ops