deepspace

Installation
SKILL.md

Build real-time collaborative apps on Cloudflare Workers in one package: SQLite-backed Durable Objects, RBAC, WebSocket subscriptions, Better Auth. Scaffolds with sensible defaults — generouted file-based routing, shadcn/ui primitives, Vite + Tailwind v4. Apps deploy to <name>.app.space.

This skill targets deepspace and create-deepspace v0.3.7 (verify with npm view deepspace version if drift is suspected).

Quickstart — the development lifecycle

CLI commands, in order. Each step is rerunnable. dev and test rewrite only the 9 SDK-managed keys in .dev.vars (auth + worker URLs + owner JWT + HMAC + debug flag); anything else you add — third-party tokens, custom flags — is preserved verbatim across runs and ships to prod as secret_text bindings on deploy. See "Login, test, deploy" for the contract.

# 1. Scaffold (no auth required — npm fetches create-deepspace via npx on demand)
npm create deepspace@latest <app-name>
cd <app-name>
# CLI is non-interactive by default (agent-friendly): omitting <app-name> prints
# usage and exits 1 instead of prompting on stdin. Pass `--interactive` / `-i`
# for the prompt-driven wizard. Probe with `--help` / `-h` (plain stdout, no
# ANSI) or `--version` / `-v` before invoking when scripting.
# Three invocation forms work — the scaffolder is permissive about target state:
#   a) From a parent dir, target does not exist:     creates <app-name>/ fresh.
#   b) From a parent dir, target is near-empty:      scaffolds in-place into <app-name>/.
Installs
8
First Seen
Apr 8, 2026