The Taste Stack: Build Better Websites with AI Coding Agents
Learn how to create a personal Taste Stack for AI coding agents. Explore design references, reusable design systems, component libraries and practical prompts for building distinctive websites with Codex, Claude Code, Antigravity and other AI tools.
Code Minerals Team
The Taste Stack: How to Teach AI Coding Agents Your Design Style and Build Better Websites
AI has made website development faster than ever. Today, you can describe a website in a simple prompt and ask an AI coding agent to generate its frontend, create components, write code and even run the project.
Tools such as Claude Code, OpenAI Codex, Google Antigravity, Cursor and Windsurf are changing how developers approach frontend development.
But there is one problem that many developers and designers have started noticing.
AI can generate a website quickly, but getting it to look exactly the way you imagined is a different challenge.
You might ask an AI tool to create a premium SaaS landing page, a modern portfolio or an elegant business website. The result may be functional and responsive, but the visual direction can still feel generic. The same typography combinations, familiar gradients, repetitive cards, predictable hero sections and unnecessary animations often appear across different projects.
The solution is not simply writing longer prompts.
It is giving your AI coding agent a reusable understanding of your design preferences, visual references, design principles and component standards.
This is the idea behind a Taste Stack.
Instead of treating every website as a new prompt, you create a personal design system that your AI agent can reference whenever it builds or improves an interface.
In this guide, we will explore how to create your own Taste Stack, how to use it with different AI coding tools, and how to build a repeatable workflow for creating more distinctive websites.
What Is a Taste Stack?
A Taste Stack is a collection of design preferences, visual references, design instructions, reusable components and AI capabilities that guide an AI coding agent during website development.
Think of it as a design knowledge base for your AI assistant.
Normally, when you ask an AI tool to build a website, it makes many decisions independently:
Which fonts should be used?
What should the colour palette look like?
How much spacing should each section have?
Should the layout be minimal, editorial, playful or corporate?
What type of animation fits the experience?
Which component patterns should be reused?
What kind of imagery represents the brand?
Without enough direction, the AI has to make assumptions.
A Taste Stack reduces those assumptions by giving the agent a documented design direction before it starts writing code.
For example, imagine you are creating a website for a premium travel company.
Your preferred visual direction might include:
Editorial-style typography.
Warm neutral colours with deep green accents.
Large destination photography.
Asymmetrical layouts.
Minimal navigation.
Subtle transitions instead of excessive animations.
Spacious sections with carefully controlled content density.
Instead of explaining these preferences in every conversation, you can save them in a reusable design reference file.
Your AI agent can read that file before working on the website.
The result is a more consistent design process across pages, components and even different projects.
Why AI Coding Agents Need a Design System
AI coding agents are becoming increasingly capable of handling complete development workflows. They can inspect project files, modify components, execute commands, run tests and iterate on implementations.
However, coding capability does not automatically translate into strong visual judgement.
A working interface can still have poor visual hierarchy. A technically correct component can still feel out of place. A responsive website can still look visually unbalanced.
There are three important things an AI agent needs to understand.
1. Design principles
The agent needs general knowledge of typography, hierarchy, contrast, spacing, accessibility, responsive layouts and motion.
2. Brand and personal preferences
It needs to understand your preferred colours, font combinations, imagery, visual language and layout direction.
3. Project-specific constraints
It needs to know the existing technology stack, component structure, design tokens, coding conventions and functionality that must not be changed.
A useful Taste Stack combines all three.
It does not replace the skills of a designer or frontend developer. It gives the AI a much stronger foundation for making design and implementation decisions.
The Seven Layers of a Better Taste Stack
A practical Taste Stack can be organised into seven layers. You do not need to install every tool or use every integration. Start with the design references and workflow, then add more capabilities as your projects grow.
Layer 1: Build Your Visual Inspiration Library
The first step is to collect examples of websites and interfaces you genuinely like.
Do not simply collect random beautiful websites. Look for specific design decisions that you want to use in your own projects.
For example:
A navigation style from one website.
A typography combination from another.
A hero section layout from a third.
A pricing section with an interesting visual hierarchy.
A product card with excellent spacing.
A unique interaction or animation.
You can collect these references using:
Pinterest: Useful for collecting visual inspiration, moodboards and design directions.
Dribbble: Useful for exploring interface concepts, product designs and visual styles.
Behance: Useful for studying complete branding and website design projects.
Awwwards: Useful for exploring creative websites, interactions and experimental layouts.
Website screenshots: Sometimes the best reference is simply a screenshot of a website you admire.
Save your references in a project folder:
design-taste/
├── screenshots/
├── moodboard/
├── typography/
├── colour-palettes/
└── components/Try to collect around 10–30 useful website screenshots initially.
The goal is not to copy an existing website. It is to identify the visual patterns that match your preferred design direction.
Layer 2: Create Your Personal Design Taste File
This is the foundation of the entire system.
Create a Markdown file called:
design-taste.md
The file should document the design preferences that your AI agent must follow.
For example:
# My Design Taste
## Overall Direction
Premium, modern, minimal and editorial.
## Colour Palette
Primary: #183D35
Secondary: #E9E4D9
Accent: #C78B55
Background: #FAF9F6
Text: #252525
## Typography
Headings: Elegant display typography.
Body: Clean and highly readable sans-serif.
## Layout
- Strong visual hierarchy.
- Generous whitespace.
- Balanced content widths.
- Avoid repetitive card layouts.
- Use asymmetrical layouts where appropriate.
## Images
- Real photography.
- Editorial compositions.
- Natural lighting.
- Avoid generic stock-style imagery.
## Motion
- Subtle transitions.
- Smooth hover states.
- Purposeful entrance animations.
- Respect reduced-motion preferences.
## Avoid
- Unnecessary gradients.
- Excessive rounded cards.
- Emoji as interface icons.
- Random font combinations.
- Decorative animations without purpose.
- Repetitive layouts across every section.This is only an example. Your actual design taste file should be based on your own references and project requirements.
You can ask an AI coding agent to analyse your screenshots and create this file automatically.
The most useful part is that the file can evolve.
Whenever you discover a new design pattern you like, update the document. Your AI agent will have a better understanding of your preferences over time.
Layer 3: Add Professional Design Skills
Design skills help AI coding agents understand how to approach interface design instead of focusing only on writing functional code.
Some useful resources include:
Emil Kowalski's Skills
https://github.com/emilkowalski/skills
Includes design-related skills such as:
emil-design-engapple-design
These focus on areas such as spacing, motion, typography, interface polish and visual hierarchy.
Anthropic Frontend Design Skill
https://github.com/anthropics/skills/tree/main/skills/frontend-design
A skill intended to guide frontend work towards more distinctive and intentional interfaces.
Taste Skill
A resource focused on helping AI establish a design direction from a brief.
These are examples rather than mandatory dependencies.
The important principle is to give your coding agent access to useful design instructions and make sure it reads your personal design taste file before starting design work.
Different coding agents support different instruction formats and skill integrations. You may need to adapt the setup for your particular tool.
Layer 4: Use Better Component Libraries
You do not need to create every interface element from scratch.
Existing component libraries can provide a useful starting point for building high-quality interfaces.
Here are some resources worth exploring:
21st.dev
A community-driven collection of React components and interface patterns.
Magic UI
Provides animated React components and interface elements.
OriginKit
Offers reusable animated frontend components.
shadcn/ui
Provides reusable, customizable components that developers can own and modify within their projects.
Aceternity UI
Provides React components and visual effects for modern interfaces.
Motion
A powerful animation library for building interactive React interfaces.
The important rule is that an AI agent should not blindly copy components from a library.
It should:
Read your design taste file.
Understand the existing website.
Identify which component would solve the problem.
Present suitable options.
Adapt the selected component to your colours, typography and spacing.
Check accessibility and responsive behaviour.
A component library should support your design direction, not become your entire design direction.
Layer 5: Create Your Own Design Tokens and Component Rules
A design taste file explains your visual preferences, but a design token system makes those preferences easier to implement consistently.
Design tokens are reusable values that define the visual properties of an interface.
For example:
:root {
--color-primary: #183D35;
--color-background: #FAF9F6;
--color-surface: #E9E4D9;
--color-accent: #C78B55;
--color-text: #252525;
--font-heading: "YourHeadingFont", serif;
--font-body: "YourBodyFont", sans-serif;
--radius-small: 8px;
--radius-medium: 14px;
--radius-large: 24px;
--spacing-section: 96px;
--spacing-content: 24px;
}These values are examples, not universal design rules.
You can also document component standards:
Button heights and variants.
Input field appearance.
Navigation behaviour.
Card spacing.
Border styles.
Shadow intensity.
Responsive breakpoints.
Interaction states.
This is particularly useful when building websites with multiple pages.
Without reusable tokens, the AI may choose slightly different colours, spacing and component styles throughout the project.
With a consistent token system, the agent has a reference to follow.
Layer 6: Generate Custom Images and Icons
Visual assets play an important role in creating a distinctive website.
Even a well-structured interface can feel generic if it uses unrelated stock images, random icons or inconsistent illustrations.
AI image-generation tools can help create assets that match your design direction.
Some resources include:
Higgsfield: https://higgsfield.ai/
Recraft: https://www.recraft.ai/
OpenAI Image Generation: https://chatgpt.com/
Adobe Firefly: https://www.adobe.com/products/firefly.html
For example, instead of asking an AI to generate a generic hero image, give it a clear visual brief:
Subject and environment.
Lighting direction.
Composition.
Colour palette.
Photography style.
Space required for website text.
Aspect ratio.
You can also create a consistent icon family by specifying the same stroke weight, shape language, colours and proportions.
Always review generated assets before adding them to your project. Also check the licensing and usage terms of the tools and assets you choose.
Layer 7: Build a Review and Improvement Workflow
This layer is often overlooked.
Many developers ask AI to generate a website and stop once the code runs successfully.
But frontend quality needs more than a successful build.
A proper workflow should include:
Generate the first implementation.
Run the website locally.
Capture desktop and mobile screenshots.
Review typography and spacing.
Check visual hierarchy.
Inspect component consistency.
Test navigation and interactions.
Check responsive behaviour.
Identify the most important issues.
Improve and review again.
You can ask your AI agent to behave like a strict senior frontend designer during this stage.
The important thing is to separate implementation from approval.
The agent proposes and implements changes, but you review the output before publishing.
How to Use the Taste Stack with Different AI Coding Agents
One of the biggest advantages of this approach is that it does not need to be limited to Claude.
You can create a reusable design reference and adapt the instructions for different agentic coding environments.
| AI coding tool | How to apply the Taste Stack |
|---|---|
| OpenAI Codex | Provide project instructions and reference files for design and coding tasks |
| Claude Code | Use project instructions, skills and reusable design reference files |
| Google Antigravity | Provide project context and use its agent-driven development workflow |
| Cursor | Use project rules and reference files to guide code generation |
| Windsurf | Use workspace rules and project context to maintain design consistency |
The exact configuration differs between tools. Some support skills, some use project rules or instruction files, and some offer additional agent or workflow capabilities.
You do not need to maintain five completely different design systems.
Keep your core design documentation tool-independent, then create a small instruction file or configuration for each coding agent.
A practical project structure could look like this:
my-website/
│
├── design-taste/
│ ├── design-taste.md
│ ├── screenshots/
│ ├── moodboard/
│ ├── colour-palettes/
│ └── typography/
│
├── design-system/
│ ├── tokens.css
│ ├── components.md
│ └── responsive-rules.md
│
├── public/
│ └── assets/
│
├── src/
│ ├── components/
│ ├── pages/
│ └── styles/
│
├── AGENTS.md
├── CLAUDE.md
└── README.mdYou can use the shared Markdown documents as the source of truth.
For example, Codex can use AGENTS.md, Claude Code can use CLAUDE.md, and other coding agents can use their supported project rules or instructions.
The exact filenames and configuration should follow the documentation of the tool you are using.
Practical AI Prompts: Build Your Own Taste Stack
Now let's turn the concept into something practical.
The following prompts are designed to work as a starting point with different AI coding agents.
You can use them with Codex, Claude Code, Antigravity, Cursor, Windsurf or another coding agent that can inspect your project files.
The prompts deliberately avoid relying on one provider's proprietary features. If a tool cannot perform a particular action, ask it to explain the limitation and suggest an alternative.
Prompt 1: Analyse My Design Preferences
Use this prompt after saving website screenshots in your project folder.
I want to create a reusable personal design system
for this website project.
First, inspect the folder:
design-taste/screenshots/
Analyse every available screenshot.
Identify:
1. Common colour patterns.
2. Typography styles and font combinations.
3. Layout structures and content widths.
4. Spacing and visual hierarchy.
5. Image and photography styles.
6. Button and component styles.
7. Animation and interaction patterns.
8. Design patterns that should be avoided.
Create a file:
design-taste/design-taste.md
Document my visual preferences in detail.
Do not copy any single reference website.
Identify the common design principles across
the references.
If something is unclear, ask me instead of
inventing a preference.
Show me a summary of the design direction
after creating the file.Prompt 2: Audit My Existing Website Like a Senior Designer
Use this prompt when you already have a website and want to improve its visual quality.
Act as a senior UI/UX designer and frontend engineer.
First, inspect my existing website and understand
its current structure.
Read:
- design-taste/design-taste.md
- design-system/tokens.css
- design-system/components.md
Audit the website for:
1. Typography and hierarchy.
2. Colour consistency.
3. Spacing and alignment.
4. Navigation and usability.
5. Hero section quality.
6. Component consistency.
7. Image selection.
8. Responsive design.
9. Accessibility.
10. Motion and interactions.
Identify the 10 most important issues.
For each issue:
- Explain the problem.
- Explain why it affects the experience.
- Suggest a practical improvement.
- Identify the affected page or component.
Do not change any code yet.
Wait for my approval before implementation.Prompt 3: Generate Three Different Design Directions
Use this prompt before starting a new website or redesigning an existing one.
I want to design a distinctive website for:
Business / Product: [YOUR BUSINESS]
Website Type: [SAAS / PORTFOLIO / E-COMMERCE /
TRAVEL / RESTAURANT / OTHER]
Target Audience: [YOUR AUDIENCE]
Read my design reference files before starting.
Propose three genuinely different design directions.
For each direction provide:
1. Design concept and name.
2. Colour palette with HEX codes.
3. Heading and body font combinations.
4. Hero section concept.
5. Navigation style.
6. Layout and grid direction.
7. Image and illustration style.
8. Button and component direction.
9. Animation and interaction style.
10. Overall visual personality.
Avoid producing three versions of the same template.
Explain the advantages of each direction.
Do not write code or modify the project yet.
Wait for me to select one direction.Prompt 4: Build a Premium Hero Section
Use this prompt when you want to improve the first impression of your website.
Design and implement a premium hero section
for my website.
First inspect the existing project and read
my design-taste.md file.
Business: [BUSINESS NAME]
Main Message: [YOUR HEADLINE]
Supporting Text: [YOUR DESCRIPTION]
Primary Action: [BUTTON TEXT]
Design requirements:
- Create a strong visual hierarchy.
- Use typography that matches my design direction.
- Avoid generic AI-generated hero layouts.
- Use a suitable image or visual composition.
- Keep the content readable.
- Make the layout responsive.
- Use purposeful animations only.
- Avoid unnecessary gradients and decorative elements.
Explore two or three layout possibilities first.
Show me the options and explain the differences.
After my approval, implement the selected version
using my existing technology stack.
Do not change unrelated website sections.Prompt 5: Improve Existing Components Using Better References
Use this prompt when your website needs better pricing, testimonials, features, cards or navigation.
I want to improve the following section:
[HERO / PRICING / TESTIMONIALS /
FEATURES / NAVIGATION / FOOTER]
First read my design taste file and inspect
the existing component.
Explore suitable component references from:
- 21st.dev
- Magic UI
- shadcn/ui
- Aceternity UI
- OriginKit
Only use resources compatible with my project.
Show me three suitable approaches.
For each approach explain:
- Why it fits my design direction.
- What visual improvements it offers.
- What dependencies it requires.
- Whether it affects performance or accessibility.
After I select one, implement it.
Do not insert a component with its original
default styling.
Adapt its colours, typography, spacing,
borders and interactions to my design system.Prompt 6: Create a Consistent Visual Asset Set
Use this prompt when your website needs custom images or icons.
Act as an art director for my website.
Read:
design-taste/design-taste.md
I need a consistent visual asset direction
for the following website:
Business: [BUSINESS]
Website Section: [SECTION]
Required Assets: [HERO IMAGE / ICONS /
ILLUSTRATIONS / FEATURE GRAPHICS]
First propose an asset direction.
Include:
- Visual style.
- Colour palette.
- Lighting and composition.
- Image proportions.
- Background treatment.
- Icon style and stroke weight.
If an image-generation tool is available,
suggest a suitable prompt for it.
Do not generate or replace any asset
without my approval.
Ensure that the final assets match the
existing website's design system.Prompt 7: Review the Website on Desktop and Mobile
Use this prompt after the initial implementation is complete.
Act as a strict senior frontend designer
and quality assurance engineer.
Review my completed website.
Capture screenshots at:
- Desktop: 1440px width.
- Tablet: 768px width.
- Mobile: 390px width.
Check:
1. Visual hierarchy.
2. Typography.
3. Spacing and alignment.
4. Image quality and cropping.
5. Navigation behaviour.
6. Responsive layouts.
7. Button and interaction states.
8. Accessibility.
9. Loading and performance issues.
10. Design consistency across pages.
Find the five most important problems.
Prioritise issues based on user experience
and visual impact.
Fix the approved issues without changing
the overall design direction.
Run the review again after implementation.
Show me the before-and-after results.
Do not deploy or publish the website.Prompt 8: Create a Reusable AI Design Instruction File
This is particularly useful when you work with multiple coding agents.
I want to make my website design system
usable across different AI coding agents.
Read:
- design-taste/design-taste.md
- design-system/tokens.css
- design-system/components.md
- design-system/responsive-rules.md
Create a tool-independent document:
AI-DESIGN-INSTRUCTIONS.md
It should explain:
1. The overall design direction.
2. Brand colours and typography.
3. Layout and spacing rules.
4. Component standards.
5. Responsive design requirements.
6. Image and icon guidelines.
7. Animation principles.
8. Accessibility requirements.
9. Things the AI must avoid.
10. How to review design changes.
Keep the document clear, structured
and understandable.
Do not assume that every AI coding agent
supports the same skill or configuration system.
Explain how to reference this document
from the project's supported instruction
files for different coding agents.
Do not modify existing project configurations
without asking me first.A Better Workflow: From a Simple Prompt to a Reusable Design System
You do not need to execute every prompt every time you create a website.
A practical workflow looks like this:
Phase 1: Collect
Save screenshots, moodboards, colour references and typography examples.
Phase 2: Understand
Ask your AI agent to analyse those references and create design-taste.md.
Phase 3: Standardise
Create design tokens, component guidelines and responsive rules.
Phase 4: Plan
Ask the agent to propose different design directions for your project.
Phase 5: Build
Let the agent implement the selected design using suitable components and your existing technology stack.
Phase 6: Review
Capture screenshots, inspect the interface and identify problems.
Phase 7: Improve
Fix the most important issues, update the design references and reuse the system in future projects.
The benefit is that your design knowledge becomes reusable rather than disappearing when a conversation ends.
Common Mistakes to Avoid When Using AI for Website Design
Even with a well-defined Taste Stack, some mistakes can reduce the quality of the final result.
Giving Too Many Visual References Without Direction
Collecting 50 screenshots does not automatically create a good design system.
Some references may have completely different visual styles. Explain which aspects you like about each reference.
Copying Components Without Adapting Them
A component that looks excellent on one website may not fit another brand.
Use component libraries as starting points, not finished design solutions.
Overusing Animations
Animations should improve the experience, not distract visitors.
Use motion to communicate state changes, guide attention or improve interactions.
Ignoring Mobile Layouts
A beautiful desktop design does not guarantee a good mobile experience.
Review navigation, typography, image cropping, section spacing and component behaviour on smaller screens.
Allowing AI to Change Everything at Once
Large unreviewed changes make it difficult to identify what improved or broke.
Use an approval-first workflow, review changes in manageable stages and keep your project under version control.
Treating the Design File as a One-Time Document
Your design preferences may evolve as your product, audience and brand develop.
Update your design taste file when you discover better references or establish new design standards.
Frequently Asked Questions
What is a Taste Stack in AI website development?
A Taste Stack is a reusable collection of design references, personal preferences, design skills, component libraries and instructions that help AI coding agents create websites according to a defined visual direction.
Can I use the Taste Stack with Codex, Claude Code and Antigravity?
Yes. The underlying design documentation and prompts can be used with different AI coding agents. However, setup instructions and supported integrations differ between tools.
Do I need to know frontend development to use this approach?
Not necessarily. AI coding agents can help with many implementation tasks. However, understanding basic frontend concepts makes it easier to review the generated website and identify problems.
What is a design-taste.md file?
It is a reusable Markdown document containing your preferred colours, fonts, layouts, spacing, imagery, motion and design principles. An AI agent can read it before making design decisions.
Can I use this approach for an existing website?
Yes. You can ask your coding agent to audit the existing website, understand its technology stack, propose improvements and implement the approved design changes.
Can I use the same design system for multiple projects?
You can reuse general preferences and design principles, but each brand should have its own project-specific identity, colours, typography and components.
Does using a Taste Stack guarantee a professional website?
No. It improves the quality of design instructions and creates a more consistent workflow, but the final result still requires human review, usability testing, accessibility checks and performance optimisation.
Are all the tools and component libraries free?
Not necessarily. Some offer free plans, while other features may require accounts, subscriptions or usage credits. Always check the latest pricing and licensing information.
Final Thoughts
AI coding agents are making website development more accessible, but generating a functional interface is only one part of building a great website.
A distinctive website needs a clear visual direction, consistent design decisions, appropriate components and thoughtful user experience.
The Taste Stack approach gives developers a way to communicate those requirements more effectively.
The most important idea is not which AI tool you use. It is the design knowledge you provide to that tool.
Whether you work with OpenAI Codex, Claude Code, Google Antigravity, Cursor, Windsurf or another AI coding agent, a reusable design reference can help it understand your preferences and follow a consistent design direction.
Instead of asking AI to make something beautiful every time, teach it what beautiful means for your project.
Build your design taste once. Document it. Reuse it. Let your AI coding agent help bring it to life.