原型一直是最有效的规格说明方式——尤其是在 AI 时代
原题Prototypes have always been the most effective specification-especially with AI
读前速览
文章指出,在 AI 时代,原型已成为最有效的规格说明方式:规格说明从预测性文档转变为构建完成后的记录,用来捕捉经过测试的决策并支持持续探索。
规格说明已从预测性文档转变为构建后的记录
AI 让构建变得廉价,规格说明的作用也随之改变:它不再预测系统将会是什么样,而是记录构建过程最终确定了什么,因此成为经过测试的决策记录,而非预测。
原型能够消除知识诅咒
原型能把一个人脑海中的模型呈现在屏幕上,让所有人都能测试,从而解决一个根本问题:撰写者无法忘掉自己对系统的既有理解。
持续探索需要低成本构建
当团队每隔几天就能构建出新成果时,每次构建都会带来新的问题,而先前的研究无法回答这些问题。因此,探索不再是构建前的一个阶段,而是持续进行的过程。
AI 编程智能体需要从实际构建中得出的约束
智能体需要边界条件、命名规则和禁止事项。只有基于实际构建、观察其失败并加以修正后的版本,才能精准地写出这些约束,而非凭空想象。
RITE 方法支持快速迭代
RITE 方法一旦发现问题且明确解决方案,就立即修改界面,不必等完整研究结束。这与低成本构建让团队不必等待完整规格说明的做法相呼应。
完整摘要
文章探讨了 AI 工具如何大幅降低构建成本,并从根本上改变规格说明的作用。规格说明不应再作为预测性文档于开发前编写,而应在构建之后撰写,记录经过测试的决策。作者通过快速原型、RITE 可用性测试方法和持续探索实践,梳理了这一演变。文章的主要观点包括:原型能让模型呈现在屏幕上,供所有人测试,从而消除「知识诅咒」;先构建再完善的做法能让团队每周开展客户调研;AI 编程智能体需要精确的约束,而这些约束只有基于实际构建的成果才能写清楚;传统的规格说明工作流程需要倒过来,才能适应现代开发的现实。文章最后提出实用建议,鼓励团队采用先构建、后记录的方式,同时审查那些未明说的默认设定,并为 AI 智能体撰写规格说明。
目录 · 11 节
原型一直是最有效的规范,尤其是在 AI 时代。Prototypes have always been the most effective specification—especially with AI
当构建一个可运行版本只需花一个下午时,过去要在工作开始前产出的成果,如今反而会从工作过程中自然产生。When building a working version costs an afternoon, the artifact that used to precede the work now falls out of it instead.
团队里有人已经做出了可用的功能版本,而需求评审还要三天才开始。他们是在会议间隙把它做出来的,却没有提起,因为计划要求先编写需求、获得批准,然后再开发。Somebody on your team has a working version of the feature, and the requirements review is still three days out. They built it between meetings and did not mention it, because the plan said write the requirements, get sign-off, then build.
然后,这条消息出现在 Slack 中,整个讨论氛围随之改变。Then it lands in Slack and the room changes.
文档中的三个悬而未决的问题,只要能点击那个东西,答案就不言自明;另外两个则发现根本问错了。Three open questions in the document answer themselves once you can click the thing, and two more turn out to be the wrong ones.
大多数团队会把这称为逆向工作。Most teams would call that working backwards.
我已经反复看过它,次数多到不再把它称作失败,因为事后写下的那份文档,比原本会先写出的那份更好。I have watched it often enough to stop calling it a failure, because the document written afterward beats the one that would have come first.
现在谁建造了它已经没那么重要了,我们必须接受这一点。Who built it matters less now and we have to accept that.
这个人可能是产品经理、设计师或工程师,而这三种人都能在一个下午内完成这件事。That somebody might be a product manager, a designer, or an engineer, and all three can do it in an afternoon.
我们都必须适应任何人都能制作原型这一现实,因为这是这个新世界所带来的可能性,而且我们无从阻止。We all have to get comfortable with anyone producing the prototype, because that is what this new world has enabled, and there is no way to stop it.
构建成本变低后,规格说明并没有因此失去用处。它在流程中的位置发生了变化,因此有了新的作用:它不再是对一个无人动手构建的系统的预测,而是记录构建工作最终敲定了什么。The specification did not become useless when building got cheap. It changed position in the sequence, which gave it a new job: from a prediction about a system nobody had touched to a record of what building it settled.
探究规范为何存在Trace Why Specifications Exist
规格说明书是一种成本产物。它之所以存在,是因为构建成本高昂,而书写相关内容成本低廉;因此,团队会先在廉价的媒介中买个确定性,再投入昂贵的资源去构建。那些仪式也由这笔交易衍生而来:签字确认、变更请求,以及封面上的版本号。The specification is a cost artifact. It exists because building was expensive and writing about it was cheap, so teams bought certainty in the cheap medium before spending in the expensive one. The rituals follow from that trade: the sign-off, the change request, the version number on the cover page.
我曾经写过一份长达 1,200 页的规格说明,结果白白浪费了时间。I once wrote a 1,200-page specification, and it was a waste of my time.
写作从来不是对系统的描述,而是构建系统最廉价的模拟方式。Writing was never a description of the system. It was the cheapest available simulation of building one.
在他1986年的文章《没有银弹》中,弗雷德·布鲁克斯指出,软件开发中最困难的部分是决定要开发什么。在他看来,客户只有看到某个版本运行起来之后,才知道自己想要什么。In his 1986 essay No Silver Bullet, Fred Brooks argued that the hardest part of building software is deciding what to build. In his view, clients do not know what they want until they have seen a version running.
他的解决方案是快速制作原型——但那时制作原型仍然得花真金白银,所以大多数团队只是点点头,继续编写需求。His fix was rapid prototyping at a moment when prototyping still cost real money, so most teams nodded and kept writing requirements.
编写这些内容的人脑中有一套系统模型,无法再忘掉它;我的参考网站将这种现象归类为“知识诅咒”。我曾在多家公司与自己的团队开展快速原型开发,效果非常、非常好。The person writing them holds a model of the system in their head and cannot un-know it, which my reference site files under the Curse of Knowledge. I have run rapid prototyping with my own teams at multiple companies, and it has been very, very effective.
原型能将这个模型从一个人的脑海中呈现到屏幕上,让所有人都能进行测试。A prototype gets that model out of one head and onto a screen everyone can test.
评审前先制作原型Prototype Before the Review
改变的不是论点,而是替代方案的代价。What changed is not the argument, it is the price of the alternative.
2011 年,埃里克·里斯在《精益创业》中为这一理念赋予了一个循环:构建、衡量、学习,然后重复。他和布鲁克斯都认为,构建是最耗时的一步。Eric Ries gave the idea a cycle in 2011 with The Lean Startup: build, measure, learn, and repeat. He and Brooks both assumed building was the slow step.
UX Tools 为《原型设计现状:2026 年春季》调查了 1,478 名自行报名参与的设计师,其中 59.1% 的人在过去六个月里借助人工智能打造了自己的工具、应用或实用程序。这个数字反映的是一位设计师到周四就能拿到会议室里展示的成果。UX Tools surveyed 1,478 self-selected designers for State of Prototyping: Spring 2026, and 59.1 percent had built their own tool, application, or utility with artificial intelligence in the previous six months. That number describes what one designer can put in front of a room by Thursday.
原型不会赢得争论。它会终结争论,把对假设的分歧变成对实际事物的观察。A prototype does not win arguments. It ends them, by turning a disagreement about a hypothetical into an observation about a thing.
需求文档最难妥善处理的问题,例如系统在负载下的表现,或流程中的第四步,回答起来成本很低,靠猜测却代价高昂。企业软件是开始迭代的好起点,因为其中大多数设计模式都已有成熟方案。The questions a requirements document handles worst, like behavior under load or the fourth step of a flow, are cheap to answer and costly to guess. Enterprise software is a good place to start iterating, because most of its design patterns are solved.
表格、筛选器、表单、审批和权限经过数十年的反复打磨;像 Carbon 这样的系统自称是“面向企业的开源设计系统”,并将它们定义为组件。Tables, filters, forms, approvals, and permissions have been worked over for decades, and systems like Carbon, which calls itself an “enterprise-ready, open-source design system,” write them down as components.
用这些组件搭建的原型,第一天下午看起来就颇具可信度,这样就能把迭代留给没有任何库能覆盖的工作流程。A prototype built from those parts looks credible on the first afternoon, which saves the iteration for the workflow no library covers.
每周开展研究Run Research Every Week
一个可运行的版本也改变了研究的目的。过去,探索是一个阶段:制定需求前做访谈,发布前做研究,两者之间则是漫长的平静期。当团队每隔几天就能构建出新东西时,每次构建都会带来一个上周还没人提出的问题,而一项三月就已结束的研究无法回答这个问题。A working version also changes what research is for. Discovery used to be a phase: interviews before the requirements, a study before launch, and a long quiet stretch between. When a team can build something new every few days, each build raises a question nobody had last week, and a study that wrapped in March cannot answer it.
探索不再是一个可以完成的阶段。它始终在持续,因为每次构建都会提出一个新问题。Discovery stops being a phase you finish. It is always on, because every build asks a new question.
Teresa Torres 一直倡导这种节奏。她将持续探索定义为“开发产品的团队每周与客户接触”,以实现预期成果为目标。Teresa Torres has argued for that cadence. Her definition of continuous discovery calls for “weekly touch points with customers by the team building the product,” run in pursuit of a desired outcome.
低成本原型让参与者有东西可以直接体验和反馈,而不必凭描述去想象。Cheap prototypes give those sessions something to react to instead of a description to imagine.
阅读需求的利益相关者会争论用户会怎么做,而面对原型的参与者则会直接去做。研究人员的工作也从开展研究转变为确保这个反馈循环不失真:决定让哪些人体验哪个版本,并在团队主要是在验证自己的热情时直言不讳。Stakeholders reading requirements argue about what a user would do, while participants in front of a prototype simply do it. The researcher’s job shifts from running a study to keeping that loop honest: choosing which build meets which people, and saying out loud when the team is mostly testing its own enthusiasm.
使用 RITE 方法Use the RITE Method
可用性测试早已经历过一次这样的逆转。2002 年,迈克尔·梅德洛克及其微软同事在《运用 RITE 方法改进产品:定义与案例研究》中介绍了快速迭代测试与评估(RITE)。Usability testing went through this inversion once already. In 2002, Michael Medlock and colleagues at Microsoft described Rapid Iterative Testing and Evaluation in Using the RITE method to improve products; a definition and a case study.
传统研究会先让所有参与者完成测试,然后撰写报告。RITE 会“在发现问题且解决方案明确后立即”修改界面,有时只需测试一位参与者后就会这样做。A classic study runs every participant, then writes a report. RITE changes the interface “as soon as a problem is identified and a solution is clear,” sometimes after a single participant.
RITE不再等待完整研究,正如如今低成本构建不再等待完整规格说明一样。RITE stopped waiting for the full study, the way cheap builds now stop waiting for the full specification.
在《帝国时代 II》教程测试中,团队在最初十名参与者中的六人完成测试后调整了设计,并修复了发现的31个问题中的30个。On the Age of Empires II tutorial, the team changed the design after six of its first ten participants and fixed 30 of the 31 problems it found.
该方法有一个前提:开发团队的决策者必须参与其中,论文称这“远不只是承诺出席并审阅”。本文反复描绘的正是这样的场景,而用户终于也置身其中。One condition carried the method: the development team’s decision makers had to take part, which the paper calls “more than a commitment to attend and review.” That is the room this article keeps describing, with the user finally in it.
小样本从来不是薄弱环节:Jakob Nielsen 在 2000 年的《为什么只需用 5 位用户进行测试》中提出,五位参与者就能发现大约 85% 的可用性问题,这个数字至今仍有研究人员争论。周一让五个人试用一个构建版本,在测试间隙修复问题,那么你周五写下的规格说明描述的就是你亲眼观察到的行为。Small samples were never the weak point: Jakob Nielsen argued in 2000’s Why You Only Need to Test with 5 Users that five participants surface roughly 85 percent of usability problems, a figure researchers still debate. Put a build in front of five people on Monday, fix it between sessions, and the specification you write Friday describes behavior you watched.
最后编写规范Write the Specification Last
所以,编写规格说明时要把它放在第二位。团队不断迭代的过程中,原型就是工作文档:大家编辑、审阅并指着讨论的那个东西。So write the specification, and write it second. While the team iterates, the prototype is the working document: the thing people edit, review, and point at.
它也是事实依据。It is also the source of truth.
当原型与段落内容不一致时,以原型为准,因为它经过了实际测试。When the prototype and a paragraph disagree, the prototype wins, because it is the one somebody tested.
规范变成了对原型如何演变至此的记录,而作者也不再靠猜测。它记录了尝试过哪些方法、出了什么问题,以及为何最终保留下来的方案胜出。这更接近 Jeff Jeff Gothelf 和 Josh Seiden 在《精益 UX》(Lean UX)中提出的主张:引导团队关注产品体验,而非交付物。The specification becomes the account of how the prototype got that way, and its author has stopped guessing. It records which approach was tried, what broke, and why the surviving option won. That is closer to what Jeff Jeff Gothelf and Josh Seiden asked for in Lean UX, which steers teams toward the product experience rather than deliverables.
如今,能构建出可用版本的人比两年前更多了。Figma《2026 年 AI 报告》汇总了 8,403 份调查答卷,发现参与开发的设计师比例翻了一番,达到 41%;从事设计工作的开发者比例则从 44% 升至 60%。随着设计与开发之间的界限日渐模糊,原型不再专属于某一种角色,而成为团队共同使用的工作文档。More people can build that working version than two years ago. Figma’s 2026 AI Report, drawn from 8,403 survey responses, found the share of designers participating in development doubled to 41 percent, while developers doing design work rose from 44 to 60 percent. As that line thins, the prototype stops belonging to one role and becomes the team’s shared working document.
在构建前编写的规范是一种预测;在构建后编写的规范,则记录了某人已经验证过的决策。A specification written before the build is a forecast. One written after is a record of decisions somebody already tested.
撰写文档也不再需要从空白页面开始。Cursor 的《使用 Cursor 生成文档》称,它会“读取你的代码,并生成能反映代码实际功能的文档”,其中也包括设计文档和架构概述。Writing the account no longer starts from a blank page either. Cursor’s Generating Documentation with Cursor says it “reads your code and generates documentation that reflects what the code does,” design documents and architecture overviews included.
Claude Code 的常见工作流指南建议向它提问:“解释这里采用的主要架构模式”和“关键数据模型有哪些?”构建原型的同一工具也可以生成规格说明,再由人补充代码无法解释的决策。Claude Code’s Common workflows guide suggests asking it to “explain the main architecture patterns used here” and “what are the key data models?” The specification can come out of the same tool that built the prototype, with a person editing in the decisions the code cannot explain.
对于基于模型构建的功能,评测就是新的规格说明:将示例输入与团队期望的输出配对,并在系统每次发生变化时运行。Anthropic 研究团队的产品负责人 Dianne Penn 于 2026 年 7 月在《Lenny’s Podcast》上介绍了这种评测驱动的开发循环。For features built on a model, evals are the new specification: example inputs paired with the outputs the team expects, run every time the system changes. Dianne Penn, who leads product for Anthropic’s research teams, described the eval-driven development loop on Lenny’s Podcast in July 2026.
The New Stack 在《帮助 Anthropic 找到自身定位的 24 小时实验》一文中报道称,她的团队会为每项主要功能构建约 30 到 40 个具有代表性的示例。一段文字可以说明理想效果是什么样,但评测会在每次构建时对其进行检查。The New Stack reported in The 24-hour experiment that helped Anthropic find its identity that her team builds about 30 to 40 representative examples for each major feature. A paragraph can say what good looks like, but an eval checks it on every build.
检查原型的默认设置Review the Prototype’s Defaults
在这里,这种反转的代价变得高昂,而热情让人更难看清这一点。研究型非营利组织 METR 在《我们正在改变开发者生产力实验设计》中解释了为何要重新设计其 2025 年生产力研究。Here the inversion gets costly, and enthusiasm makes it harder to see. The research nonprofit METR explained in We are Changing our Developer Productivity Experiment Design why it was redesigning its 2025 productivity study.
受访开发者中有 30% 至 50% 拒绝提交某些任务,因为他们不想在没有人工智能的情况下完成这些任务。测量结果因受测者的偏好而失真。Between 30 and 50 percent of surveyed developers declined to submit some tasks because they did not want to do them without artificial intelligence. The measurement broke on the affection of the people being measured.
这个原型回答了你问它的问题,也悄悄回答了大约四十个你没问的问题。The prototype answers the question you asked it. It also quietly answers about forty you did not.
故障处理路径、空白屏幕、数据模型,以及从组件库里拿来的控件是否易于访问——这些都已经定了,却没人讨论。我反复遇到的情况是:没人把借来的组件记录为一项选择;日期选择器或模态框之所以出现在生产环境中,只是因为它随一个大家都喜欢的演示一起出现了。Failure paths, blank screens, the data model, the accessibility of a control grabbed from a library: all decided, none discussed. The pattern I keep running into is the borrowed component nobody logged as a choice, a date picker or a modal in production because it arrived inside a demonstration everyone liked.
从已解决的模式入手是对的;但若不记录具体用了哪些模式就直接从中起步,最终交付的内容就未经审视。我的《自动化偏见》条目解释了这种倾向:生成的答案比提出的答案更让人觉得尘埃落定。在受监管的工作中,文档仍然是正式记录的载体。Starting from solved patterns is right; starting from them without logging which ones is how they ship unexamined. My Automation Bias entry explains the pull: a produced answer feels more settled than a proposed one. In regulated work, the document is still the artifact of record.
面向编程智能体写作Write for Coding Agents
先构建和先编写规范这两派看起来像是对立阵营,但它们大多只是从相反的两端描述同一个循环。2025 年 9 月,GitHub 发布了 Spec Kit,并在《借助 AI 开展规范驱动开发:使用全新的开源工具包入门》一文中对其进行了介绍。The build-first and specification-first camps look like rivals, but they mostly describe the same loop from opposite ends. In September 2025, GitHub released Spec Kit, described in Spec-driven development with AI: Get started with a new open source toolkit.
它始于一份规范,并由此成为智能体生成、测试和验证代码时所依据的事实来源。乍一听,这像是以需求为先的工作方式,直到你问起这份文档是写给谁看的。It starts with a specification that becomes the source of truth an agent uses to generate, test, and validate code. That sounds like requirements-first work until you ask who the document is for.
双方都没错,因为他们描述的是面向不同读者的两份不同文档。Both camps are right, because they are describing two different documents for two different readers.
审批者想要的是信心。智能体需要的是约束:边界条件、命名规则,以及绝不能对计费表做的事。你无法凭空准确地写出这些;你得根据自己构建、亲眼看着它失败并加以修正的版本来写。An approver wanted confidence. An agent needs constraints: the boundary conditions, the naming rules, the thing you must never do to the billing table. You cannot write those precisely from imagination; you write them from the version you built, watched fail, and corrected.
这些约束随后被纳入智能体运行框架、指令文件、权限、钩子以及围绕模型的测试中:指令阐明规则,其余部分则负责落实规则。运行框架由此成为护栏。Those constraints then move into the agent harness, the instruction files, permissions, hooks, and tests around the model, where the instructions state the rules and the rest enforce them. The harness becomes the guardrail.
GitHub 对 2,500 多个代码仓库的研究《如何编写出色的 agents.md:来自 2,500 多个代码仓库的经验教训》发现,大多数 agent 文件的问题在于内容过于含糊,并建议随着 agent 犯错逐步补充细节。这不过是把“从构建过程出发写作”换了个说法。agent 的权威信息源位于团队的信息源之后:原型编写规范,而这份规范再为下一轮构建提供说明。GitHub’s study of more than 2,500 repositories, How to write a great agents.md: Lessons from over 2,500 repositories, found most agent files fail by being too vague and advises adding detail as the agent makes mistakes. That is writing from the build under another name. The agent’s source of truth sits downstream of the team’s: the prototype writes the specification, and that specification briefs the next build.
丢弃第一个原型Discard the First Prototype
布鲁克斯还有另一条箴言。在《人月神话》中,他告诫管理者:“要计划好扔掉一个;反正你迟早会扔掉一个。”先动手构建的团队必须把这条建议当真,而大多数团队并没有这么做。Brooks had a second line. In The Mythical Man-Month, he told managers to “plan to throw one away; you will, anyhow.” Teams that build first have to take that advice literally, and most do not.
下午做出的原型先有了一个真正的 URL,接着迎来了真正的用户,然后又收到了一张要求将它加固的工单;只要预期设定得当,就没人会拍板说它已经成了正式产品。The afternoon prototype gets a real URL, then a real user, then a ticket to harden it, and nobody ever decides it became the product if expectations are set well.
开发者已经切身体会到,几乎能正常运行的代码会让他们付出怎样的代价。Developers already feel what code that almost works costs them.
Stack Overflow 对超过 49,000 名开发者进行了调查。结果显示,开发者仍愿意使用 AI,但也心存顾虑:《2025 年开发者调查》结果现已公布,45% 的受访者将“几乎正确”的解决方案列为最令人沮丧的问题。三分之二的人表示,他们花更多时间修复这类代码。Stack Overflow surveyed more than 49,000 developers for Developers remain willing but reluctant to use AI: The 2025 Developer Survey results are here, and 45 percent named solutions that are almost right as their top frustration. Two-thirds said they spend more time fixing that kind of code.
原型本来就应该几乎正确。A prototype is supposed to be almost right.
生产环境不是这样;规范则是团队记录自己采用两者中的哪一种的地方。Production is not, and the specification is where a team writes down which of the two it is holding.
结论Conclusion
这一切并不意味着文档可有可无。它只是把文档放到流程中能够准确反映实际情况的位置,也就是有人实际接触过它所描述的东西之后。它还让研究人员每周都有新内容可以拿给用户看,而任何文档都无法做到这一点。None of this makes documentation optional. It moves the document to the point in the sequence where it can be accurate, which is after somebody has touched the thing it describes. It also gives research something new to put in front of users every week, which no document offers.
需求文档始终是披着合同外衣的预测;在构建成本高昂时,预测是当时最好的工具。如今,越来越多的工作已不再如此,但相关实践却仍未跟上。The requirements document was always a forecast dressed as a contract, and forecasts were the best instrument available while building stayed costly. That has stopped being true for a widening slice of work, and the practice around it has not caught up.
我会关注你们团队书面计划与实际行为之间的落差。日历上仍然写着周二进行规格评审,Slack 讨论串却显示有人在周日晚上就把它做出来了。当这两件事并列摆在眼前,却没人提起时,你们的流程描述的成本结构就已经不复存在了。What I would watch on your team is the gap between the written schedule and the observed behavior. The calendar still says specification review on Tuesday. The Slack thread says somebody built it Sunday night. When those two facts sit side by side and nobody remarks on it, your process is describing a cost structure that no longer exists.
我不会把“先构建”包装成一种方法;谁这么做,我都会心存怀疑。先动手构建,会悄悄带入没人选择过的决策,而这种代价是真实存在的。我宁愿审视一个能正常运作的东西,也不愿为一段自信满满的论述辩护——毕竟,那个论述所针对的问题可能根本就不存在。I would not sell the new order as a method, and I would distrust anyone who does. Building first smuggles in decisions nobody chose, and that cost is real. I would rather audit a working thing than defend a confident paragraph about a problem that turned out not to exist.
重新排列你的下一个功能Reorder Your Next Feature
- 构建并测试最精简的版本。用设计系统中已有成熟方案的组件搭建一个屏幕,在有人预约评审之前先展示给五位用户。每轮测试之间修复问题,然后每周都让新用户体验一个新版本。Build and test the smallest version. One screen built from components your design system already solved, shown to five users before anyone books the review. Fix between sessions, then put a new build in front of new people every week.
- 从实际构建成果出发写。让你的编码工具根据原型起草规格说明,再补上它遗漏的推理过程。原型与文档不一致时,修改文档。把每一句以“系统应当”开头的话,都改成点明尝试、失败以及仍可行选项的表述。如果你无法在现场演示中为某一条内容辩护,那它仍只是预测,应列入待定栏。Write from the build. Let your coding tool draft the specification from the prototype, then add the reasoning it leaves out. When the prototype and the document disagree, fix the document. Replace every sentence beginning “the system shall” with one naming the attempt, the failure, and the option left standing. If you could not defend a line in a live demonstration, it is still a forecast and goes in the open column.
- 审查那些未明说的默认设置。逐一检查空字段、错误消息和每个借用的组件;花二十分钟,就能发现演示中隐藏的大多数问题。Audit the silent defaults. Walk the empty fields, the error messages, and every borrowed component; twenty minutes catches most of what the demonstration hid.
- 面向执行者来写。编码代理会照字面执行指令,并在没有明确说明时自行发挥,因此要明确写出约束和禁令,而不是意图。把重要的约束和禁令放进执行框架,让钩子或测试来强制执行;对于模型驱动的功能,则让评估集充当规格说明。Write for the executor. A coding agent follows instructions literally and fills silence with invention, so name constraints and prohibitions, not intentions. Move the ones that matter into the harness, where a hook or a test enforces them, and for model-driven features, let the eval set serve as the specification.
《原型一直是最有效的规格说明——尤其是在 AI 时代》最初发表于 Medium 上的 UX Collective,读者们正通过标注和回应这篇文章继续展开讨论。Prototypes have always been the most effective specification-especially with AI was originally published in UX Collective on Medium, where people are continuing the conversation by highlighting and responding to this story.