全部文章
Technical skills

不懂技术栈,如何用 Claude 或 Gemini 设计技术面试问题

让 Claude 或 Gemini 围绕候选人做过的事出题,答案听一遍就能判断,不靠关键词筛选:通俗用语、术语对照表、转给工程师的清单。

  • Better hires
  • Consistent decisions
  • Fairer hiring

2026年10月2日 · 7 分钟阅读

提示词为英文:在各类AI工具中英文提示词效果最佳。

大多数招聘人员应该都有过这样的经历。候选人说:"我们把读请求从主库挪走了,还加了一个 partial index。"你点点头,在笔记里写下"数据库能力强",然后接着聊薪资。你根本不知道这是一个出色的回答,还是背熟的台词。工程师要到两轮面试之后才会发现,那时大家已经为此花掉了一个下午。

简短的答案: 让 Claude 或 Gemini 出的题,问的是候选人做过的事,而不是概念定义,难度要和岗位真正需要的深度相符。要求它用你在电话里能听出来的特征来描述好回答和差回答(有具体例子、有数字、说"我"还是说"我们"、有取舍、用大白话),给每个技术术语配一句话解释,并列出哪些情况要转给工程师。没有这些规则,我们测试的两个工具都会写出满篇工具名的"好回答":说白了就是披着评分标准外衣的关键词筛选。在别的平台上工作的优秀工程师,嘴里根本不会出现"Helm"。水平一般的人却可以把它背出来。

我不会写代码,真的能筛选工程师吗?

能,前提是你清楚自己要判断什么。不是判断代码,而是判断这段经历是否真实、是否是近期的、是否真的是他本人做的,以及深度是否达到岗位要求。如果是首席架构师或安全研究员,第一轮电话还是让工程师来打。

只粘贴岗位描述:不要简历,不要姓名,不要任何关于某个人的备注,这样每个人面对的筛选标准都是一样的。先问用人经理一个问题:这个人负责技术栈的哪些部分,哪些部分归其他团队?

这里的 Kubernetes 到底是什么意思?

我们虚构的测试岗位,是一家旅游公司支付团队的中级后端工程师,岗位描述里写得很清楚:

Ship your own services to our Kubernetes cluster and keep them healthy: deploy, read logs, roll back a bad release. A separate platform team owns and runs the cluster itself.

Kubernetes 是一套系统,负责把公司的软件跑在许多台服务器上,并在软件崩溃时自动重启。在这个岗位上,工程师是使用它,而不是开发它。所以"请解释流量是如何到达 pod 的"是个错误的问题,和任何候选人花两分钟就能背下来的内容一样没用。在 Amazon ECS 或 Google Cloud Run 上做过同样工作的人,也应该通过。

我到底该输入什么?

四个带标签的部分。CONTEXT 下面的规则是让答案能被你判断的关键,所以换成新岗位时也要保留。

PERSONA
You are a senior backend engineer who coaches non-technical recruiters. You write screening questions a recruiter can ask and judge without knowing how to code.

TASK
Write 6 phone-screen questions for the job below, one or two per must-have. For each question, describe what a good answer and a weak answer sound like, in words a person with no technical background can hear and check.

CONTEXT
Job description:
[paste the job description, including which team owns what]

Rules:
- Ask about things the candidate has done ("Tell me about a time..."), not definitions. No trivia: if the answer can be memorized from a search in 2 minutes, don't ask it.
- Match the depth to the job as written. If a team or tool is owned by someone else, don't test it.
- A candidate who used a similar tool (another language, another database, another container platform) must be able to answer.
- Good and weak answers are described by things the recruiter can hear: a specific example, numbers, what they did themselves versus what "we" did, a trade-off, what went wrong, plain words when asked to explain. Do not describe a good answer by technical terms the recruiter must already understand.
- For every technical word in a question or answer guide, add a one-line meaning in plain English.
- If a question can only be judged by an engineer, say "pass this to the engineer" instead of writing an answer guide.
- Never ask about age, family, health, religion, nationality or anything else not about the job. For on-call, ask only whether the candidate can do the rotation as described for everyone.

FORMAT
For each question: the question, why it matters (one line), what a good answer sounds like (3 bullets), what a weak answer sounds like (2 bullets), one follow-up probe.
Then a glossary of every technical term used, one line each.
Then a short list: "What to pass to the engineers".

测试时,我们粘贴了完整的岗位描述:Go、在假期高峰时变慢的 PostgreSQL、Kubernetes、轮值待命,以及向财务部门解释技术决策。

这些工具错在哪里?

我们先发了一个普通的提示词,也就是我们大多数人会输入的那种:"我是招聘人员,不懂技术……请用通俗的话告诉我,好回答和差回答听起来是什么样的。"我们把它发给了 Claude(Opus 5.5),以及通过 API 调用的 Gemini 3.8 Flash。两者在回答指南里都没有做到"通俗用语"这个要求。

针对数据库变慢这个问题,Gemini 的好回答写道,候选人会说明自己如何"用监控工具、查询日志或 EXPLAIN 执行计划"找到问题,并指出原因,即"缺少索引、写得很差的 join"。Claude 关于数据库变慢的指南更直白:"你可能会听到这些词:index、query plan、EXPLAIN、PostgreSQL、MySQL。你不需要知道它们是什么意思。如果它们出现在一个具体的故事里,就是好信号。"

用上我们的规则提示词后,同样的指南逐条发生了变化:

普通提示词认为好回答…… 规则提示词认为好回答……
提到"EXPLAIN 执行计划"(Gemini) 给出"前后对比的数字('预订页面从 8 秒降到了不到半秒')"(Claude)
用"Kubernetes、Docker、ECS 或 Helm 之类的工具"上线(Claude) "自己完成了发布,而不是交给别的团队"(Claude)
提到"idempotency"(Gemini) "说'我'而不是'我们'"以及"自然地提到真实数字"(Gemini)

我们用脚本统计了好回答指南里出现的工具名和技术名称,岗位描述里已有的除外:普通提示词下每个工具是 12 个,用了规则后分别是 0 个和 1 个。

好回答指南中出现的工具名和技术名称(岗位描述中已有的除外)
普通提示词规则提示词ClaudeClaude: 普通提示词 12, 规则提示词 012 → 0GeminiGemini: 普通提示词 12, 规则提示词 112 → 1

Gemini 的 12 个中,有两个出现在要避免的术语示例里。它的那 1 个是 "index",其术语表有解释。

Source: 我们的测试(Claude Opus 5.5、Gemini 3.8 Flash),由脚本统计

Show the data
普通提示词规则提示词
Claude120
Gemini121

这是 Claude 规则版本运行出的一道完整的题,未经修改,术语注释已精简:

Ask: "Tell me about a time part of your application got slow because of the database. How did you find the cause, what did you change, and how much faster did it get?"

A good answer sounds like:
- Before and after numbers ("the bookings page went from 8 seconds to under half a second").
- Steps in a clear order: noticed the problem → measured it → found the specific cause → changed it → checked it worked.
- They did the investigation themselves and can say what the cause was in a sentence or two, even if you don't follow every word.

A weak answer sounds like:
- Someone else found the fix ("the database admin handled it"), or the only fix was spending more money ("we just bought bigger servers").
- No numbers and no steps: "I optimized it and it was faster."

Follow-up probe: "How did you know the fix actually worked, and did it cause any new problem?"

Pass to the engineer: whether the cause they found and the fix they chose were the right ones.

Maya 手捧一本打开的常用语手册,把一团乱麻似的代码符号变成清晰的对话气泡

如果对方说的我完全听不懂怎么办?

这正是"转给工程师"清单的用途,也是 Gemini 即使有规则也出了问题的地方。它的清单让我们对"B-Tree vs. GIN index"、"pod resource limits、ingress controllers 或 network policies"以及"Go channels、mutex locks"这类回答做标记。你听不出来的东西,是没法标记的。

所以我们让它修改这份清单:

Your "What to pass to the engineers" list uses words I would not recognize on a call (for example index types or Kubernetes settings). Rewrite it as things I can hear and write down without knowing the terms.

只改好了一半。"两个客户在同一毫秒点下'购买'的故事",你是能听懂的。"OOMKilled(读音近似'zoom-killed')"仍然是一个要死记的词。但底层的原则依然成立:听不懂的时候,把对方的原话记下来,交给工程师判断。

还有两条。第一条是在普通提示词运行之后发出的:

Re-read your answer guides. List every word or name in them that I, a non-technical recruiter, could not check by ear on a phone call. For each, either rewrite the line in plain words, or move it to a list called "For the engineers".
For each question, which must-have in the job description does it test? Mark any question that tests a nice-to-have or a skill another team owns.

Claude 把"Kubernetes、Docker、ECS、Helm"挪到了转给工程师的清单里。Gemini 的清单里仍然有"kubectl rollout undo"和"YAML manifests"。

第二条是在两个工具给出普通提示词的回答之后发给它们的。它针对的是我们看到的跑偏:两组普通提示词的结果都在支付上花了一道题,而这只是加分项。现在两者都把这道题标为加分项,Claude 还说"不要仅仅因为这里回答得弱就淘汰任何人"。两者也都指出,Kubernetes 那道题已经接近平台团队的工作范围。但两者都没有删掉支付那道题,而且 Gemini 把轮值待命称为"一票否决项",还包括拒绝到办公室上班,而这根本没有人问过。

这些问题会不会不公平?

  • 把工具名当作及格线。 删掉任何依赖产品名称的好回答。
  • 轮值待命,问法不对。 Gemini 规则版本把"毫不犹豫的明确'是'"算作好回答。犹豫可能出于任何原因,包括家庭,而这是你不能深究的。Claude 的规则版本这一点做对了:"只记录是或否,不要问为什么。"按岗位写明的轮值待命条件,用同样的方式问每一个人,并把回答与评分分开记录。
  • 岗位并不要求的经验。 这个岗位并不要求有过轮值待命经验。Gemini 的普通版本仍把"有实际的轮值待命经验"算作好回答,而 Claude 的版本把"从没轮值待命过,而且似乎不太愿意开始"标为差回答,把经验和抵触混在了一起。即使有规则,Gemini 还是问了"你以前参加过 on-call rotation 吗"。
  • 你的笔记变成了决定。 记录对方说了什么,而不是"数据库能力强"。是由人来决定谁进入下一轮。如果招聘或 AI 方面的法规适用于你,请咨询律师;这不是法律意见。

Claude 的轮值待命问法,对每个人都用同样的方式问:

Everyone on the payments team takes part in an on-call rotation for the payment services. [Recruiter: insert the team's standard schedule, e.g., one week every X weeks, plus how it's compensated.] Are you able to take part in that rotation?

下一步: 如果要为后面的几轮面试准备对所有人都相同的问题和评分表,请看用 AI 设计结构化面试问题。还在决定该联系谁?先从用 AI 筛选简历开始。

This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.

继续阅读