scaffoldlisted
Install: claude install-skill hamza-ali-shahjahan/hamzaish
# /scaffold
Usage: `/scaffold "<slug>" "<one-liner>"`
Example: `/scaffold "formpad" "A form builder for indie SaaS founders that auto-generates schema from prompts."`
## What this does
Creates a complete starting point for a new product:
1. **Folder structure** at `products/<slug>/`:
```
products/<slug>/
├── product.config.json
├── CLAUDE.md
├── scope.md
├── prd.md
├── metrics.md (skeleton, fill in via metric-framework-designer later)
├── SETUP.md (the one-time setup checklist)
├── README.md
├── decisions/
│ └── 0001-scaffold.md
├── interviews/
│ └── README.md
├── launch/
│ └── README.md
├── analytics/
│ └── README.md
└── code/ → symlink or new Next.js app (see step 2)
```
2. **Next.js starter** — copies `templates/product-starter-nextjs/` to `products/<slug>/code/` with the name, slug, and one-liner substituted into:
- `package.json` (name)
- `.env.example` (NEXT_PUBLIC_APP_NAME)
- `src/app/(marketing)/page.tsx` (hero copy)
- `src/app/layout.tsx` (default metadata)
- `next.config.mjs` (if needed)
- `README.md`
3. **product.config.json** — the dashboard registry entry:
```json
{
"slug": "<slug>",
"name": "<Title Case Name>",
"one_liner": "<one-liner>",
"created": "<ISO date>",
"stage": "idea",
"status": "scaffolded",
"code_path": "products/<slug>/code",
"aliases": [],
"analytics": {
"stripe_account_id": null,
"posthog_proje