I have run the same experiment more times than I want to admit. Give an AI coding agent a short product idea, add "make it modern, premium, and immersive," and watch what comes back.
It is almost always the same site. Centered hero. A gradient. Three feature cards with line icons. A logo strip that claims "trusted by." A footer with four columns. Maybe a testimonial section if the model is feeling generous.
This is not a model quality problem. It is a specification problem. The prompt named an aesthetic but left every structural decision to the implementation agent. Faced with an underspecified task, the agent picks the statistical center of the web: a SaaS landing page.
I wanted to see whether moving those decisions earlier — before any code — changes the output. That experiment became a skill called Prompt Skill. It does not generate websites. It turns a rough idea into one self-contained English build prompt that a separate implementation agent can execute.
Here is what I learned about why the default page keeps winning, and what a prompt needs before it can stop.
The default page is a rational response to a vague prompt
When a prompt says "modern, premium, immersive," an agent has to translate adjectives into geometry. There is no canonical mapping. So it reaches for the most common patterns:
- one route, because routes were never specified
- three features, because three is a safe number
- placeholder copy, because no content model exists
- "smooth animations," because motion was never defined
- "looks professional" as acceptance, because nothing measurable was requested
None of these are unreasonable in isolation. Together they produce a page that could belong to any product, which means it belongs to none.
The fix is not a longer adjective list. It is a contract with fields that must be filled — and fields that can fail review.
Decision 1: routes need jobs, not a page count
"Make it a multi-page site" is not a route model. It tells the agent how many files to create, not what each file is for.
A useful route model starts from the work:
- 1 route when the product is a campaign, a single story, a game, or one focused tool
- 2–4 routes when there is a catalog and detail relationship, a service and booking flow, or an archive
- 5–8 routes when the product genuinely has five to eight distinct jobs
The number is an output of the jobs, not a target. In the Prompt Skill examples, the three specimens intentionally use 1, 3, and 5 routes:
| Specimen | Routes | Why that number |
|---|---|---|
| Chromatic | 1 | A color museum is one continuous spatial argument |
| Serein | 3 | Studio, projects, and contact are genuinely different jobs |
| Signal Room | 5 | Episodes, run sheet, signal, releases, and settings each carry state |
Each route in the prompt gets a one-sentence job and a list of what it must prove. If two routes have the same job, one of them is probably a section.
Decision 2: content objects before sections
Thin pages are usually a content-model failure, not a copywriting failure. If the prompt never defines what a "project" or an "episode" is, the agent invents two placeholder rows and repeats them.
So the prompt defines four to seven content objects first. Each object gets:
- fields with types
- states it can be in
- relationships to other objects
- two or three usable sample rows
- a numeric content inventory
For example, an episode object might have id, title, status, duration, publishedAt, guests, and artwork. Its states might be draft, scheduled, live, published, and needs_review. The sample rows are real enough to render without lorem ipsum.
Only after the objects exist does the prompt write sections. Five to seven substantive sections per route, each tied to a content object, an action, and a visible proof. That constraint is what prevents "hero, three cards, footer" from counting as a page.
Decision 3: every section needs a Layout line and a Motion line
This is the part most prompts skip, and it is the part that most changes the result.
In a Prompt Skill output, every numbered section carries two complete lines:
Layout: 12-column grid; left 5 columns hold the episode index; right 7 columns hold the active run sheet; sticky rail at 96px; below 900px the index becomes a horizontal scrubber. Motion: active row cross-fades over 240ms cubic-bezier(0.2, 0.8, 0.2, 1); the tuner needle follows scroll with a 90ms spring lag; reduced motion removes the lag and keeps an instant state change. A static section still has to write Motion: none. That sounds pedantic until you review a generated site and realize that "none" was a decision someone never made.
The motion contract also has to specify:
- one memorable signature motion tied to a real content object
- the entrance order and stagger of the first viewport
- whether scroll progress changes content
- hover, press, focus, drag, select, and save feedback where relevant
- state and route transitions
- at least four concrete durations and a named easing or spring model
- which properties may animate, the concurrent-motion limit, target frame rate, and low-end fallback
- what
prefers-reduced-motionremoves or replaces while preserving meaning - how the motion can be proven in acceptance
"Beautiful, smooth animation" is not accepted. It cannot be reviewed, tested, or reproduced.
Decision 4: art direction is geometry, not mood
"Premium" is a mood. A money shot is geometry.
The prompt has to name the first-viewport anchor object, its approximate size and position, and how it behaves on load. It has to commit to six to eight hex values, three font roles, a material strategy, and an original-asset plan. It has to describe at least three compositions that recur across the site.
Chromatic, for instance, is not "a dark, premium museum." It is an octagonal lens, split display type, a pigment cloud, and concentric rings that dilate with scroll. That description can be built, reviewed, and compared against the result.
Decision 5: acceptance has to be runnable
"Looks professional" is not acceptance. The prompt ends with checks a reviewer can actually perform:
- screenshot every route at 1440×900
- screenshot every route at 390×844
- check clipping, overflow, line breaks, and sticky navigation
- check 44px touch targets
- check that reduced-motion still communicates state
- run the validator and require zero errors
The skill ships with scripts/validate_prompt.py. It checks the prompt itself before implementation: content-object count, numeric inventory, section depth, per-section Layout: and Motion: lines, art-direction completeness, mobile recomposition, and the motion section's concrete properties.
All three included examples pass with zero errors and zero warnings.
python3 scripts/validate_prompt.py examples/01-data-story-single-route.md # PASS · 0 errors · 0 warnings What this does not fix
Two honest limits.
First, the validator checks the contract, not the taste. A prompt can be structurally complete and still describe a boring site. Structure prevents omission; it does not guarantee a good idea.
Second, the output still depends on the implementation agent. A precise prompt narrows the space of plausible results, but it cannot make a weak model strong. The point is to make the differences visible and reviewable, not to remove craft.
There is also a real tension between specificity and reuse. The more exact the prompt, the less it generalizes. Prompt Skill handles this with a variables section for reusable templates, but a one-off brief should usually be more specific than a reusable one.
Try it
The skill is a single installable package with three examples and a validator:
npx skills add urlhearts/Uiprompt-skill --skill prompt-skill -g -y Then ask for a build prompt in ordinary language:
Use $prompt-skill to write a build prompt for an independent coffee roaster that needs a bean catalog, roast batches, and subscriptions.
You get a prompt.md, not a website. Review the routes, content model, art direction, motion, and acceptance before handing it to an implementation agent.
Showcase and three live specimens:
https://urlhearts.github.io/Uiprompt-skill/?utm_source=devto&utm_medium=article&utm_campaign=launch_v040
Repository:
https://github.com/urlhearts/Uiprompt-skill
Prompt Skill is CC BY-NC 4.0: free for non-commercial use. It was distilled from the cross-cutting structure of 303 website-template prompts; no source prompt bodies, brands, images, fonts, icons, or code are bundled.
If you have a prompt that still comes back as three cards and a footer, I would like to see it. That failure mode is the reason this exists.
