diff --git a/CONTEXT.md b/CONTEXT.md index 6d2b562..3ca9a2d 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -24,21 +24,25 @@ _Avoid_: database of record **Source**: One raw input about a Candidate, such as a note, work log, photo, existing -resume, GitHub repository, or the user's answers to follow-up questions, kept -under `sources/` with an evidence level: documented, third-party, or -self-reported. Identified by `s-`. +resume, GitHub repository, issue or pull request text, or the user's answers to +follow-up questions, kept under `sources/` as received, never edited, with an +evidence level: documented, third-party, or self-reported. Identified by +`s-`. _Avoid_: attachment, upload **Fact**: -One statement about a Candidate's experience, skill, or achievement that cites -the Source it came from. An inferred Fact is drawn from other Facts instead, -and is usable in resumes only after the user confirms it. Identified by -`f-`. +One claim about a Candidate's experience, project, achievement, skill, +education, or certificate that cites the Source it came from. Implementation +details that support a claim stay in the Source and are never Facts of their +own. An inferred Fact is drawn from other Facts instead, and is usable in +resumes only after the user confirms it. Identified by `f-`. _Avoid_: claim, info, data point **Import report**: -The result of importing one Source: Facts extracted, missing fields, -conflicts, rejected content, proposed Tags, and follow-up questions. +The result of importing one Source: the agent's analysis of it, including the +arithmetic behind any converted number, Facts extracted, missing fields, +conflicts, rejected content, proposed Tags, and follow-up questions. Everything +the agent works out from a Source lives here, never in the Source. _Avoid_: import log, quality report **Tag**: @@ -58,7 +62,9 @@ _Avoid_: dictionary, translation memory **Strategy**: The Candidate's current plan: which Roles to pursue and in what order, -positioning, and what to strengthen. Updated from Feedback. +positioning, what to strengthen, and the rules for writing resumes, including +what to leave out. It comes before every Role profile and resume. Updated from +Feedback. _Avoid_: plan, roadmap **Role**: @@ -136,9 +142,11 @@ sourced Facts, each line citing the Facts it comes from. _Avoid_: CV variant, generated resume **Feedback**: -One piece of input about how an Application went, from HR, an interviewer, the -Candidate, or the user, with its cause: skill gap, experience, communication, -salary, culture fit, or resume presentation. +One piece of input about how an Application went, or about the Master resume, +from HR, an interviewer, the Candidate, or the user, with its cause: skill gap, +experience, communication, salary, culture fit, or resume presentation. The +user's critique of a resume is Feedback, and the Strategy rule it leads to +cites it. _Avoid_: comment, note **Fix direction**: diff --git a/README.md b/README.md index 413ed04..fb8bd18 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ A job search piles up more than anyone can keep straight: old resumes, notes, wo ## Features -- **Candidate database** — Hand it anything about a candidate: notes, work logs, photos, existing resumes, GitHub repos. It checks each piece for missing details, vague claims and contradictions, asks follow-up questions, and tags every fact from a shared bilingual taxonomy. Every fact keeps a link to its source, and nothing is filled in without your confirmation. Create, read, update and archive candidates; search candidates and facts by skill, industry, seniority, years of experience, evidence or status. -- **Role profiles** — One candidate can pursue several roles at once, such as backend engineer and tech lead. For each role it lists the requirements, links the facts that support each one with a reason, and names the gaps: no evidence, only unconfirmed inferences, or only self-reported evidence, each with a way to close it. When facts change, it tells you which profiles are out of date. Search candidates by role, by required skill, or by roles with no must-have gaps. +- **Candidate database** — Hand it anything about a candidate: notes, work logs, photos, existing resumes, GitHub repos with the text of their issues and pull requests. Each source is kept exactly as received, and everything worked out from it, such as a summary or a converted number, goes into that source's import report. It checks each piece for missing details, vague claims and contradictions, asks follow-up questions, and tags every fact from a shared bilingual taxonomy. Every fact keeps a link to its source, and nothing is filled in without your confirmation. Each kind of information has one home, and decisions about a candidate live in the data folder rather than in any agent's memory, so every session follows the same rules. Create, read, update and archive candidates; search candidates and facts by skill, industry, seniority, years of experience, evidence or status. +- **Role profiles** — One candidate can pursue several roles at once, such as backend engineer and tech lead. For each role it lists the requirements, links the facts that support each one with a reason, and names the gaps: no evidence, only unconfirmed inferences, or only self-reported evidence, each with a way to close it. Each profile's positioning follows the candidate's strategy. When facts or the strategy change, it tells you which profiles are out of date. Search candidates by role, by required skill, or by roles with no must-have gaps. - **Job reading** — Give it jobs in any form: a listing or job link from 104, CakeResume, Yourator, a company careers page or LinkedIn, a PDF or HTML file, a screenshot, or copied text, one job or many. It reads the listing, screens the titles, then reads each job in full and saves a snapshot: must-haves, nice-to-haves, duties, salary and location, with requirements tagged from the same taxonomy as candidate facts. Yourator and careers pages are read directly, following each site's robots.txt. 104 and CakeResume block automated requests, so the skill guides you instead: scroll the search results until every job has loaded, copy the page and paste it, and job pages are read in your browser or from text you copy. LinkedIn is read only from your signed-in browser or pasted text. - **Job evaluation** — For one candidate, or across your whole database: it finds the candidates whose roles fit a job and evaluates each against the role that fits, or against all of the candidate's facts when none does, then offers to create a role from the job. Each evaluation gives a fit score from a fixed rubric (skill overlap, seniority, industry and domain, achievements, salary, location and work mode), reasons tied to specific facts and job requirements, gaps and risks with how to close them, and a high / medium / low success rating with its reasons. Failing a hard requirement, such as minimum years or a required degree, lowers the rating by one level. Requirements that keep appearing in the jobs evaluated under a role are proposed as changes to that role, applied only when you accept them. - **Master resume** — One complete Chinese and English resume per candidate, kept for your own review rather than sent. It writes out every fact with a source in full: a summary, grouped skills, highlights when the strategy asks for them, then each job with what the organization is, the candidate's scope, achievements grouped by project, each one event told as the problem, the decision, the action and the measured result, and the tools used, followed by projects, education, certificates and training, awards and publications, and languages. The candidate's strategy decides what it leads with. Every fact is either written or left out by a strategy rule that names it, so the file doubles as a readable overview of the candidate's facts. Whatever is missing, such as a result or a team size, is marked in place with the follow-up question that asks for it, and you are told when new or changed facts, or a changed strategy, leave it out of date. -- **Tailored resumes** — A Chinese and an English resume for each evaluated application, in Markdown and PDF. Each starts from the profile of the role the job was evaluated under, follows the resume decisions recorded in the candidate's strategy, such as which title to use or which experience to leave out, puts the most relevant facts first, and uses only facts with a source: every line names the facts it comes from, numbers must match them, skills the candidate lacks stay out, and companies, titles and schools always get the same English names from the candidate's glossary. The PDFs are printed with Chrome, Chromium or Edge, and their text copies cleanly into applicant tracking systems. +- **Tailored resumes** — A Chinese and an English resume for each evaluated application, in Markdown and PDF. Each starts from the profile of the role the job was evaluated under, follows the resume decisions recorded in the candidate's strategy, such as which title to use or which experience to leave out, which win over the profile when the two disagree, puts the most relevant facts first, tells each achievement as one story about one event, and uses only facts with a source: every line names the facts it comes from, numbers must match them, skills the candidate lacks stay out, and companies, titles and schools always get the same English names from the candidate's glossary. The PDFs are printed with Chrome, Chromium or Edge, and their text copies cleanly into applicant tracking systems. - **Application tracking** — Every candidate × job pair moves through stages (found → evaluated → preparing → applied → interview rounds → offer → closed), with a dated timeline, each interview round recorded separately, and a next step with a due date while it is open. It lists overdue follow-ups across all candidates, shows progress by candidate, role, job and company, and records how each closed application ended: hired, declined, rejected or withdrawn. -- **Feedback loop** — Log feedback from HR, interviewers, the candidate and yourself, with a cause and a concrete fix, and track each fix until it is done; a fix that produces new material, such as a portfolio piece, ends with importing it as a source. Causes that recur across a candidate's applications or under one role turn into proposed changes to the strategy, role profiles and resumes, applied only when you agree. What feedback says about a company builds up into company notes across candidates. Closed applications are compared with their success ratings to show where the scoring over- or under-estimates, and any rubric change stays your decision. +- **Feedback loop** — Log feedback from HR, interviewers, the candidate and yourself, with a cause and a concrete fix, and track each fix until it is done. Your own critique of a resume, tailored or master, is logged the same way, and the strategy rule it leads to points back to it; a fix that produces new material, such as a portfolio piece, ends with importing it as a source. Causes that recur across a candidate's applications or under one role turn into proposed changes to the strategy, role profiles and resumes, applied only when you agree. What feedback says about a company builds up into company notes across candidates. Closed applications are compared with their success ratings to show where the scoring over- or under-estimates, and any rubric change stays your decision. ## Install diff --git a/README.zh-TW.md b/README.zh-TW.md index bb186f3..7102cae 100644 --- a/README.zh-TW.md +++ b/README.zh-TW.md @@ -12,14 +12,14 @@ ## 功能 -- **候選人資料庫**:關於候選人的任何資料都能交給它:筆記、工作紀錄、照片、舊履歷、GitHub repo。它會檢查每份資料缺了哪些細節、哪些描述太模糊、和既有資料有沒有矛盾,提出追問,並用共用的中英標籤分類每一條事實。每一條事實都保留出處,沒有你確認不會自行補上內容。支援新增、查看、更新、封存,可依技能、產業、職級、工作年資、證據強度或狀態查詢候選人和事實。 -- **角色檔案**:一位候選人可以同時鎖定好幾個角色,例如後端工程師和技術主管。每個角色會列出條件,把支持每條條件的事實連結起來並說明理由,同時指出缺口:沒有證據、只有未確認的推論,或只有自述的證據,每個缺口都附上補強方式。事實有變動時,會告訴你哪些角色檔案需要更新。可以依角色、要求的技能,或必備條件沒有缺口的角色來查詢候選人。 +- **候選人資料庫**:關於候選人的任何資料都能交給它:筆記、工作紀錄、照片、舊履歷、GitHub repo,以及其中 issue 與 pull request 的原文。每份資料來源都照原樣保存,從中整理出的內容,例如摘要或換算後的數字,都寫進該來源的匯入報告。它會檢查每份資料缺了哪些細節、哪些描述太模糊、和既有資料有沒有矛盾,提出追問,並用共用的中英標籤分類每一條事實。每一條事實都保留出處,沒有你確認不會自行補上內容。每一種資訊只有一個存放位置,關於候選人的決定都記在資料夾裡,不放在任何 agent 的記憶中,所以每次對話都遵守同一套規則。支援新增、查看、更新、封存,可依技能、產業、職級、工作年資、證據強度或狀態查詢候選人和事實。 +- **角色檔案**:一位候選人可以同時鎖定好幾個角色,例如後端工程師和技術主管。每個角色會列出條件,把支持每條條件的事實連結起來並說明理由,同時指出缺口:沒有證據、只有未確認的推論,或只有自述的證據,每個缺口都附上補強方式。每個角色檔案的定位都依照候選人的求職策略。事實或求職策略有變動時,會告訴你哪些角色檔案需要更新。可以依角色、要求的技能,或必備條件沒有缺口的角色來查詢候選人。 - **讀取職缺**:職缺可以用任何形式交給它:104、CakeResume、Yourator、企業官網或 LinkedIn 的列表或職缺網址、PDF 或 HTML 檔、截圖,或複製的文字,一個或一批都可以。它會先讀標題粗篩,再逐一讀取完整職缺內容並存成快照:必備條件、加分條件、工作內容、薪資與地點,條件會用和候選人事實相同的標籤分類。Yourator 和企業官網直接讀取,並遵守各網站的 robots.txt。104 和 CakeResume 會擋自動化請求,所以改由 skill 引導你:把搜尋結果捲到所有職缺都載入、複製整頁貼上,職缺頁則從你的瀏覽器讀取或用你複製的文字。LinkedIn 只讀你已登入瀏覽器中開啟的頁面或你貼上的文字。 - **職缺評估**:可針對一位候選人,或從整個資料庫找出角色符合職缺的候選人,並依符合的角色評估;沒有符合的角色時,改用候選人的全部事實評估,並提議從這個職缺建立新角色。每份評估依固定評分標準(技能重疊、職級、產業與領域、成就、薪資地點與工作模式)給出適合度分數,推薦原因會對應到具體的事實和職缺條件,列出缺口與風險及補強方式,並給出高/中/低的成功率等級與理由。不符合硬性條件(例如最低年資或指定學歷)時,等級降一級。同一角色下評估過的職缺若反覆出現同樣的條件,會提議加進該角色,經你同意才套用。 - **完整版履歷**:每位候選人一份中文與英文的完整履歷,留給你自己查閱,不拿去投遞。它把每一條有出處的事實完整寫出:摘要、分組的技能、求職策略要求時才有的核心亮點,接著每段經歷寫出這個組織在做什麼、候選人負責的範疇、依專案分組的成就(每則只講一件事,寫出問題、判斷、做法與附量測條件的結果),以及用到的技術,最後是專案、學歷、證照與訓練、獎項與發表,以及語言。開頭放什麼由候選人的求職策略決定。每一條事實不是寫進履歷,就是依求職策略中點名它的規則不寫,所以這份檔案也是候選人事實的完整總覽。缺少的內容,例如成果或團隊人數,會在原處標示對應的追問問題;有新增或變動的事實、或求職策略改變時,會告訴你它需要更新。 -- **客製履歷**:每個評估過的投遞都產出中文與英文兩版,Markdown 與 PDF 格式。履歷從該職缺評估時所用角色的角色檔案出發,遵守候選人求職策略裡記下的履歷寫法決定,例如要用哪個職稱、哪段經歷不放,把最相關的事實放前面,只使用有出處的事實:每一行都註明出自哪些事實,數字必須和事實一致,候選人缺少的技能不會寫進去,公司、職稱和學校的英文名稱一律依照候選人的對照表。PDF 用 Chrome、Chromium 或 Edge 產生,文字可以正確複製,求職系統(ATS)也能正確讀取。 +- **客製履歷**:每個評估過的投遞都產出中文與英文兩版,Markdown 與 PDF 格式。履歷從該職缺評估時所用角色的角色檔案出發,遵守候選人求職策略裡記下的履歷寫法決定,例如要用哪個職稱、哪段經歷不放,和角色檔案衝突時以求職策略為準,把最相關的事實放前面,每則成就只講一件事,只使用有出處的事實:每一行都註明出自哪些事實,數字必須和事實一致,候選人缺少的技能不會寫進去,公司、職稱和學校的英文名稱一律依照候選人的對照表。PDF 用 Chrome、Chromium 或 Edge 產生,文字可以正確複製,求職系統(ATS)也能正確讀取。 - **投遞進度追蹤**:每組「候選人 × 職缺」依階段推進(發現 → 已評估 → 準備中 → 已投遞 → 面試 → Offer → 結案),保留有日期的歷程,每輪面試分開記錄,進行中的投遞都有下一步與期限。可以列出所有候選人逾期的待辦,依候選人、角色、職缺或公司查看進度,結案時記錄結果:錄取、婉拒、未錄取或撤回。 -- **回饋與修正**:記錄來自 HR、面試官、候選人與你自己的回饋、原因分類與具體修正方向,並追蹤每項修正直到完成;會產出新資料的修正(例如作品集)要匯入成資料來源才算完成。同一位候選人的多次投遞或同一角色下重複出現的原因,會變成對求職策略、角色檔案與履歷的修改提議,經你同意才套用。回饋中關於公司的內容會跨候選人累積成公司情報。結案的投遞會和成功率等級比對,指出評分高估或低估之處,要不要調整評分標準由你決定。 +- **回饋與修正**:記錄來自 HR、面試官、候選人與你自己的回饋、原因分類與具體修正方向,並追蹤每項修正直到完成。你對履歷(客製或完整版)的批評也用同樣方式記錄,由此產生的求職策略規則會指回這筆回饋;會產出新資料的修正(例如作品集)要匯入成資料來源才算完成。同一位候選人的多次投遞或同一角色下重複出現的原因,會變成對求職策略、角色檔案與履歷的修改提議,經你同意才套用。回饋中關於公司的內容會跨候選人累積成公司情報。結案的投遞會和成功率等級比對,指出評分高估或低估之處,要不要調整評分標準由你決定。 ## 安裝 diff --git a/skills/headhunter/SKILL.md b/skills/headhunter/SKILL.md index 995f28d..47d3896 100644 --- a/skills/headhunter/SKILL.md +++ b/skills/headhunter/SKILL.md @@ -29,6 +29,7 @@ python3 /scripts/hh.py | `candidate archive ` / `candidate restore ` | Move a Candidate to `archive/` and back | | `source add --type [--origin] [--evidence] [--state]` | Copy a file, or stdin with `-`, into `sources/` and register it | | `source github [--author ]` | Save a README, language and commit snapshot of a repository or profile with `gh` | +| `source github --issue N --pr N` | Save the text of issues and pull requests with their comments and reviews, as GitHub returns them, with `gh`; `--issue` and `--pr` repeat | | `source state ` | Record how readable a Source was | | `extract-text ` | Print the text of a Word, text or PDF file | | `import-report ` | Create the Import report for a Source | @@ -56,7 +57,7 @@ python3 /scripts/hh.py | `application overdue` | List open Applications past their due date, across all Candidates | | `application progress [--by candidate\|role\|job\|company]` | Count Applications per Stage, with overdue follow-ups and outcomes | | `application sync` | Create `status.yml` for evaluated Applications that have none | -| `feedback add ` / `feedback update ` | Add Feedback to an Application, or merge fields into one piece, from JSON or YAML on stdin; ids are filled in, and nothing is written if any check fails | +| `feedback add ` / `feedback update ` | Add Feedback to an Application, or with `master` in place of the Job id to the Master resume, or merge fields into one piece, from JSON or YAML on stdin; ids are filled in, and nothing is written if any check fails | | `feedback list [] [--job] [--role] [--company] [--cause] [--state] [--from]` | List Feedback and its Fix directions | | `feedback patterns []` | Find causes that recur across a Candidate's Applications and what they suggest changing | | `feedback companies` | Rewrite the Feedback section of every Company notes file | @@ -66,7 +67,7 @@ python3 /scripts/hh.py | `resume pdf ` | Check both resumes and print them to PDF again, after editing them by hand | | `master plan ` | Show what the Master resume is written from: the Candidate's Strategy, every usable Fact by organization and kind with its missing fields and the lines of `strategy.md` that name it, the open follow-up questions, the Glossary and the header, and whether the Master resume is current | | `master save [--replace]` | Write `master-resume.zh.md` and `master-resume.en.md` from JSON or YAML on stdin; nothing is written if any check fails | -| `validate []` | Check `taxonomy.yml`, Candidate folders (with their Roles, Evaluations, resumes, Applications and Feedback) and Job snapshots | +| `validate []` | Check `taxonomy.yml`, Candidate folders (with their Sources, Roles, Evaluations, resumes, Applications and Feedback) and Job snapshots | | `index` | Delete and rebuild `index.sqlite` | | `search candidates` / `search facts` | Filter the Index (see Search) | | `query "