Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,13 @@ _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.
Candidate, or the user, with its cause: skill gap, experience, communication,
salary, culture fit, or resume presentation.
_Avoid_: comment, note

**Fix direction**:
A concrete action that responds to Feedback, with its own completion state.
A concrete action that responds to Feedback, with its own completion state. One
that produces new material ends with importing it as a Source.
_Avoid_: suggestion, todo

**Company notes**:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A job search piles up more than anyone can keep straight: old resumes, notes, wo
- **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.
- **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, 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.
- **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. Recurring problems update the candidate's strategy; feedback about the same company builds up into company notes; results calibrate the scoring.
- **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.

## Install

Expand Down
2 changes: 1 addition & 1 deletion README.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- **職缺評估**:可針對一位候選人,或從整個資料庫找出角色符合職缺的候選人,並依符合的角色評估;沒有符合的角色時,改用候選人的全部事實評估,並提議從這個職缺建立新角色。每份評估依固定評分標準(技能重疊、職級、產業與領域、成就、薪資地點與工作模式)給出適合度分數,推薦原因會對應到具體的事實和職缺條件,列出缺口與風險及補強方式,並給出高/中/低的成功率等級與理由。不符合硬性條件(例如最低年資或指定學歷)時,等級降一級。同一角色下評估過的職缺若反覆出現同樣的條件,會提議加進該角色,經你同意才套用。
- **客製履歷**:每個評估過的投遞都產出中文與英文兩版,Markdown 與 PDF 格式。履歷從該職缺評估時所用角色的角色檔案出發,把最相關的事實放前面,只使用有出處的事實:每一行都註明出自哪些事實,數字必須和事實一致,候選人缺少的技能不會寫進去,公司、職稱和學校的英文名稱一律依照候選人的對照表。PDF 用 Chrome、Chromium 或 Edge 產生,文字可以正確複製,求職系統(ATS)也能正確讀取。
- **投遞進度追蹤**:每組「候選人 × 職缺」依階段推進(發現 → 已評估 → 準備中 → 已投遞 → 面試 → Offer → 結案),保留有日期的歷程,每輪面試分開記錄,進行中的投遞都有下一步與期限。可以列出所有候選人逾期的待辦,依候選人、角色、職缺或公司查看進度,結案時記錄結果:錄取、婉拒、未錄取或撤回。
- **回饋與修正**:記錄來自 HR、面試官、候選人與獵頭的回饋、原因分類與具體修正方向。重複出現的問題會更新候選人的求職策略,同一家公司的回饋會累積成公司情報,實際結果用來校準評分。
- **回饋與修正**:記錄來自 HR、面試官、候選人與你自己的回饋、原因分類與具體修正方向,並追蹤每項修正直到完成;會產出新資料的修正(例如作品集)要匯入成資料來源才算完成。同一位候選人的多次投遞或同一角色下重複出現的原因,會變成對求職策略、角色檔案與履歷的修改提議,經你同意才套用。回饋中關於公司的內容會跨候選人累積成公司情報。結案的投遞會和成功率等級比對,指出評分高估或低估之處,要不要調整評分標準由你決定。

## 安裝

Expand Down
40 changes: 36 additions & 4 deletions skills/headhunter/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,15 @@ python3 <skill folder>/scripts/hh.py <command>
| `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 <id> <job>` / `feedback update <id> <job> <entry>` | 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 list [<id>] [--job] [--role] [--company] [--cause] [--state] [--from]` | List Feedback and its Fix directions |
| `feedback patterns [<id>]` | 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 |
| `feedback calibrate` | Compare Success ratings with closed outcomes and report where the rubric over- or under-estimates |
| `resume plan <id> <job>` | Show what an Application's resumes start from: the Role profile, the Evaluation's evidence, what to leave out, the usable Facts and the Glossary |
| `resume save <id> <job> [--replace]` | Write `resume.zh.md` and `resume.en.md` from JSON or YAML on stdin and print both to PDF; nothing is written if any check fails |
| `resume pdf <id> <job>` | Check both resumes and print them to PDF again, after editing them by hand |
| `validate [<id>]` | Check `taxonomy.yml`, Candidate folders (with their Roles, Evaluations, resumes and Applications) and Job snapshots |
| `validate [<id>]` | Check `taxonomy.yml`, Candidate folders (with their 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 "<SELECT ...>"` | Run a read-only SQL query on the Index |
Expand All @@ -86,11 +91,11 @@ Searches rebuild the Index first when any file changed. Run `validate` after edi
applications/<job-id>/
status.yml Application: Role, Stage, next step, due date, dated timeline
evaluation.md Evaluation: Role, fit score, reasons, gaps and risks, Success rating
feedback.md feedback log and fixes
feedback.md Feedback and its Fix directions
resume.zh.md resume.zh.pdf Tailored resume in Chinese: Markdown citing Facts, and its PDF
resume.en.md resume.en.pdf the same in English
jobs/<job-id>.md Job snapshot: requirements with Tags, duties, salary, location, posting text
companies/<company-slug>.md company notes built from feedback
companies/<company-slug>.md Company notes; the Feedback section is kept by the script
archive/ archived candidates
```

Expand Down Expand Up @@ -297,6 +302,24 @@ timeline: # one entry per Stage change, oldest first

A closed Application has `outcome` (hired, declined, rejected or withdrawn) on the Application and its last timeline entry, and no `next_step` or `due`. `role` matches the Application's Evaluation.

**feedback.md**: a YAML block between `---` lines with `job` and `entries`, then the Feedback in readable form, written by the script.

```yaml
- id: fb-001 # filled in; numbered within the Application
date: 2026-11-12 # when it was received; today when left out
from: interviewer # hr | interviewer | candidate | user
content: The system design answer stayed shallow on capacity estimates
cause: skill-gap # skill-gap | experience | communication | salary | culture-fit | resume-presentation
tags: [skill/system-design] # optional: what it is about, from taxonomy.yml
fix: Practice two system design questions a week # the Fix direction: one concrete action
state: open # open | in-progress | done
material: Order system design document # optional: what the Fix direction will produce
sources: [s-008] # with material: the Source it was imported as, required when done
company_note: The second round is a system design interview # optional: what this says about the company
```

**Company notes** (`companies/<company-slug>.md`): `<company-slug>` comes from the company name in the Job snapshot, the same way as Candidate slugs. The script keeps the `## Feedback` section: every `company_note` for that company across all Candidates, newest first, each with the Candidate and Job ids and no names. Anything else in the file is left alone.

## Workflows

### Sort what the user gives
Expand Down Expand Up @@ -416,13 +439,21 @@ An Application is one Candidate × Job pair. When you start working with the use
- `application overdue` lists every open Application whose due date has passed, across all Candidates. `application progress --by candidate`, `role`, `job` or `company` counts them per Stage; Roles are counted per Candidate, and companies by the name in the Job snapshot.
- When `validate` reports an evaluated Application with no `status.yml`, run `application sync`; it starts each one at evaluated, on the date of its Evaluation.

### Log Feedback

1. **Log**: when the user reports how an Application went, pipe each piece to `feedback add <id> <job>`, one cause and one Fix direction per piece. Quote or summarize it, and let the user confirm the cause. Set `from` to who said it, and `from: user` for the user's own judgment. Add `tags` when it names a skill or topic, so repeats can be found. An Application must exist first.
2. **Company notes**: when the Feedback says something about the company rather than the Candidate, such as its interview format or what it screens for, add a `company_note`: one sentence, in general terms, naming no one. The script adds it to the company's notes.
3. **Follow through**: `candidate show` lists open Fix directions. Change their state with `feedback update <id> <job> <entry>` and `{"state": "in-progress"}`. When a Fix direction will produce new material, such as a portfolio piece, set `material`. It can only be done once the material is imported: run Import a Source, then update with `{"state": "done", "sources": ["s-008"]}`. New Facts mark the affected Role profiles stale, so offer to rebuild them.
4. **Patterns**: when `feedback add` reports a recurring cause, or the user asks what keeps going wrong, run `feedback patterns [<id>]`. It finds causes in two or more of a Candidate's Applications with a Fix direction still to finish, the topics they share, and the Roles with the cause in two or more Applications. It suggests what each cause means for the Strategy, those Role profiles and open Applications' resumes. Turn that into specific proposals, and make only the changes the user accepts: edit `strategy.md`, `role build`, or `resume save --replace`.
5. **Calibrate**: `feedback calibrate` compares each closed Application's Success rating with how it ended. Hired, or declined after an offer, counts as an offer; rejected as a rejection; withdrawn, and declined without an offer, are left out. It reports offer rates per rating, Applications rated high and rejected or rated low with an offer, which dimensions failed to separate offers from rejections, and rubric changes to consider. Show the user the proposals and how few outcomes they rest on. The script never changes the rubric.

### Search

- `search candidates` with `--tag` (Tag id, label or alias; repeat for AND), `--industry`, `--seniority`, `--status`, `--min-years` and `--text`. It counts only active, sourced Facts and shows which Facts matched each Tag.
- `search candidates` also takes `--role` (an active Role whose title, in either language, or folder name contains the text), `--requirement-tag` and `--no-must-gaps` (the Role's profile is built and no must-have is `missing` or `to-confirm`). Together they apply to the same Role: "Candidates targeting data engineer with no must-have gaps" is `search candidates --role "data engineer" --no-must-gaps`.
- `search facts` with `--candidate`, `--tag`, `--kind`, `--evidence`, `--origin`, `--state`, `--since <year>` and `--text`.
- For a one-sentence request, turn it into these filters. For example, "Candidates with Python and finance background and 5+ years of experience" is `search candidates --tag python --industry finance --min-years 5`.
- For anything the filters cannot express, use `query` on the Index tables: `candidates`, `sources`, `facts`, `fact_tags`, `fact_sources`, `tags`, `tag_terms`, `questions`, `roles`, `role_requirements`, `role_requirement_tags`, `role_evidence`, `role_gaps`, `evaluations`, `evaluation_gaps`, `applications`, `application_timeline`, and the view `candidate_tags` (Tags on active, sourced Facts).
- For anything the filters cannot express, use `query` on the Index tables: `candidates`, `sources`, `facts`, `fact_tags`, `fact_sources`, `tags`, `tag_terms`, `questions`, `roles`, `role_requirements`, `role_requirement_tags`, `role_evidence`, `role_gaps`, `evaluations`, `evaluation_gaps`, `applications`, `application_timeline`, `feedback`, `feedback_tags`, and the view `candidate_tags` (Tags on active, sourced Facts).

### Read Jobs

Expand Down Expand Up @@ -465,3 +496,4 @@ The script names itself in its User-Agent and follows robots.txt. When a site re
9. **LinkedIn by hand only.** Read LinkedIn only from pages the user has open in their signed-in browser or text they paste. Never scrape it in bulk. If any site shows a CAPTCHA or sign-in wall, ask the user to handle it or paste the content.
10. **Read job sites politely.** Follow robots.txt, identify the script honestly, and never work around a refusal or bot check.
11. **Two resumes per job.** Write a Chinese and an English version; use `glossary.yml` so names are translated the same way every time.
12. **Feedback proposes, the user decides.** Changes to a Strategy, Role profile, resume or the rubric that come from Feedback wait for the user's agreement.
Loading
Loading