next-scaffoldlisted
Install: claude install-skill tammai/bigin-skills
# next-scaffold
This skill is mechanical: gather config, write it, run the script, relay its output. Do not deliberate — no thinking needed on any step here.
Scaffolds a Next.js BFF app from a chosen template. The mechanical work is done by a deterministic script — `scripts/scaffold.mjs` (Node stdlib only, cross-platform, zero prompts). This skill's only jobs: **decide the config values, write them to a JSON file, run the script, report the result.** Do not perform any scaffolding steps yourself.
Stack: Next.js (App Router, TypeScript), Tailwind CSS v4, shadcn/ui, Zustand, TanStack Query, Zod, Vitest + Testing Library, simple-git-hooks + lint-staged. BFF proxy layer — the backend owns data persistence.
**Templates** (`template` config field, default `starter`):
| slug | source | shape |
| --- | --- | --- |
| `starter` (default) | `create-next-app` (no clone, no block) | minimal Next + shadcn/ui base (Button/Card/Tooltip) + BFF preset, no auth wired |
| `dashboard` | `create-next-app` + shadcn `dashboard-01` block | working admin shell straight at `/dashboard` (sidebar, charts, data table on sample data) |
| `saas` | `create-next-app` + shadcn `input`/`label` primitives + hand-authored pages | public site **+ private `/dashboard`** — real-backend auth: login/signup/logout call the paired backend, the returned token pair is sealed into the iron-session cookie, and `/api/backend/*` proxies all authenticated data calls (see `references/artifacts.md`) |
Unlike `nuxt-scaffold