Documentation
How to Use Starter
Create reusable project templates in minutes, then scaffold new projects with a single command.
1
Create a Template
- 1Sign up and go to your dashboard
- 2Click “Create Template”
- 3Enter a template ID like
my-nextjs-template - 4Add a name and description
- 5Choose if it’s public or private
2
Build Your Recipe
Click “Edit Recipe” to open the visual builder.
Add Questions
- •Confirm: Yes/no questions (like “Use TypeScript?”)
- •Select: Multiple choice (like “Choose a database”)
Add Packages
For each question, add packages to install. For example, if they choose TypeScript, install typescript and @types/node.
Add Commands
Add commands to run, like npx prisma init if they choose Prisma.
Add Env Variables
List any environment variables they need to configure, like DATABASE_URL.
3
Publish a Version
- 1Click “Save Draft”
- 2Enter a version number (like
1.0.0) - 3Click “Publish”
Note: Published versions can’t be edited. To make changes, create a new version.
4
Use Your Template
Anyone can now create projects using your template:
npx @tachles/starter your-template-idThe CLI will automatically:
- Ask your questions
- Install the right packages based on answers
- Run your commands
- Create a .env file with the variables you specified
Live Example
$ npx @tachles/starter nextjs-starter
? Use TypeScript? › Yes
? Database? › PostgreSQL
? Auth provider? › Clerk
✓ Installing packages...
✓ Running setup commands...
✓ Creating .env file...
Done! Run: cd nextjs-starter && npm run dev
Pro Tips
- Keep questions simple—ask only what’s necessary
- Test your template before publishing
- Use clear, descriptive template IDs
- Provide examples in environment variable descriptions
- Follow semantic versioning (1.0.0, 1.1.0, 2.0.0)