跳到主内容
@wquguru
精选88GitHub 新爆发仓库(GitHub)技巧与观点

前Cursor工程师开源100x技能:形式化验证AI编程

DeadInternetStudios/100x-engineer-skill: 100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-…

原文
发到 X
推荐理由

Agent编程落地痛点明确,这套形式化验证工作流给出了具体可复现的检查清单和配置逻辑,值得工程团队参考。

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

100x 是一项由前 Cursor 工程师开发的技能,可将提示词转化为经过形式化验证、可直接投入生产的代码

GitHub repository created 2026-11-23 · 1047 stars in 4.8 days (about 219 a day) · JavaScript

GitHub 仓库创建于 2026-11-23 · 4.8 天内获得 1047 颗星(平均每天约 219 颗)· JavaScript

100× ENGINEER SKILL

100× 工程师技能

No more "almost works" agentic coding

告别“差不多能用”的代理式编码

*100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code.I use it to ship over 1,000 PRs to production every month, with a rollback rate below 2%.*

*100x 是一项由前 Cursor 工程师开发的技能,可将提示词转化为经过形式化验证、可直接投入生产的代码。我每月用它向生产环境提交超过 1,000 个 PR,回滚率低于 2%。*

English · Español · 中文 · Português · Русский · 日本語 · Français · Deutsch · العربية · हिन्दी · 한국어 · Bahasa Indonesia · Türkçe · Tiếng Việt · বাংলা · Italiano · Polski · ไทย · Українська · Nederlands

> 100x engineer > /ˈwən ˈhən-drəd eks ˌen-jə-ˈnir/ > *noun* > > A software engineer said to possess the output of one hundred ordinary engineers, without the meetings, questions, or failing tests.

> 100x 工程师 > /ˈwən ˈhən-drəd eks ˌen-jə-ˈnir/ > *名词* > > 据说拥有相当于一百名普通工程师产出的软件工程师,且无需开会、答疑或处理失败的测试。

Your agent says it's done. You open it and it *kinda* works. It always looks fine, but it's never quite ready to ship.

你的代理说它完成了。你打开一看,它*勉强*能用。看起来总是没问题,但始终无法达到发布标准。

100x makes your coding agent solve the last 10% of development.

100x 让你的编码代理解决开发中最后 10% 的工作。

It splits the work into small blocks, formally verifies each one, then checks that the blocks work together.

它将工作拆分为小块,对每一块进行形式化验证,然后检查这些模块是否能协同工作。

136B tokens in 30 days · 1 engineer · Serious projects · Over 1,000 PRs · $250k cache savings

30 天内消耗 136B tokens · 1 名工程师 · 严肃项目 · 超过 1,000 个 PR · 节省 $250k 缓存费用

It is an open-source skill for Claude Code, Cursor and Codex. Give it one job, like adding a feature to your app or building a small app from scratch. It plans the work, builds it, polishes it and tests the part that matters most. A second AI model reviews it. You get a report with screenshots, test results and anything still open.

它是适用于 Claude Code、Cursor 和 Codex 的开源技能。给它一个任务,比如为你的应用添加功能或从零构建一个小应用。它会规划工作、构建代码、打磨细节并测试最关键的部分。第二个 AI 模型会对其进行审查。你会收到一份包含截图、测试结果以及所有待办事项的报告。

Formal verification, one small block at a time

逐步对每个小块进行形式化验证

Nobody formally verifies a whole app in one piece. But almost any well-designed software is made of small blocks, and a small block has things you can state exactly and check completely. 100x writes those down, checks every one, then checks that the blocks work together. It does this by default.

没有人会对整个应用一次性进行形式化验证。但几乎所有设计良好的软件都由小块组成,而小块具有可以精确陈述并完全检查的特性。100x 会将这些特性记录下来,逐一检查,然后验证模块间的协作。这是它的默认行为。

Six questions for every block

针对每个小块的六个问题

AskWhat you write down
Statewhat can exist
Transitionshow it can change
Preconditionswhen a step is allowed
Postconditionswhat is true after a step
Invariantswhat always holds
Livenesswhat must eventually happen, and what that assumes
提问你写下的内容
状态 (State)可能存在的状态
转换 (Transitions)状态如何变化
前置条件 (Preconditions)何时允许执行某一步骤
后置条件 (Postconditions)某一步骤完成后为真的内容
不变量 (Invariants)始终成立的内容
活性 (Liveness)最终必须发生什么,以及其假设前提

The prompt answers all six in plain sentences. Then 100x builds a small model that runs your real functions, and a checker visits every state the model can reach. When something breaks, it prints the shortest list of steps that gets there.

提示词用通俗句子回答这六个问题。然后 100x 构建一个运行你真实函数的小模型,检查器会访问该模型能到达的每一个状态。当出现问题时,它会打印出导致该问题的最短步骤列表。

Small blocks add up to a big system

小块累积成大系统

Each block is checked on its own, so a failure points at one small thing. The seams are checked too: what one block hands over has to meet the next block's rules. Then the real blocks run together in one model, and the checker visits every state of the whole. Checked blocks plus checked seams add up to software you can trust. The blocks do not prove the seams for free, so 100x checks both.

每个模块独立检查,因此失败能定位到具体细节。接口处同样进行检查:一个模块的输出必须符合下一个模块的规则。随后,真实模块在统一模型中联合运行,验证器遍历整个模型的所有状态。已验证的模块加上已验证的接口,构成了你可信赖的软件。模块不会免费证明接口的正确性,因此 100x 同时检查两者。

It stays true

它保持真实

The ledger is `verify/ledger.tsv`, in your repo, so it travels with every branch. Each row keeps a hash of the code it covers. Change that code and the row goes stale until someone reads the change, runs the check and syncs it. Every property has to fail once on a planted bug before it counts. `100x finish` refuses a property that is stale, broken or never failed. When an agent is about to touch code that no rule covers, `100x verify cover` answers `NO RULE`, and that starts the procedure.

账本文件为 `verify/ledger.tsv`,位于你的仓库中,因此它会随每个分支一起传递。每一行保存其所覆盖代码的哈希值。修改该代码后,该行将变为过期状态,直到有人读取更改、运行检查并同步更新为止。每个属性必须在植入的 bug 上至少失败一次才算数。`100x finish` 会拒绝过期、损坏或从未失败的属性。当智能体即将触碰没有任何规则覆盖的代码时,`100x verify cover` 返回 `NO RULE`,由此启动相应流程。

From a small tip splitter, run by hand in a scratch repo

从一个小型小费分摊器开始,在临时仓库中手动运行

What verified means here

此处“已验证”的含义

  • Exhaustive: every state of the model was visited, so the property holds for that model and its bounds - Bounded: the search hit a limit and found nothing in what it saw, which is not a proof, and liveness is never decided on it - Sampled: chosen or random cases, good at finding bugs and silent about the rest
  • 穷举:模型的每个状态都被访问过,因此该属性对当前模型及其边界成立 - 有界:搜索达到限制且在所见范围内未发现问题,这并非证明,且活性(liveness)从不据此判定 - 采样:选取或随机案例,擅长发现 bug,但对其余情况保持沉默

A pass covers the model and the real functions the checks run. Layout and copy have nothing to state, so they get a recorded waiver with a reason, and `100x finish` names the code each waiver excuses. To skip all of it, say `no verification` in the brief or run `100x config set verify.enabled false`. The report then says nothing was verified. The details.

一次通过(pass)覆盖模型及检查所运行的真实函数。布局和复制内容无需声明任何属性,因此它们获得带有理由的记录豁免,而 `100x finish` 会指明每项豁免所对应的代码。若要跳过全部验证,可在简报中注明 `no verification` 或运行 `100x config set verify.enabled false`。此时报告将显示无任何内容被验证。详情如下。

Why agents stop at "almost works"

为何智能体止步于“几乎能用”

Three things go wrong, and 100x has an answer for each. Every example below uses the same request:

会出现三种错误,而 100x 对每种都有应对方案。以下所有示例均使用相同的请求:

> Let me compare any stock with the S&P 500 in my stock market research app

> 在我的股市研究应用中,让我比较任意股票与标普 500 指数

1. Nobody wrote down what "works" actually means

1. 没人明确写下“能用”究竟意味着什么

The request is one line. Before it builds anything, 100x writes the prompt you would have written with an hour to spare. It sets the goal, the rules, the riskiest part, and how to check each ask. Here it spots the trap early: a stock split looks like a loss unless the chart adjusts for it.

请求仅一行。在构建任何东西之前,100x 会写出你原本需要花一小时才能写出的提示词。它设定目标、规则、最危险的部分,以及如何检查每一项需求。在此,它早早识破陷阱:除非图表对此进行调整,否则股票拆分会看起来像亏损。

Read the whole prompt

阅读完整提示词

2. The agent checks its own work

2. 智能体自行检查自己的工作

A model checking its own work misses its own mistakes. 100x has a second model review the code and the screens, in rounds. The builder fixes each finding or writes down why it disagrees. Here the prompt named the case of a newly listed stock and told the reviewer to press on it, but the builder's tests only used older stocks. The reviewer tried a stock listed this year and found the index line starting five months early.

一个模型检查自己的工作时会忽略自己的错误。100x 会安排第二个模型以轮次方式审查代码和屏幕截图。构建者修复每个发现的问题,或记录其不同意的理由。在此处,提示词命名了一只新上市的股票案例,并指示审查者对其进行测试,但构建者的测试仅使用了较旧的股票。审查者尝试了一只今年上市的股票,发现指数线提前了五个月开始。

That one is illustrated. A real one: this README went through 100x before you read it. Its reviewer flagged 9 problems in the first round, from 20 dead language links to labels too small for a phone. 7 were fixed and 2 waited for the public launch. Read what it found.

这一点已得到说明。一个真实的例子:在你阅读之前,这个 README 已经经过了 100x 的处理。它的审查者在第一轮中指出了 9 个问题,从 20 个失效的语言链接到手机上字体过小。其中 7 个已被修复,2 个留待公开发布时处理。看看它发现了什么。

3. The summary comes from memory

3. 摘要来自记忆

When an agent says "done", it reports what it remembers. 100x saves the evidence as it goes: screenshots, test output, the reviewer's findings. At the end, code writes the summary from those files, and `100x finish` refuses to write it while an ask has no evidence or a check is missing. This is the message at the end of the stock chart run. The research app is made up, so the run is illustrated.

当代理说“完成”时,它报告的是它所记得的内容。100x 在过程中保存证据:截图、测试输出、审查者的发现。最后,代码根据这些文件编写摘要,而 `100x finish` 会在存在无证据的请求或缺少检查项时拒绝写入摘要。这是股票图表运行结束时的消息。由于研究应用是虚构的,因此该运行过程附有插图。

The same message as plain text

与纯文本相同的信息

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件