| name | scaffold-testing |
| version | 0.1.0 |
| description | Smoke test a scaffold preset end-to-end. Runs init, install, build, test, explores output, and writes a structured report.json with quality scores. Use when scaffold testing, preset smoke test, or scaffold report are mentioned. |
Scaffold Testing
Smoke test a single scaffold preset end-to-end and produce a structured quality report.
Workflow
Phase 1: Read Context
Read the preset name and run directory from the prompt context. Confirm:
- Preset name (one of: basic, cli, library, full-stack, minimal, mcp, daemon)
- Run directory path (where to scaffold and write report.json)
- Report output path (typically
<run-dir>/<preset>/report.json)
Phase 2: Scaffold
Run the scaffold command from the repo root:
bun ./apps/outfitter/src/cli.ts init <dir> --name scaffold-e2e-<preset> --preset <preset> --yes --skip-git --skip-commit
Note: Do NOT pass --skip-install — we want to test the real install flow in Phase 3.
Record: exit code, stdout, stderr, duration.
Phase 3: Install
Run bun install in the scaffolded directory.
Record: exit code, stdout, stderr, duration, any warnings about peer deps or resolution issues.
Phase 4: Build
Check if package.json has a build script. If yes, run bun run build. If no (e.g., minimal preset), mark as skipped with reason .