setup-projectlisted
Install: claude install-skill djnsty23/claude-auto-dev
# Setup Project
> **Browser access.** Use the built-in browser tools. `mcp__Claude_Browser__*`
> covers navigation, DOM reads (`read_page`), screenshots and `resize_window`;
> reach for chrome-devtools `emulate` when a mobile *device* gate has to fire,
> which `resize_window` alone does not guarantee. The `browser` skill and the
> `agent-browser` steps were dropped in 8.79.0 — do not reach for that CLI here.
> (The binary itself is still installed for kb-factory's JS-rendered crawls;
> that is a separate consumer, not a fallback for page verification.)
## Mode Detection
Check the working directory:
- **No package.json** or user says "new/create project" → **Create mode**
- **Existing package.json** → **Onboard mode**
---
## Create Mode (Greenfield)
### Step 1: Gather Requirements
Infer from user description, or ask if unclear:
1. **Project type**: SaaS, e-commerce, marketing, API, library/CLI, full-stack app
2. **Structure**: monorepo (multiple packages) or single-app
3. **Services**: Supabase, Stripe, Trigger.dev, Sentry, PostHog, Resend, R2, etc.
If the user said "build a SaaS with Supabase and Stripe" — infer all three, don't ask.
### Step 2: Scaffold
**Single-app:**
```bash
pnpm create next-app . --typescript --tailwind --app --src-dir --use-pnpm --skip-install
```
Then delete `eslint.config.mjs` and remove `eslint` / `eslint-config-next` from devDeps — we use Biome.
**Monorepo:** load `references/monorepo-scaffold.md` for the full directory layout, `pnpm-work