ワンクリックで
better-t-stack
Scaffold type-safe TypeScript projects with the Better-T-Stack CLI — new projects, features, or troubleshooting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Scaffold type-safe TypeScript projects with the Better-T-Stack CLI — new projects, features, or troubleshooting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create, verify, and improve AGENTS.md files. Minimal, focused, progressive disclosure. Fixes bloat, contradictions, stale info.
Audit and plan website optimisation for AI agents, AI search, LLM discoverability, llms.txt, structured data, and sitemaps.
Build distinctive, production-grade frontend interfaces (websites, components, dashboards, layouts) with polished UI design that avoids generic AI aesthetics.
Generate and validate Awesome list READMEs following sindresorhus/awesome standards.
Build full-stack TypeScript apps with Convex — server functions, schema, auth, file storage, real-time, frontend integration, testing, deployment.
Exhaustive multi-agent code review with area-specific specialists, verified findings, and actionable remediation plans.
| name | better-t-stack |
| description | Scaffold type-safe TypeScript projects with the Better-T-Stack CLI — new projects, features, or troubleshooting. |
Better-T-Stack is a modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with customizable configurations. This skill provides expert guidance for using it effectively.
Use this skill when:
npx create-better-t-stack@latest
Follow the prompts to choose your stack interactively.
npx create-better-t-stack@latest my-project \
--frontend tanstack-router \
--backend hono \
--database sqlite \
--orm drizzle \
--auth better-auth \
--addons turborepo \
--yes
cd my-existing-project
npx create-better-t-stack@latest add --addons pwa biome --install
create - Create new projectcreate-better-t-stack [project-directory] [options]
Core flags:
--template [template]: Use predefined stack (choices: "mern", "pern", "t3", "uniwind", "none")--frontend <type>: tanstack-router, next, react-router, nuxt, svelte, solid, astro, native-uniwind, native-nativewind, none--backend <type>: hono, express, fastify, elysia, convex, self, none--database <type>: sqlite, postgres, mysql, mongodb, none--orm <type>: drizzle, prisma, mongoose, none--auth <provider>: better-auth, clerk, none--api <type>: trpc, orpc, none--addons <types...>: pwa, tauri, biome, turborepo, starlight, fumadocs, etc.--yes: Use defaults, skip prompts (RECOMMENDED for automation)--yolo: Bypass all validations (use with caution)add - Add to existing projectcreate-better-t-stack add [options]
Used in project directory with bts.jsonc. Supports adding addons and deployment configs.
none)prisma or mongoose (not drizzle)hono backend, drizzle or prisma ORM, SQLite database--runtime workers REQUIRES:
backend: hono (only)
orm: drizzle or prisma (no mongoose)
database: sqlite only (no postgres, mysql, mongodb)
db-setup: d1 only (no docker)
Some addons require specific frontends:
npx create-better-t-stack my-app --template t3
Available templates:
Templates set multiple options at once. You can override specific flags:
npx create-better-t-stack my-app --template t3 --database postgres
npx create-better-t-stack my-webapp \
--frontend tanstack-router \
--backend hono \
--database sqlite \
--orm drizzle \
--auth better-auth \
--addons turborepo \
--yes
npx create-better-t-stack my-api \
--frontend none \
--backend fastify \
--runtime node \
--database postgres \
--orm prisma \
--api trpc \
--yes
npx create-better-t-stack my-frontend \
--frontend next \
--backend none \
--api none \
--yes
npx create-better-t-stack my-app \
--frontend next native-uniwind \
--backend hono \
--database sqlite \
--orm drizzle \
--auth better-auth \
--yes
npx create-better-t-stack my-workers \
--runtime workers \
--backend hono \
--database sqlite \
--orm drizzle \
--db-setup d1 \
--yes
When using native frontends with local backend development:
# Use machine IP, not localhost
EXPO_PUBLIC_SERVER_URL=http://192.168.1.X:3000
add commandadd commandadd command to workFor automation and CI/CD:
import { init } from "create-better-t-stack";
const result = await init("my-project", {
frontend: ["tanstack-router"],
backend: "hono",
database: "sqlite",
orm: "drizzle",
auth: "better-auth",
yes: true
});
if (!result.success) {
console.error(result.error);
}
--yes flag for agent-driven tasks to avoid interactive prompts--yolo only when you're certain about compatibility and want to skip validationadd command laterFor complete details on:
"Incompatible addon/frontend combination"
"Cannot select multiple web frameworks"
--frontend next native-uniwind)"MongoDB database is not compatible with Cloudflare Workers runtime"
"Database requires an ORM"
none)"Backend 'self' only supports Next.js and TanStack Start"