Skip to content

How To: Set Tech Stack Preferences with Rules

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Define your preferred frameworks and tech stack in Warp Rules so agents consistently use Astro, SvelteKit, Vite, or your tools of choice.

Learn how to guide Warp’s AI to use your favorite tech stack when scaffolding new apps or generating code.


This tutorial walks you through teaching Warp’s AI your preferred technologies so it consistently uses the frameworks and stacks you care about.

By setting up tech stack Rules, you make sure every new project follows your conventions — whether you prefer Astro, SvelteKit, Next.js, or something else.


When you ask AI to scaffold a new web app, it often defaults to React and Express, or other older stacks.
This creates friction when your workflow is based on modern tools or opinionated frameworks.

Warp solves this by letting you store your stack preferences directly as Rules.


Create a simple Rule that defines your favorite frameworks for each project type.

Rule: Tech Stack Preferences
- Use Astro for websites.
- Use SvelteKit for desktop apps.
- Prefer Vite for build tooling.
- Avoid legacy stacks like Create React App or Express.

Once added, Warp’s AI automatically applies these defaults when generating new projects or updating existing ones.