What problem does it solve?
Setting up a new app in the Civitai monorepo requires correctly wiring shared @civitai/* packages, each with its own dependencies, bundler transpile entries, environment variables, and server shims. Doing this manually risks missing transitive workspace peers, misconfigured env vars, or silently broken features like the Redis session cache.
Core Features & Use Cases
- Cherry-picked package wiring: Adds only the @civitai/* packages the app imports, with each package's deps, transpile entries, env vars, and server shim applied from a recipe table.
- Framework scaffolding: Creates the base SvelteKit (default) or Next.js app structure under apps/<name>, mirroring the canonical apps/moderator example.
- Gotcha prevention: Calls out critical pitfalls such as requiring both REDIS_URL and REDIS_SYS_URL, choosing the Kysely vs Prisma db entry, and SSL settings for the cnpg pooler.
- Use Case: A developer needs a new internal moderator dashboard at a *.civitai.com spoke. The skill gathers the app name, framework, packages, and auth policy, then scaffolds the app, wires @civitai/auth and @civitai/db, and verifies with typecheck and build.
Quick Start
Ask the assistant to scaffold a new Civitai app named 'moderator-tools' with SvelteKit using the auth, db, and brand packages.