001 / Studio generator

Generate
any studio.

A self-expanding Claude Code studio factory. Point it at any codebase — it infers your patterns, conventions, and stack, then generates a specialized AI coding assistant built around your code.

ui-studio — generator

002 / Process

01

Point at your project

Run the interactive TUI wizard and provide a path to your existing codebase. Or describe your stack manually if you're starting fresh.

bun run cli
02

Patterns are inferred

ui-studio scans your handlers, services, repositories, models, and components — extracting real conventions from real code, not templates.

Go + chi + Templ detected
7 patterns inferred
03

Studio is generated

A complete Claude Code plugin lands in ~/.claude/plugins/ with a pattern MCP server, skills, agents, and rules tailored to your stack.

nextjs-studio installed
studio

003 / The TUI

An interactive
wizard for every
new project

Built with OpenTUI — a native Zig terminal renderer. The wizard detects your stack, confirms inferred patterns, and installs the studio in seconds.

  • Detects Go, Next.js, Python, Flutter, Rust, Node.js automatically
  • Infers conventions from actual source files — not guesswork
  • Falls back to manual description when no code exists yet
  • Registers the MCP server in ~/.claude/settings.json
  • Re-runs inference via expand_studio as the project grows
ui-studio generator
┌─────────────────────────────────────────┐
  ui-studio generator
├─────────────────────────────────────────┤
  Step 2/4  Project path
  Path to existing project to infer
  patterns from. Leave empty for manual.
 ┌───────────────────────────────────┐
  /Users/dev/my-nextjs-app
 └───────────────────────────────────┘
  ✓ Detected: Next.js + Drizzle ORM
  ✓ Features: stripe, auth, drizzle
  ✓ Patterns inferred: 5
    • api-routes  • components  • lib
    • db  • server-actions
├─────────────────────────────────────────┤
  Enter: next  │  Esc: back  │  ^C: quit
└─────────────────────────────────────────┘

004 / Supported stacks

go-templ

Go + Templ + HTMX

chi router, pgx, Goose migrations, Tailwind v4, templUI components

nextjs

Next.js

App router, Drizzle or Prisma, Stripe, Clerk or next-auth

python-fastapi

Python + FastAPI

SQLAlchemy, Pydantic models, Alembic migrations, Celery tasks

flutter

Flutter

Riverpod state, Dio HTTP client, go_router navigation patterns

rust-axum

Rust + Axum

sqlx, diesel, Tower middleware, Serde serialization patterns

node-fastify

Node.js + Fastify

TypeScript, Fastify plugins, Prisma or Drizzle, optional tRPC

python-django

Django

DRF views, model conventions, migrations, Celery, pytest patterns

custom

Your stack

Any codebase. If it has source files, ui-studio can infer its patterns.

005 / Get started

Your studio,
in seconds.

cd ui-studio/generator && bun run cli copy
View on GitHub Read the docs