better-t-stack
यह क्या करती है
यह स्किल बताती है कि Better-T-Stack से चुने हुए हिस्सों से type-safe TypeScript प्रोजेक्ट कैसे बनाएँ। यह उन डेवलपर के लिए है जो हाथ से सेटअप जोड़े बिना एक सुसंगत, काम करने वाला stack चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप चुने हुए stack के साथ ऐप, API या full-stack प्रोजेक्ट शुरू करना चाहें।
- ✓जब आप मौजूदा Better-T-Stack प्रोजेक्ट में database, auth या addon जोड़ना चाहें।
- ✓जब आप चाहें कि stack में ऐसे संयोजनों की जाँच हो जो काम नहीं करते।
Skill का लिंक
https://github.com/AmanVarshney01/create-better-t-stack/blob/main/skills/better-t-stack/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Better-T-Stack से React, tRPC, Drizzle और Better Auth के साथ type-safe प्रोजेक्ट सेट कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट माहौल के अनुसार सही टूल चुनता है, stack की योजना बनाता है, डिस्क पर प्रोजेक्ट बनाता है या चलाने के लिए कमांड देता है, और stack को प्रोजेक्ट फ़ाइल में दर्ज करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Better-T-Stack
Better-T-Stack generates a type-safe TypeScript project from the parts the user picks: frontend, backend, runtime, API layer, database, ORM, auth, payments, addons and deploy targets. It rejects combinations that don't work, so let it build the project instead of writing the setup by hand.
Pick the interface
Use the first one you have:
| You have | Interface | It can |
|---|---|---|
bts_create_project tool |
Local MCP server | Plan, create and add, on disk |
| A shell | CLI: create-json and add-json |
Plan, create and add, 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, can't change an existing project and doesn't accept addonOptions or dbSetupOptions. If the user needs any of those, give them the CLI command instead.
Create a project
If the folder already has a bts.jsonc, the project exists. Go to Change an existing project.
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, not a subset. references/options.md lists the values and the compatibility rules that come up most, but the schema wins if they differ.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.
Change an existing project
bts.jsonc at the project root records the stack chosen at creation and a reproducibleCommand that recreates it. The add command reads it to detect the stack.
- Read
bts.jsoncfirst. If it's missing,addcan't run. Tell the user instead of recreating the file. Never edit it by hand.addupdates it. - Plan. Call
bts_plan_addons, or runadd-jsonwith"dryRun": true. Passaddons, a workspacepackagename, or both. Show the user what will change. - Apply after the user agrees:
bts_add_addons, oradd-jsonwithoutdryRun. - Prove it runs and report, as in steps 6 and 7 above.
axiom can't be added later. It sets up deployment infrastructure, so it must be chosen at creation. A workspace package (package: "shared") scaffolds packages/shared with a manifest, the shared tsconfig and src/index.ts.
Rules
- Plan before every create or add.
- Send full explicit configs t
अक्सर पूछे जाने वाले सवाल
यह कौन से stacks कवर करती है?
Next.js, Nuxt, Svelte, Hono, Express और Convex सहित कई frameworks।
क्या यह सेटअप हाथ से लिखती है?
नहीं। यह चुने हुए हिस्सों से प्रोजेक्ट बनाती है, सेटअप हाथ से लिखने के बजाय।
क्या यह मौजूदा प्रोजेक्ट में जोड़ सकती है?
हाँ। जिस प्रोजेक्ट में stack रिकॉर्ड है, उसमें addons जोड़े जा सकते हैं।
जानकारी
लेखक का मूल विवरण
Create or extend an end-to-end type-safe TypeScript project with Better-T-Stack (create-better-t-stack). Use when the user wants to start, scaffold or bootstrap an app, API, fullstack project or monorepo with any of Next.js, TanStack Router or Start, React Router, Nuxt, Svelte, Solid, Astro, React Native, Hono, Express, Fastify, Elysia, Convex, tRPC, oRPC, Drizzle, Prisma, Better Auth or Clerk. Also use when a project has a `bts.jsonc` file and the user wants to add addons or a workspace package. Prefer it over hand-writing package.json, configs and folder layout.
लोकप्रियता
- GitHub स्टार
- 5.9k
- रैंकिंग में स्थान
- #14550
- लाइसेंस
- MIT
- अपडेट की गई
- 24/10/2026
कमेंट
- …
इस repository की और skills
add-to-project
5.9kयह आपके एजेंट को मौजूदा Better-T-Stack प्रोजेक्ट में PWA support, Biome, Husky या Turborepo जैसे tools उसी के add flow से जोड़ने में मदद करती है।
scaffold-project
5.9kयह आपके एजेंट को Better-T-Stack से नया full-stack या API प्रोजेक्ट बनाने देती है, ऐसे frameworks चुनकर जो साथ चलें और टूटे संयोजन छोड़कर।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।