---
description: Interactive onboarding for a new developer.
argument-hint: [role]
---

# /onboard-developer

## Purpose

Walk a new developer from clone to running app, tailored to their role.

## Required context

- `docs/onboarding/README.md` + `README.th.md`, `CLAUDE.md`, `RUNBOOK.md`

## Inputs

- `$1` — role (`frontend` | `backend` | `fullstack` | `devops`)

## Execution steps

1. Verify prerequisites (Node 20+, pnpm, .NET 9, Docker).
2. `pnpm install` → `docker compose up -d` → `pnpm db:migrate && pnpm db:seed` → `pnpm dev`.
3. Confirm login works with the seeded admin.
4. Point to the role-relevant folders + conventions + the agent roster.
5. Assign a starter task.

## Validation checklist

- [ ] App runs locally
- [ ] Seeded admin login works
- [ ] Dev understands the conventions + where to find docs

## Expected output

A productive dev with a running environment.

## Failure handling

If a Day-1 criterion fails, fix the onboarding doc — it's a documentation bug.
