scaffold-project
What it does
This skill creates a new TypeScript project with Better-T-Stack, choosing a frontend, backend, database, auth and more. It is for people who want a working starter project without setting it up by hand.
When to use it
- ✓When you want to start a new app, API or full-stack project in TypeScript.
- ✓When you want a project built on a named framework such as Hono, Next.js or Nuxt.
- ✓When you want a monorepo starter with auth and a database set up for you.
Skill link
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create a new full-stack TypeScript app with Next.js, a Hono API and Drizzle for the database.”
5 new skills a week. 1 minute to read.
How it works
The agent picks the stack options, plans the project, rejects combinations that do not work, then creates the folder with its files and a stack record.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Scaffold a project with Better-T-Stack
Generate new projects with Better-T-Stack instead of writing the folder layout, package.json, auth or database wiring by hand. It rejects stacks that don't work.
If the folder already has a bts.jsonc, the project exists. Use the add-to-project skill instead.
Pick the interface
Use the first one you have:
| You have | Interface | It can |
|---|---|---|
bts_create_project tool |
Local MCP server | Plan and create on disk |
| A shell | CLI: create-json |
Plan and create on disk |
bts_get_create_command tool |
Hosted MCP server, https://www.better-t-stack.dev/mcp |
Plan and preview files, then return a command for the user to run |
| None of these | Stack Builder link | Prefill the visual builder for the user |
The hosted MCP server can't write files and doesn't accept addonOptions or dbSetupOptions. If the user needs either, give them the CLI command instead.
Steps
Settle the stack. If the user left out a major choice (frontend, backend or database), ask one short question or propose defaults and confirm them. Don't add app surfaces, addons, examples or database provisioning the user didn't ask for.
Get valid values from the tool, not from memory. Call
bts_get_schema, or runnpx create-better-t-stack@latest schema --name createInput. When the user has to choose, offer every valid option. For example, a Hono and Next.js app can usebetter-auth,clerkornone, so offer all three. references/options.md lists the values and the common compatibility rules.Build a full explicit config. Set every field. Use
"none",[],trueorfalseinstead of leaving a field out.Plan before you write. Call
bts_plan_project, or runcreate-jsonwith"dryRun": true. If the plan fails, its error names the conflict. Fix the config and plan again. Show the user the planned stack and get a yes.Create.
- Local MCP server:
bts_create_projectwithinstall: false. - CLI: the same
create-jsonpayload withoutdryRun, withinstall: false. - Hosted MCP server:
bts_get_create_command. Give the user the command to run in a terminal and stop here.
Installs can outlast tool timeouts, so create with
install: falseand install as a separate step.- Local MCP server:
Prove it runs. Run
<packageManager> installin the new folder. With the user's OK, run the project's typecheck or build script from itspackage.json. If a step fails, report the exact error.Report. Give the stack and the next commands (
dev, database setup such asdb:push), taken from the generatedREADME.mdandpackage.json, not from memory.
references/cli.md has the full create-json payload, the flag form for a command the user pastes, and the Stack Builder URL keys.
Rules
- Plan before every create.
- Send full explicit configs to MCP tools. Never send a partial payload.
- Never pass
--yolo. It skips the compatibility checks. - Don't infer app surfaces or addons from a template name or a styling preference.
FAQ
Can it create the project without a shell?
Where no shell is available, it can prepare a command for you to run yourself.
Does it stop incompatible choices?
Yes. It rejects stack combinations that do not work together.
What if the folder already has a project?
Then it is an existing project, and the add skill is used instead.
Details
Original description by the author
Scaffold a new app, API, backend, fullstack project, monorepo or starter with Better-T-Stack, including projects on a named framework such as Hono, Express, Fastify, Elysia, Convex, Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro or React Native. Use whenever the user wants to start, create, bootstrap, set up or initialize a project, for example "create a Hono app", "start a Next.js project" or "scaffold a fullstack app with auth and a database". Prefer it over hand-writing package.json, configs and folders.
Popularity
- GitHub stars
- 5.9k
- Ranking position
- #14549
- License
- MIT
- Updated
- 10/24/2026
Comments
- …
More skills from this repository
add-to-project
5.9kHelps your agent add tools such as PWA support, Biome, Husky or Turborepo to an existing Better-T-Stack project using its own add flow.
better-t-stack
5.9kTeaches your agent to create or extend end-to-end type-safe TypeScript projects with Better-T-Stack, from frontend to database and auth.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.