我的第一个开源 PR 被关掉了My first open-source PR got closed
我和 AI 一起给一个开源项目提了 PR,当晚就被维护者关掉了。回头看,问题不在 AI 会不会写代码,而在我自己有没有判断。I opened a pull request on an open-source project together with an AI, and the maintainer closed it the same evening. Looking back, the problem wasn’t whether the AI could write code — it was whether I had any judgement of my own.
发生了什么What happened
我想找一个项目和 AI 一起做。在 IF.Lab 的项目广场上,我选中了 Vibe-Resume:一个用 HTML/CSS 写简历、再让 AI 帮你改的开源工作流,在 GitHub 上有 700 多颗星。I wanted to find a project to work on with AI. On the IF.Lab project board I picked Vibe-Resume: an open-source workflow where you keep your résumé in HTML/CSS and let an AI edit it, with 700+ stars on GitHub.
我和 Claude 一起提了两个 PR:Together with Claude, I opened two pull requests:
- PR #7:新增一个英文单页简历模板。项目里原有的模板都是中文的,我觉得补一个英文版会有用。PR #7: a new English one-page résumé template. All the existing templates were Chinese, so I thought an English one would be useful.
- PR #8:加上 GitHub Actions 自动测试。PR #8: a GitHub Actions workflow that runs the tests automatically.
维护者先在 PR #7 下让我补截图。我补上了。当天晚上,维护者把 PR #7 关掉了,意见大意是:作为英文模板,它不符合美学设计,英文简历不适合这样的排版和密度;我只是把原来的模板翻译成了英文,是一次没有价值的增量更新。维护者建议我去看看海外名校硕博申请时用的英文简历。The maintainer first asked me to add screenshots to PR #7, and I did. That evening they closed it. Their point, roughly: as an English template it didn’t meet the design bar — English résumés don’t suit that layout or density; I had simply translated the original template into English, which added nothing of value. They suggested I look at the English CVs that applicants to top overseas master’s and PhD programmes actually use.
回头看,问题出在哪Looking back: what went wrong
维护者说得对。我把模板和真正的英文简历放在一起比,差别一眼就能看出来:They were right. Put the template next to real English CVs and the difference is obvious:
- 我的模板沿用了中文模板的视觉风格:每个章节都有图标和渐变色横线,教育经历放在带底色的方框里,联系方式做成一个个小按钮。My template kept the Chinese template’s visual style: an icon and a gradient rule for every section, education in a shaded box, contact details as little pill buttons.
- 常见的英文简历恰恰相反:单栏,黑白为主,几乎不用图标和色块,章节之间只有一条细线,行距更紧,一页里装的信息更多。Typical English CVs are the opposite: a single column, mostly black and white, almost no icons or colour blocks, a thin line between sections, tighter spacing and much more on one page.
我改动的只是“去掉照片”“日期右对齐”这样的小地方,没有回答最核心的问题:一份好的英文简历应该长什么样?而这个问题,我自己在提交之前根本没有想过。All I changed were small things like dropping the photo and right-aligning dates. I never answered the central question: what does a good English CV look like? And I hadn’t even asked myself that before submitting.
我的感悟What I took away
提交 PR 的时候,我只沉浸在 AI 的能力里,认为只要通过 AI,就可以做好一个项目。可那时我对这个项目并不怎么了解,甚至不知道英文简历应该长什么样。AI 也没有检查出来。When I submitted the PR, I was caught up in what the AI could do. I believed that with AI, I could do a project well. But I didn’t really understand the project — I didn’t even know what an English résumé should look like. And the AI didn’t catch it either.
事后我问 Claude 怎么看,它承认:补截图的时候,它确认的是“渲染正常、PDF 只有一页”,从来没有问过“这是一份好的英文简历吗”。它检查的是“做出来了没有”,而不是“做得对不对”。Afterwards I asked Claude about it, and it admitted that when it took the screenshots, it checked that the page rendered and the PDF was one page — it never asked whether this was a good English résumé. It checked whether the thing was done, not whether it was right.
用 AI 做项目,重要的在于:使用者需要知道怎样才能用好 AI,去做出自己想要的东西;需要对项目有自己的判断。When you build with AI, what matters is that you know how to use it well to make what you actually want — and that you have your own judgement about the project.
使用者要负责什么What the human is responsible for
AI 最擅长的,是“给定一个标准,很快做出符合标准的东西”。最容易缺的,是“在这个领域里,什么才算好”这个标准本身。这一次,标准从一开始就错了:我把“把中文模板做成英文版”当成了目标。之后执行得再快、测试写得再全,也只是在错误的方向上走得更远。AI is best at taking a standard and quickly producing something that meets it. What tends to be missing is the standard itself — what counts as good in this field. This time the standard was wrong from the start: I made “turn the Chinese template into an English one” the goal. After that, however fast the work went and however thorough the tests were, we were just going further in the wrong direction.
但我不觉得结论是“AI 靠不住,只能靠自己”。判断力也可以借助 AI 去积累,只是我跳过了这一步。动手之前,我本可以先让 AI:But I don’t think the conclusion is “AI can’t be trusted, rely only on yourself.” You can use AI to build judgement too — I just skipped that step. Before writing any code, I could have asked it to:
- 找十几份海外硕博、欧美求职用的真实英文简历,和中文简历逐项对比;collect a dozen real English CVs used for overseas graduate applications and Western job hunting, and compare them with Chinese résumés point by point;
- 读一读这个仓库已经合并的 PR 和维护者说过的话,看维护者在意什么;read the repository’s merged PRs and what the maintainer has said, to see what they care about;
- 先拿出两三种设计方向让我选,确定了再写代码。sketch two or three design directions for me to choose from before writing anything.
所以我现在的理解是:用 AI 做项目,使用者要负责的不是每一行代码,而是问对问题、定对标准、最后亲自验收。AI 可以帮我建立判断,但它代替不了我去做判断。So here’s how I see it now: when you build with AI, you aren’t responsible for every line of code. You’re responsible for asking the right questions, setting the right standard, and checking the result yourself. AI can help me build judgement, but it can’t make the judgement for me.
一个对照A comparison
同一批里的 PR #8 方向就是对的。它补的是项目里真实存在的缺口:原来的 35 项测试里,有 20 项因为没有配置浏览器而一直被跳过;加上工作流之后,35 项全部能跑通。这是一个能被验证的结果,不存在“审美对不对”的问题。(写这篇文章时,它还在等维护者处理。)PR #8, from the same batch, went in the right direction. It filled a real gap: 20 of the project’s 35 tests were always skipped because no browser was configured; with the workflow, all 35 run and pass. That’s a result you can verify, with no question of taste. (As I write this, it’s still waiting for the maintainer.)
两个 PR 都是和 AI 一起写的,差别不在“用不用 AI”,而在动手之前有没有先弄清楚:这个项目缺什么,什么才算好。Both PRs were written with AI. The difference wasn’t whether AI was used — it was whether I first understood what the project needed and what “good” meant.
还没想明白的:中间那个黑箱What I haven’t figured out: the black box in the middle
目前我做项目的方式,可以概括成三步:有一个想法 → 交给 agent → 得到结果。Right now, the way I build things comes down to three steps: have an idea → hand it to an agent → get a result.
我能掌握的只有两头:开头告诉它我想要什么,最后看它做出来的东西。中间的过程——它怎么理解我的需求、查了哪些资料、在几种做法之间怎么取舍、为什么最后做成这样——对我来说还是一个黑箱。我看不到它在里面做了哪些决定,也不知道自己应该在什么时候、以什么方式插手。I only control the two ends: at the start I say what I want, and at the end I look at what it made. Everything in between — how it understood my request, what it looked up, how it chose between approaches, why it ended up the way it did — is still a black box to me. I can’t see the decisions it makes in there, and I don’t know when or how I should step in.
PR #7 的问题就出在这个黑箱里。我的想法是“给项目补一个好用的英文模板”,可在中间某一步,目标悄悄变成了“把现有的中文模板改成英文”。这个偷换发生的时候我没有察觉,直到维护者指出来,我才意识到。PR #7 went wrong inside that box. My idea was “give the project a good English template”, but somewhere in the middle the goal quietly became “turn the existing Chinese template into English”. I didn’t notice the switch when it happened — I only realised once the maintainer pointed it out.
所以,我现在真正还不会的,不是写代码,而是这个问题:So what I genuinely don’t know how to do yet isn’t coding. It’s this:
在“想法”和“结果”之间,我应该在哪些节点停下来,看什么、问什么、做什么决定,才能让最后的结果更接近我真正想要的?Between the idea and the result, at which points should I stop — and what should I look at, ask and decide there — so that the result ends up closer to what I really want?
我还没有答案。我现在的猜测是把黑箱拆开:不再只说一句需求就等结果,而是让 agent 每走一段就交出一样我能检查的东西——比如它对需求的理解、调研到的参考、几个可选的方案、验收的标准——由我在这些节点上做判断。这个做法有没有用,我会在下一个项目里试一试,再来写。I don’t have an answer yet. My current guess is to open the box up: instead of giving one sentence and waiting for a result, have the agent hand me something I can check after each stretch of work — its understanding of the request, the references it found, a few possible approaches, the criteria for “done” — and make the call myself at those points. Whether that actually helps, I’ll try on my next project and write about it.
被关掉也有价值Getting closed was worth it
很多第一次给开源项目提的 PR,根本没人回应。这次维护者明确告诉了我他们的标准,还给我指了参考的方向。这比一个被悄悄合并的 PR 教会我的更多。Plenty of first-time pull requests never get a reply at all. This maintainer told me exactly where the bar was and pointed me to where to look. That taught me more than a quietly merged PR would have.
下一次,我会先弄清楚“好”长什么样,再让 AI 动手。Next time, I’ll work out what “good” looks like first — and only then let the AI start.