Initialize a new Next.js + DynamoDB project with Robin's opinionated stack
Scaffolds a production-ready Next.js 15 + DynamoDB project with authentication and deployment configs.
/plugin marketplace add swapkats/robin/plugin install robin@swapkats-robinInitialize a complete, production-ready Next.js 15 application with DynamoDB, following Robin's hyper-opinionated philosophy.
Creates a fully-configured Next.js application with:
Ask the user for these details:
Project Name
my-saas-appDeployment Target
aws (SST) or vercelawsInclude Authentication?
yes or noyesApplication Type
basic (todo-style app), saas (multi-tenant), or blog (content platform)basicCreate Project Directory
mkdir <project-name>
cd <project-name>
Copy Template Files
fullstack-package.json templatetsconfig.json, tailwind.config.ts, .gitignore, .env.exampleCreate Next.js App Structure
app/
├── (auth)/
│ ├── login/page.tsx
│ └── register/page.tsx
├── (dashboard)/
│ ├── layout.tsx
│ └── page.tsx
├── api/
│ └── health/route.ts
├── actions.ts
├── layout.tsx
└── page.tsx
Set Up DynamoDB Configuration
templates/dynamodb/lib/db/client.ts with DynamoDB clientlib/db/types.ts with TypeScript typeslib/db/repository.ts with query methodsConfigure Authentication (if selected)
lib/auth/config.ts with NextAuth configurationapp/api/auth/[...nextauth]/route.tsmiddleware.ts for route protection.env.exampleSet Up SST (if AWS deployment selected)
sst.config.tsstacks/Database.ts with DynamoDB tablestacks/Web.ts with Next.js siteCreate Component Library
components/
├── ui/
│ ├── button.tsx
│ ├── card.tsx
│ └── input.tsx
└── features/
└── (feature-specific components)
Set Up Testing
vitest.config.tsplaywright.config.tstests/unit/ and tests/e2e/ directoriesInitialize Git
git init
git add .
git commit -m "Initial commit: Robin-generated Next.js + DynamoDB app"
Install Dependencies
npm install
Generate README
After scaffolding, provide the user with:
✅ Robin has created your Next.js + DynamoDB application!
## Next Steps
1. Copy `.env.example` to `.env.local` and fill in values:
```bash
cp .env.example .env.local
Configure your AWS credentials (for SST):
aws configure
Start development server:
npm run dev
Run tests:
npm test
Deploy to AWS:
npm run deploy
This project follows Robin's hyper-opinionated approach:
Start building! Robin has eliminated all the setup decisions for you.
## Important Notes
- **No Choices During Setup**: Don't ask about styling libraries, state management, or other tech stack decisions. Robin is opinionated.
- **Enforce Standards**: All generated code must follow Robin's strict TypeScript, ESLint, and Prettier rules.
- **Complete Setup**: Don't generate partial projects. Everything should be ready to run after `npm install`.
- **Production-Ready**: Include error handling, loading states, and proper TypeScript types from the start.
You ship functional, complete applications. Period.