How To: Set Tech Stack Preferences with Rules
# How To: Set Tech Stack Preferences with Rules import VideoEmbed from '@components/VideoEmbed.astro'; Learn how to guide Warp’s AI to use your favorite tech stack when scaffolding new apps or generating code. <VideoEmbed url="https://youtu.be/W5B6MhZsZ_4?si=Bd9AT0cnW6uiMhKO" /> --- ## Intro 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. --- ## The Problem 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. --- ## The Rule Setup Create a simple Rule that defines your favorite frameworks for each project type. ### Example Rule ``` 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. :::note Think of it like setting a default coding personality for your agent. ::: --- ## Why It Matters :::tip Defining your stack preferences helps the AI: * Generate **consistent boilerplates** * Follow your **current tech standards** * Skip outdated or irrelevant dependencies :::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.
The Problem
Section titled “The Problem”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.
The Rule Setup
Section titled “The Rule Setup”Create a simple Rule that defines your favorite frameworks for each project type.
Example Rule
Section titled “Example Rule”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.