Rust off Rails:AI 时代的固执己见 Web 技术栈
Rust off Rails: The opinionated web stack for the AI era

原始链接: https://rustoffrails.org/

0 创立规则 所有代码由 AI 编写 Rust、SQL、HTML、CSS、TypeScript 和每个 Dockerfile 的每一行都由代理编写。人类编写意图:product/ 中的规格、访谈中的回答、对话中的反馈。绝不写代码。这是其他规则所依赖的规则:样板代码是免费的,约定由代理强制执行,规格保持唯一真相来源。阅读 §0。# Markdown 是框架 在框架会发布库的地方,Off Rails 发布精确规格。任务队列、会话和 Inertia 适配器被渲染成你拥有的应用代码。! 强烈意见,面向代理 crate 选择、文件布局、命名、错误、测试:一次决定。代理从不争论 ORM。敌人是不一致,不是不完美。+ 开箱即用 认证、任务、邮件、缓存、上传、实时、部署:每一层都有指南和配方,因此代理从不从空白页开始。浏览指南。

Hacker News 的讨论聚焦于“Rust off Rails”,这是一组 Markdown 文件,指导编程智能体按 Rails 风格约定构建全栈 Rust Web 应用,而非真正的框架。评论者将其与 Loco(一个采用 Rails 约定的现有 Rust 框架)作比较,并指出 Rails 本身借鉴了企业应用模式。一些人对 AI 生成的项目表示怀疑,质疑其可信度、可维护性以及“提示词能力”。其他人则争论 Markdown 约定相比仅用笔记提示 AI 是否更有价值。总体而言,该帖突出了命名混淆、与 Loco 的比较以及对 AI 引导开发的复杂反应。
相关文章

原文

The founding rule

All code is written by AI

Every line of Rust, SQL, HTML, CSS, TypeScript and every Dockerfile is written by an agent. Humans write intent: specs in product/, answers in the interview, feedback in conversation. Never code. It's the rule the others rest on: boilerplate is free, conventions are enforced by the agent, and specs stay the source of truth. Read §0.

Markdown is the framework

Where a framework would ship a library, Off Rails ships a precise spec. The job queue, sessions and Inertia adapter are rendered into your app as code you own.

Strong opinions, aimed at agents

Crate choice, file layout, naming, errors, tests: decided once. The agent never debates the ORM. Inconsistency is the enemy, not imperfection.

Batteries included

Auth, jobs, email, caching, uploads, realtime, deploys: every layer has a guide and a recipe, so the agent never starts from a blank page. Browse the guides.

联系我们 contact @ memedata.com