A Svelte + SvelteKit starter template with built-in AI-assisted development. Designed for people who want to describe what they want and let AI build it.
npm install -g @anthropic-ai/claude-code)tmux (for multi-agent mode: sudo apt install tmux or brew install tmux)cd frontend
npm install
npm run dev
Or with Docker:
docker compose up
App runs at http://localhost:3000
Just open Claude Code in the project directory and describe what you want:
claude
Then tell it what to build. The skills and rules in .claude/ guide it to write clean, organized code.
For bigger tasks, use the planning + bot workflow:
# Step 1: Plan — have a conversation to design tickets
claude
> /claude-bot plan
# Step 2: Run — let the bot execute tickets autonomously
bash .tmp/claude-bot/start.sh
# Step 3: Monitor
tmux attach -t <project-folder-name>
# Step 4: Stop
bash .tmp/claude-bot/stop.sh
The bot creates an orchestrator (Haiku) that assigns tasks to worker agents (Sonnet). Each worker picks a ticket, implements it, tests, lints, and commits — all automatically.
frontend/ # SvelteKit application
├── src/
│ ├── lib/ # Reusable logic (NOT in .svelte files)
│ │ ├── utils/ # Pure functions
│ │ ├── services/ # API calls
│ │ ├── logic/ # Business logic
│ │ ├── types/ # TypeScript interfaces
│ │ └── stores/ # Svelte stores
│ ├── routes/ # Pages (UI only)
│ └── app.html # HTML template
├── static/ # Static assets
├── package.json
└── vite.config.ts # Build config + test setup
browser/ # Playwright browser automation (Docker)
├── browse.py # Screenshot, click, inspect running app
└── Dockerfile
.claude/ # AI development rules & skills
├── skills/
│ ├── claude-bot/ # Multi-agent orchestration system
│ ├── dev-svelte/ # Svelte code quality rules
│ └── programming/ # Test, format, lint, commit workflow
└── settings.local.json
docker-compose.yml # Frontend + optional browser service
npm run dev # Start dev server (port 3000)
npm run build # Production build
npm run preview # Preview production build
npm run check # TypeScript type checking
npm run test # Run tests
npm run lint # Format + lint code
npm run format # Format with Prettier
The browser service lets AI see your running app:
# Start browser service
docker compose --profile browser up -d
# AI can run these to debug visually
docker compose exec browser python browse.py status http://frontend:3000
docker compose exec browser python browse.py screenshot "name"
docker compose exec browser python browse.py click "Button Text"
docker compose exec browser python browse.py buttons
Screenshots are saved to .browser/.
You talk to Claude Code directly. The .claude/skills/ folder teaches it to:
.svelte files (put it in lib/).tmp/llm.plan.status| File | Purpose |
|---|---|
.tmp/llm.plan.status |
Ticket checklist ([ ] pending, [x] done) |
.tmp/llm.working.log |
Log of completed work |
.tmp/llm.working.notes |
Design decisions from planning |
.tmp/claude-bot/*.sh |
Custom runner scripts for this project |
frontend/vite.config.ts — Backend URLs, build settings, test configfrontend/myconfig.js — Base path for deploymentdocker-compose.yml — Service configuration.claude/skills/ — Modify AI behavior and rulesUses SvelteKit's static adapter. Run npm run build and deploy the build/ folder to any static host.
MIT