全部文章
Analytics

如何用 Claude 或 Gemini 在表格中统一岗位名称(职位标准化)

只给 Claude 或 Gemini 去重后的职位+部门组合、封闭的职类清单和 NEEDS REVIEW 选项。3 条无法判断的记录,Gemini 擅自猜了 2 条。

  • Saves time
  • Consistent decisions

2026年10月12日 · 4 分钟阅读

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

"Software Engineer: 41. software engineer: 3. Sofware Engineer: 1. SW Eng. II: 6. מפתח/ת Full Stack: 5."

这是一份虚构的五年招聘表做出来的数据透视表。同一个职类出现了五种写法,没人说得清到底招了多少工程师。

**简短回答:**不要把整张表的行直接发给 Claude 或 Gemini。只发去重后的"职位+部门"组合,附上一份封闭的职类清单,再加一条规则:遇到无法判断的组合,就写 NEEDS REVIEW。之后用查找公式把职类带回原表。我们各跑了一次,两个工具都完整保留了全部 30 个组合,但在我们特意设计成无法判断的三行里,Gemini 对其中两行做了猜测。

136 个入职记录变成 30 个问题

  1. 删掉职位和部门以外的所有列:姓名、薪资、入职日期、招聘负责人、渠道。工具用不到这些。
  2. 对这两列使用 UNIQUE,或者做数据透视表。
  3. 给每个组合加上计数。

我们的虚构表格从 136 行缩成了 30 个组合。部门很重要:"Analyst"在 Finance 和在 Data 属于两个职类,Product 的"PM"也不等于 Operations 的"PM"。

我们使用的提示词

PERSONA
You are a recruiting operations analyst preparing five years of hiring data for a report by job family.

TASK
Build a mapping table that assigns every unique job title below to exactly one job family from the closed list. Do not rewrite the data itself; I will look up each row in my spreadsheet using your table.

CONTEXT
Job families (use only these, spelled exactly like this):
[your family list, for example: Software Engineering, Data & Analytics, Product Management, Design, Sales, Customer Success & Support, Marketing, People & HR, Finance, Operations]

Rules:
- Use the department as well as the title. The same title in two departments can belong to two families.
- Copy original_title and department exactly as given, character for character, including spaces, typos, capitals and non-English text. My lookup breaks if you change them.
- Keep every row. Do not merge rows that look like duplicates.
- If the title and department together do not decide the family, write NEEDS REVIEW in the job_family column and say what is missing. Do not guess.
- Ignore seniority. Seniority is not a job family.

FORMAT
1. A CSV code block with the columns: original_title,department,job_family,reason
   The reason is at most 10 words.
2. Below it, a short list of the rows you marked NEEDS REVIEW and the one question that would decide each.

Titles (original_title,department,rows):
[paste your unique pairs]

这段文字原样粘贴给了 Gemini(3.8 Flash,通过开发者 API),又单独粘贴到一个全新的 Claude Opus 5.5 命令行会话中,每个工具各跑一次。30 个组合里埋了这些情况:一个拼写错误、一个末尾空格、一个希伯来语职位、两行"Analyst",以及三行没人能判断的记录。

两个答案的分歧在哪里

脚本检查显示,两者都保留了全部 30 行,每个职位名称都原样照抄(希伯来语和末尾空格也一样),并且只用了那 10 个职类。分歧出现在我们埋下的那几行:

行 Claude Gemini
PM, Operations(2 人入职) NEEDS REVIEW:"可能是产品经理,也可能是项目经理" Operations:"运营方向的项目管理岗位"
Team Lead, R&D(3 人入职) NEEDS REVIEW:"只有级别,没有职能" Software Engineering
Intern,无部门(4 人入职) NEEDS REVIEW NEEDS REVIEW
无法判断、退回人工复核的行
ClaudeClaude, run 1: 转人工复核Claude, run 2: 转人工复核Claude, run 3: 转人工复核3 of 3GeminiGemini, run 1: 转人工复核Gemini, run 2: 擅自猜了职类Gemini, run 3: 擅自猜了职类1 of 3转人工复核擅自猜了职类

Source: 我们的测试,每个工具各跑一次,30 个虚构的职位+部门组合,由脚本计数

Show the data
转人工复核Total
Claude33
Gemini13

Gemini 的猜测听上去合情合理,问题恰恰在这里:理由写得通顺,就没人会去核对。两行、五个人,悄悄换了职类。

只有一个工具承认的四个判断

两个工具做出了同样的四个判断,但只有 Claude 把它们标了出来:

职位 两个工具都选了 有些公司会归到
Solutions Engineer (Sales) Sales Software Engineering
Account Manager (Customer Success) Customer Success & Support Sales
Payroll Specialist (HR) People & HR Finance
Sr. QA Automation (R&D) Software Engineering 单独的 QA 职类

风险较高的行有:只有级别的职位、PM 这类缩写,以及介于两个职类之间的岗位。谁在报告上签字,这些判断就由谁负责。

把职类带回原表

把 CSV 粘贴到名为 Map 的工作表里,检查带末尾空格的行和希伯来语的行是否完好。在两个工作表中各加一列关联键,把职位和部门拼在一起,例如 =A2&"|"&B2。然后在你的入职记录表里:

=XLOOKUP(D2, Map!E:E, Map!C:C, "UNMAPPED")

D 和 E 就是两列关联键。做图表之前,先筛选出 UNMAPPED 和 NEEDS REVIEW。UNMAPPED 说明模型或粘贴操作改动了某个职位名称。

NEEDS REVIEW 的行,请对照组织架构或问用人经理来确定,不要再去问模型,并把 Map 工作表留到明年继续用。

**下一步:**如果你要的不只是职类,还有规范的职位名称,请看如何标准化混乱的职位名称。在把报告交给管理层之前,先读为什么聊天机器人会在招聘漏斗报告里编造数字,并把计数工作留在表格里完成。

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.

继续阅读