Specgen Node CLI Web

Generate a detailed specification document for building a self-hosted Node.js web application distributed as a global npm CLI — installed via `npm install -g <app-name>`, started via `<app-name> start`, and accessed at `http://IP:PORT`. Single-process, local-first architecture: one Node 22 process serves both the REST API (Hono 4) and an embedded pre-built React 19 + Vite 6 SPA styled with Tailwind CSS v4 and vendored shadcn/ui. Data lives in per-user SQLite (better-sqlite3 + Drizzle ORM with shipped migrations, auto-migrated on start). Authentication is hand-rolled scrypt sessions with a first-run auto-generated admin, forced password change, and admin-managed users — no OAuth, no JWT, no email flows. CLI parsing via commander 12, bundling via tsup 8, monorepo via pnpm workspaces, Biome lint/format, Vitest + Playwright tests, mandatory built-binary smoke test. Standardized input: application name (mandatory), version (mandatory), module (optional). Use this skill whenever the user asks to create a spec, spec

rashidee 889a99c 6 files · 76.7 KB Updated

File contents

rashidee/co2-skills/tree/main/skills/specgen-node-cli-web commit 889a99c971

Frequently asked questions

npx skillmds@latest add rashidee/specgen-node-cli-web