app-builder

Builds persistent multi-file Preact/TSX sandbox apps with custom routes, widgets, and data persistence.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Logarn/Worklin-ai --skill app-builder-logarn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: app-builder
Source: https://github.com/Logarn/Worklin-ai/tree/main/assistant/src/config/bundled-skills/app-builder
Command: npx skills add https://github.com/Logarn/Worklin-ai --skill app-builder-logarn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires preact, date-fns, chart.js, lodash-es, zod, clsx, lucide, and includes references (resource) components.

What problem does it solve? Users often want a quick personal tool — a dashboard, tracker, calculator, chart, or slide deck — without setting up a real project, build pipeline, or deployment. This Skill creates persistent, single-user visual apps inside the assistant sandbox and iterates on them over time, while routing complex or shippable products to a proper project folder with a coding agent. ## Core Features & Use Cases - Sandboxed app creation: Scaffolds multi-file Preact + TSX apps (formatVersion 2) via app_create, compiles with esbuild through app_refresh, and surfaces a preview card with app_open. - Design system and widgets: Auto-injected --v-* design tokens, .v-* utility classes, and window.vellum.widgets.* chart/formatting utilities with automatic light/dark mode and responsive mobile-to-desktop baselines. - Server-side persistence: Custom route handlers in routes/*.ts served at /v1/x/... give apps JSON-file CRUD storage, full Node API access, and event publishing to connected clients. - Use Case: A user says "make me a habit tracker." The Skill loads the frontend-design skill, scaffolds the app, writes a routes/habits.ts CRUD handler, compiles once, and shows a preview card — then iterates live when the user asks for changes. ## Quick Start Ask the assistant to build a personal dashboard, tracker, calculator, chart, or slide deck for your own use and it will create and preview a persistent sandbox app.

Frequently Asked Questions about app-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a personal dashboard or tracker app with an AI assistant?▼

Ask the assistant to build the tool for your own use. The app-builder skill scaffolds a multi-file Preact/TSX app with app_create, writes source files, compiles once with app_refresh, and shows a preview card via app_open.

How do sandbox apps persist data between sessions?▼

Apps persist data through custom route handlers written as TypeScript files in the workspace routes/ directory, served at /v1/x/<filename>. Handlers export GET/POST/PATCH/DELETE functions with full Node fs access and store records as JSON files.

When should I not use the sandbox app builder?▼

Do not use it for complex, multi-user, or shippable products meant to be published or handed off. Sandbox apps are single-user, run only in the preview, and cannot be deployed; those requests go to a project folder with a coding agent via acp_spawn.

Can sandbox apps use React or external npm packages?▼

Apps use Preact, not React, bundled by esbuild with no CDN imports. Allowed packages are date-fns, chart.js, lodash-es, zod, clsx, and lucide; external fonts and images are not permitted.

Why does calling app_create twice cause problems?▼

app_create is one-shot per build and returns an app_id even when compile_errors appear, so calling it again creates a duplicate app. All further changes must go through file_write, file_edit, or app_update followed by a single app_refresh.

Do sandbox apps work on mobile devices?▼

Yes, every app must meet a responsive baseline from ~360px phones to desktop, including safe-area padding, 100dvh heights, 16px minimum form font sizes, and 44px touch targets. The interface field in turn_context selects mobile-first or desktop-first design.