From auto-agent
Scaffold and start a skeleton React + Apollo GraphQL application with dev servers running immediately. Creates a welcome page and health check endpoint, then reports endpoints to the Auto app.
How this skill is triggered — by the user, by Claude, or both
Slash command
/auto-agent:scaffoldThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Immediately scaffold a running application so the developer can see progress in the Auto app from the moment the agent connects.
Immediately scaffold a running application so the developer can see progress in the Auto app from the moment the agent connects.
Read the stack configuration from .auto-agent/config.json (the stack field). Defaults if not set:
| Setting | Default |
|---|---|
frontend | react-vite |
backend | apollo-graphql |
clientDir | client |
serverDir | server |
If client/ and server/ (or the configured directories) already exist with node_modules/, skip scaffolding and jump to step 5 (start servers). The project is already set up.
react-vite)Create a Vite + React + TypeScript project in the configured clientDir:
npm create vite@latest <clientDir> -- --template react-ts
cd <clientDir> && npm install
Install additional dependencies:
npm install @apollo/client graphql @json-render/core @json-render/react @on.auto/ui-components
npm install -D tailwindcss @tailwindcss/vite
Set up Tailwind CSS (check installed version for correct config approach).
Create a welcome page (src/App.tsx) that:
references/design-patterns.mdapollo-graphql)Create an Apollo Server project in the configured serverDir:
mkdir -p <serverDir> && cd <serverDir>
npm init -y
npm install @apollo/server graphql graphql-tag cors express
npm install -D typescript @types/node @types/cors @types/express tsx
Create a minimal TypeScript config and entry point (src/index.ts) with:
health query that returns { status: "ok", timestamp: <ISO string> }http://localhost:5173)The schema:
type Query {
health: HealthCheck!
}
type HealthCheck {
status: String!
timestamp: String!
}
Frontend (client/package.json):
dev script should use Vite with --host flag so it's accessibleBackend (server/package.json):
dev script: tsx watch src/index.tsStart both servers in the background so they run while the agent continues working:
cd <clientDir> && npm run dev &
cd <serverDir> && npm run dev &
Wait a few seconds, then verify both are running:
curl -s http://localhost:5173 | head -5curl -s http://localhost:4000/graphql -H 'Content-Type: application/json' -d '{"query":"{ health { status } }"}'Call auto_update_endpoints with:
[
{ "label": "Frontend", "url": "http://localhost:5173" },
{ "label": "GraphQL Playground", "url": "http://localhost:4000/graphql" }
]
Display the returned loopback URLs to the developer. These are the URLs they'll use to preview inside the Auto app.
Tell the developer:
Call auto_get_design and generate a theme.css file in the frontend src/ directory with CSS custom properties from:
theme.colors.light → --surface-page, --primary, --fg, etc.theme.radius → --radius-sm, --radius-md, etc.theme.shadow → --shadow-sm, --shadow-card, etc.theme.font → --font-sans, --font-monoImport this CSS in the app entry point (main.tsx). The model's theme is authoritative for all styling.
When the model has a design.theme, use it as the authoritative style source (see references/design-patterns.md section 0). When no model theme exists, fall back to:
Geist or Satoshi font (install via Google Fonts or Fontsource)min-h-[100dvh] for the page containerDevelopers can customize this skill by editing it in their .auto-agent/ directory. To change the default stack, edit .auto-agent/config.json:
{
"stack": {
"frontend": "react-vite",
"backend": "apollo-graphql",
"clientDir": "client",
"serverDir": "server"
}
}
Future stack options may include next, remix, hono, etc.
npx claudepluginhub beonauto/auto-plugins --plugin auto-agentOrchestrates full-stack app creation from natural language by detecting project types, selecting tech stacks from templates, and coordinating specialist agents. Use for new web, mobile, API, or desktop projects.
Bootstraps a complete frontend project with 28+ skills covering toolchain, linting, state management, accessibility, routing, API, testing, and workflows. Use when starting a new frontend project from scratch.
Bootstraps new projects from scratch: gathers requirements for frontend SPAs, full-stack apps, APIs, CLI tools, libraries; researches latest best practices via WebSearch; creates blueprint; confirms; initializes with official CLI; sets up Claude Code agent system.