Explains how prompt specificity affects design outcomes using a Chevy Casting Lookup app, contrasting creative exploration with constrained prompts for predictable, production-ready changes.
This lesson demonstrates how prompt specificity changes what a creative assistant produces. Use vague, open prompts to explore visual ideas and unexpected improvements. Use specific, constrained prompts when you need deterministic results (exact colors, layout rules, or API behavior). The examples below come from a small web-app redesign workflow — Chevy Casting Lookup — and show how different prompting styles lead to different UI and implementation changes.
The home page uses a Jinja2 template that extends base.html and provides a quick casting-number search. This trimmed template shows the core structure and the simple search form used to look up casting numbers.Reference: Jinja2 Basics (Mini Course)
This minimal starting template is ideal for demonstrating the difference between open-ended and constrained prompts because it contains the core UI and functionality without unrelated files or templates.
When the prompt was intentionally vague (for example, “make the design look more professional”), the assistant made many stylistic and UX assumptions. It introduced card elevation, hover feedback, table hover states, responsive tweaks, and even a few new UI elements (API-connected status indicator, advanced search collapse).Representative CSS changes from that creative run:
Because the assistant was given broad latitude, it introduced multiple UX improvements and new UI elements. After applying those changes and refreshing the app, the search-results table looked significantly different:
Creative prompting is ideal when you want visual exploration, alternative layouts, or multiple UX suggestions. Expect the model to make reasonable design choices and to introduce new UI elements.
Creative prompts are less suitable when you need strict, verifiable constraints (database schemas, API contracts, accessibility requirements) unless you explicitly include those constraints in the prompt.
Example: specific prompting — Chevy orange, dark mode
Then the prompt was made much more specific: use a “Chevy orange” primary color with subtle light-blue highlights, apply a dark mode (dark gray/black backgrounds), and preserve the existing layout and functionality.Representative dark-mode CSS the assistant suggested:
Because the prompt specified exact colors and a dark-mode intent, the assistant produced a focused design that retained the existing layout and functionality while shifting the visual language to a Chevrolet-inspired palette and dark backgrounds.After those targeted changes, the UI reflected the dark theme, Chevy orange accents, status indicators, and navigation consistent with the original structure:
When the assistant attempted to update templates that were not provided (for example, base.html or 404.html), the runtime raised template-not-found errors. This consolidated traceback illustrates the common error when a required template is missing:
Copy
File "/path/to/venv/lib/python3.12/site-packages/jinja2/environment.py", line 975, in _load_template template = self.loader.load(self, name, self.make_globals(globals))File "/path/to/venv/lib/python3.12/site-packages/jinja2/loaders.py", line 126, in load source, filename, uptodate = self.get_source(environment, name)File "/path/to/venv/lib/python3.12/site-packages/flask/templating.py", line 98, in _get_source_fast raise TemplateNotFound(template)jinja2.exceptions.TemplateNotFound: 404.html
Start with a minimal, focused context: provide only the files you want the assistant to change. That reduces assumptions and prevents runtime errors. If more files are needed, let the model request them explicitly.
Use creative prompts to surface visual ideas and explore multiple UX directions quickly.
Use specific prompts to get deterministic, constraint-driven changes (exact colors, layout, or functionality).
Start with minimal context and add files only as requested to avoid unnecessary assumptions and runtime errors.
This lesson applied both strategies to the Chevy Casting Lookup app: the creative prompt yielded broad stylistic enhancements, while the specific prompt produced a focused dark-mode redesign centered on a Chevy-orange primary color.