मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.9k · #14549

scaffold-project

यह क्या करती है

यह स्किल Better-T-Stack से नया TypeScript प्रोजेक्ट बनाती है, जिसमें frontend, backend, database, auth और बहुत कुछ चुना जाता है। यह उन लोगों के लिए है जिन्हें हाथ से सेटअप किए बिना काम करने वाला starter प्रोजेक्ट चाहिए।

कब इस्तेमाल करें

  • ✓जब आप TypeScript में नया ऐप, API या full-stack प्रोजेक्ट शुरू करना चाहें।
  • ✓जब आप Hono, Next.js या Nuxt जैसे किसी नामित framework पर प्रोजेक्ट चाहें।
  • ✓जब आपको auth और database के साथ monorepo starter चाहिए।

Skill का लिंक

https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/AmanVarshney01/create-better-t-stack/blob/main/plugin/skills/scaffold-project/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Next.js, Hono API और database के लिए Drizzle के साथ नया full-stack TypeScript ऐप बनाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट stack के विकल्प चुनता है, प्रोजेक्ट की योजना बनाता है, काम न करने वाले संयोजन अस्वीकार करता है, फिर फ़ाइलों और एक stack रिकॉर्ड के साथ फ़ोल्डर बनाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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

  1. 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.

  2. Get valid values from the tool, not from memory. Call bts_get_schema, or run npx 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 use better-auth, clerk or none, so offer all three. references/options.md lists the values and the common compatibility rules.

  3. Build a full explicit config. Set every field. Use "none", [], true or false instead of leaving a field out.

  4. Plan before you write. Call bts_plan_project, or run create-json with "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.

  5. Create.

    • Local MCP server: bts_create_project with install: false.
    • CLI: the same create-json payload without dryRun, with install: 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: false and install as a separate step.

  6. Prove it runs. Run <packageManager> install in the new folder. With the user's OK, run the project's typecheck or build script from its package.json. If a step fails, report the exact error.

  7. Report. Give the stack and the next commands (dev, database setup such as db:push), taken from the generated README.md and package.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.
अक्सर पूछे जाने वाले सवाल

क्या बिना shell के प्रोजेक्ट बन सकता है?

जहाँ shell उपलब्ध न हो, वहाँ यह आपके लिए चलाने वाला कमांड तैयार कर सकता है।

क्या यह असंगत विकल्प रोकती है?

हाँ। जो stack संयोजन एक साथ काम नहीं करते, उन्हें यह अस्वीकार करती है।

अगर फ़ोल्डर में पहले से प्रोजेक्ट हो तो?

तब वह मौजूदा प्रोजेक्ट है, और उसके लिए add स्किल इस्तेमाल होती है।

जानकारी

लेखक का मूल विवरण

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.

repo: AmanVarshney01/create-better-t-stack

लोकप्रियता

GitHub स्टार
5.9k
रैंकिंग में स्थान
#14549
लाइसेंस
MIT
अपडेट की गई
24/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills