略微减少 AI 生成前端代码的草率感
Slightly reducing the sloppiness of AI generated front end

原始链接: https://envs.net/~volpe/blog/posts/reduce-slop.html

作者探讨了利用人工智能生成整洁、专业的后端代码时所面临的挑战:无论用户要求何种风格,AI 往往会产出千篇一律、粗制滥造的“劣质代码”。 为了解决这种视觉审美缺失的问题,作者发现,要求 AI 模仿“Qt 应用程序”风格,始终能生成更整洁、更精致的效果。通过将这一特定的设计准则应用到各种个人软件项目(例如自定义选举人团可视化工具)中,作者发现“Qt”提示词能成功剔除 AI 生成的典型冗余。 作者总结道,尽管这种偏好带有主观性,但“Qt 风格”显著提升了个人工具的质量,并鼓励社区进一步尝试,探索其他能避开“劣质”陷阱的设计模式。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 稍微减少 AI 生成前端的粗制滥造 (envs.net) 10 点,由 FergusArgyll 发布于 42 分钟前 | 隐藏 | 过往 | 收藏 | 2 条评论 帮助 abraxas 33 分钟前 [–] 我认为这更多地反映了“现代” UI 的问题,而非 AI 的粗制滥造。这一切之所以如此糟糕,主要原因在于自从抛弃了桌面范式和最初的 Xerox/Parc 研究,转而投向网络垃圾(Web slop)之后,小部件就再也没有统一的形状或交互行为了。所以是的,这更多是“网络垃圾”而非“AI 垃圾”。AI 只是放大了这一现象。 回复 Retr0id 1 分钟前 | 父评论 [–] 顺着这个思路,如果能看到一个 Win98 版本应该会很有趣。 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文
Slightly reducing the sloppiness of AI generated frontend

2026-06-12

I've been trying to make progress on a herculean task; I want decent looking programs for personal use which I can generate quickly using AI agents yet I'm a person without taste controlling an AI without taste. I found "one weird trick" that does enough for me, the results are not extra nice but it doesn't make me gag and I'll take what I can.

Style of Slop

I took a simple single web page app (more context below) and kept on asking the agent to generate it in different styles. I found that there can be many different styles, all of which feel like slop. Slop is not a distinct style, it can be overlaid on top of many others. Even when I got it to make a page to look like X, it looked like X with slop.

Qt

Only one generation stuck out to me. Simply asking it to make it look like a Qt app - to my tasteless eyes - removed almost all feeling of slop. You can check some of the results out here. This is obviously subjective, hard to convince anyone of and I'd like feedback. I'd also like to see more experimentation in this area, are there any other styles or design guidelines which an AI can generate without adding slop on top?

App context

I read this article from Axios -- a forecast of how the electoral college will change in 2030 and I wanted to visualize it. I dumped a picture in to chatgpt and asked it for a 270-to-win style program with the forecast changes so I can see which routes open or close for R's vs D's.

Other apps

It does translate well outside of this example. I've now gotten codex to translate all the other personal software I have to "Qt style" and I think they look much better.

联系我们 contact @ memedata.com