Project Scaffolder
Generate production-ready starter repositories with best-practice conventions for any tech stack.
Core Workflow
- Determine stack: Ask user to specify or infer from context (Next.js, Vite, Nest, FastAPI, etc.)
- Select template: Use references/templates.md to choose the appropriate project structure
- Generate structure: Create complete folder tree with all necessary files
- Add baseline code: Include working "hello world" route/page as proof of concept
- Configure tooling: Add package.json/requirements.txt, tsconfig, linting, formatting configs
- Create scripts: Include dev, build, test, and deployment scripts
- Document setup: Generate comprehensive README with setup steps and next actions
Key Deliverables
Every scaffolded project must include:
- Folder tree: Well-organized src/, lib/, config/, tests/ structure
- Baseline code: Working hello world endpoint or page
- Package files: package.json, requirements.txt, Cargo.toml, etc.
- Configs: TypeScript, ESLint, Prettier, environment files (.env.example)
- Scripts: npm scripts or Makefile for common tasks
- README: Setup instructions, tech stack overview, next steps
- Git setup: .gitignore configured for the stack
Stack-Specific Patterns
See references/templates.md for detailed patterns per stack:
- Next.js App Router
- Vite + React
- NestJS
- FastAPI
- Express + TypeScript
- Vue + Vite
- SvelteKit
Best Practices
- Use absolute imports (@/ alias) where supported
- Include environment variable templates
- Add basic error handling and logging setup
- Configure path mappings in tsconfig
- Include Docker files for containerization (optional)
- Add GitHub Actions or CI workflow templates (optional)
Progressive Enhancement
Start with minimal viable structure, then add:
- Database setup (Prisma, TypeORM, SQLAlchemy)
- Auth scaffolding (NextAuth, Passport, JWT)
- API client setup (Axios, Fetch wrapper)
- State management (Zustand, Redux, Pinia)
- Testing setup (Jest, Vitest, Pytest)
Output Structure
Present the complete project tree first, then create all files in proper locations. Always provide a summary of what was created and next steps to run the project.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: project-scaffolder-23description: Generates complete starter repositories for various tech stacks (Next.js, Vite, Nest, FastAPI, etc.) with best-practice conventions, folder structure, baseline code, configs, scripts, and setup documentation. Use when users request to "scaffold a project", "create a starter repo", "initialize a new project", or specify a tech stack to begin with.4---56# Project Scaffolder78Generate production-ready starter repositories with best-practice conventions for any tech stack.910## Core Workflow11121. **Determine stack**: Ask user to specify or infer from context (Next.js, Vite, Nest, FastAPI, etc.)132. **Select template**: Use references/templates.md to choose the appropriate project structure143. **Generate structure**: Create complete folder tree with all necessary files154. **Add baseline code**: Include working "hello world" route/page as proof of concept165. **Configure tooling**: Add package.json/requirements.txt, tsconfig, linting, formatting configs176. **Create scripts**: Include dev, build, test, and deployment scripts187. **Document setup**: Generate comprehensive README with setup steps and next actions1920## Key Deliverables2122Every scaffolded project must include:2324- **Folder tree**: Well-organized src/, lib/, config/, tests/ structure25- **Baseline code**: Working hello world endpoint or page26- **Package files**: package.json, requirements.txt, Cargo.toml, etc.27- **Configs**: TypeScript, ESLint, Prettier, environment files (.env.example)28- **Scripts**: npm scripts or Makefile for common tasks29- **README**: Setup instructions, tech stack overview, next steps30- **Git setup**: .gitignore configured for the stack3132## Stack-Specific Patterns3334See `references/templates.md` for detailed patterns per stack:3536- Next.js App Router37- Vite + React38- NestJS39- FastAPI40- Express + TypeScript41- Vue + Vite42- SvelteKit4344## Best Practices4546- Use absolute imports (@/ alias) where supported47- Include environment variable templates48- Add basic error handling and logging setup49- Configure path mappings in tsconfig50- Include Docker files for containerization (optional)51- Add GitHub Actions or CI workflow templates (optional)5253## Progressive Enhancement5455Start with minimal viable structure, then add:5657- Database setup (Prisma, TypeORM, SQLAlchemy)58- Auth scaffolding (NextAuth, Passport, JWT)59- API client setup (Axios, Fetch wrapper)60- State management (Zustand, Redux, Pinia)61- Testing setup (Jest, Vitest, Pytest)6263## Output Structure6465Present the complete project tree first, then create all files in proper locations. Always provide a summary of what was created and next steps to run the project.6667---68> Converted and distributed by [TomeVault](https://tomevault.io/claim/patricio0312rev) — claim your Tome and manage your conversions.69<!-- tomevault:4.0:skill_md:2026-04-11 -->