Prerequisites
You’ll need Bun installed on your machine. The toolkit uses Bun as both the runtime and package manager for optimal performance.Installation
Install dependencies
Use Bun to install all required packages:This installs the complete stack:
- Next.js 16 (App Router)
- React 19
- shadcn/ui components
- Tailwind CSS 4
- TypeScript
- oxlint/oxfmt for linting and formatting
Start the development server
Project Structure
Once running, you’ll see this file organization:Available Scripts
From theweb/ directory:
What’s Running?
The demo app showcases a minimal Next.js setup with:- Theme Support: Light/dark mode switching via
next-themes - Component Primitives: Pre-configured shadcn/ui components built on Base UI
- Tailwind CSS 4: Modern utility-first styling
- TypeScript: Full type safety across the stack
web/features/home/home-page.tsx
The app uses the App Router pattern, where route modules (
page.tsx) render feature entry components. This keeps routing thin and domain logic organized.Next Steps
Architecture Overview
Understand how agents, skills, and the demo app work together
Build Features
Learn the 3-phase workflow for spec-driven development
Customize UI
Work with shadcn/ui components and Tailwind
State Management
Use Zustand with the decoupled actions pattern