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
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "headhunter-agent",
"description": "AI headhunter agent for Claude Code. 獵頭 AI:候選人資料庫、職缺評估、客製履歷、投遞追蹤。",
"description": "AI headhunter agent: candidate database, job evaluation, tailored resumes, application tracking and feedback.",
"owner": {
"name": "codeotter0201",
"url": "https://github.com/codeotter0201"
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ body:
attributes:
value: |
Use fictional people only. Never include a real candidate's name, contact details, resume or feedback.
請只使用虛構人物,不要貼上真實候選人的姓名、聯絡方式、履歷或回饋。

- type: dropdown
id: area
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ body:
attributes:
value: |
Use fictional people only. Never include a real candidate's name, contact details, resume or feedback.
請只使用虛構人物,不要貼上真實候選人的姓名、聯絡方式、履歷或回饋。

- type: dropdown
id: area
Expand Down
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ area/agent-instructions:
area/docs:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- 'README.md'
- 'README.zh-TW.md'
- 'CONTRIBUTING.md'

area/ci:
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

## Checklist
- [ ] No real candidate data in code, examples, fixtures, screenshots or this PR
- [ ] `docs/SPEC.md`, `skills/headhunter/SKILL.md` and `README.md` updated when behavior or data layout changed
- [ ] `skills/headhunter/SKILL.md`, `README.md` and `README.zh-TW.md` updated when behavior or data layout changed
- [ ] Migration for existing data folders described (data layout changes only)
- [ ] Self-review completed
- [ ] Documentation updated (if needed)
38 changes: 31 additions & 7 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,29 @@ repository, whatever tool or model runs it.
- Shared domain terms are defined in `CONTEXT.md`. Use those terms in issues,
pull requests, documents, and skill instructions.

## Language

- Write all repository files, issues, pull requests, and commit messages in
English.
- `README.zh-TW.md` is the only Traditional Chinese file. It carries the same
content as `README.md`, and each links to the other at the top.

## Where Information Lives

- Planned features and their specifications live in labeled issues: the
roadmap epic and its phase issues. Iterate on a plan by updating its issue.
- Repository files hold only stable, current information, each in one place:

| Information | Owner |
|---|---|
| Agent rules | `AGENTS.md` |
| Domain terms | `CONTEXT.md` |
| Issue, branch, commit, pull request and release workflow | `CONTRIBUTING.md` |
| Current skill behavior and data layout | `skills/headhunter/SKILL.md` |
| Product overview and installation | `README.md`, `README.zh-TW.md` |

- Do not add a documentation folder or a second copy of any of these.

## Privacy Invariants

- Candidate data lives only in the user's data folder (`$HEADHUNTER_DATA_DIR`,
Expand All @@ -60,9 +83,9 @@ repository, whatever tool or model runs it.
- The development unit is one issue / branch / pull request. Branches start from
the latest `origin/main`, are named `<type>/issue-<number>-<slug>`, and target
`main`.
- `docs/SPEC.md` is the product specification. A change to product behavior or
data layout updates the specification, `skills/headhunter/SKILL.md`, and
`README.md` in the same pull request.
- A change to product behavior or data layout updates
`skills/headhunter/SKILL.md`, `README.md`, and `README.zh-TW.md` in the same
pull request.
- A change to the data layout states how existing data folders are migrated.
- The plugin version in `.claude-plugin/plugin.json` changes only in a release
pull request.
Expand All @@ -74,8 +97,9 @@ AGENTS.md canonical agent instructions (this file)
CLAUDE.md imports AGENTS.md
CONTEXT.md shared domain terms
CONTRIBUTING.md issue, branch, commit, pull request and release rules
docs/SPEC.md product specification
skills/headhunter/SKILL.md the headhunter skill
README.md product overview (English)
README.zh-TW.md product overview (Traditional Chinese)
skills/headhunter/SKILL.md the headhunter skill: current behavior and data layout
.claude-plugin/ plugin and marketplace manifests
.github/ issue forms, PR template, labeler
.gemini/settings.json points Gemini CLI to AGENTS.md
Expand All @@ -85,7 +109,7 @@ skills/headhunter/SKILL.md the headhunter skill

- When creating or changing an issue, branch, commit, or pull request, read the
matching section of `CONTRIBUTING.md` and the forms in `.github/`.
- When changing what the skill does or how data is stored, read `docs/SPEC.md`
and `skills/headhunter/SKILL.md` first.
- When changing what the skill does or how data is stored, read the issue that
specifies the change and `skills/headhunter/SKILL.md` first.
- When changing plugin packaging, run `claude plugin validate .` and
`claude plugin validate .claude-plugin/plugin.json` from the repository root.
34 changes: 17 additions & 17 deletions CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,83 +5,83 @@ words in issues, pull requests, documents, and skill instructions.

## Language

**Candidate(候選人)**:
**Candidate**:
A person the user represents in their job search. Identified by `c-<number>`.
_Avoid_: user, applicant, profile

**Data folder(資料夾)**:
**Data folder**:
The local folder that holds all candidate data, `$HEADHUNTER_DATA_DIR` or
`~/headhunter-data/`. Never inside a repository.
_Avoid_: database, storage

**Index(索引)**:
**Index**:
`index.sqlite`, rebuilt from the files in the Data folder for search and
classification. Files are the source of truth; the Index can be deleted and
rebuilt at any time.
_Avoid_: database of record

**Source(來源)**:
**Source**:
One raw input about a Candidate: a note, work log, photo, existing resume, or
GitHub repository, kept under `sources/`.
_Avoid_: attachment, upload

**Fact(事實)**:
**Fact**:
One statement about a Candidate's experience, skill, or achievement that cites
the Source it came from.
_Avoid_: claim, info, data point

**Glossary(中英對照)**:
**Glossary**:
The Candidate's fixed Chinese ↔ English names for companies, titles, and terms,
used so every English resume translates them the same way.
_Avoid_: dictionary, translation memory

**Strategy(求職策略)**:
**Strategy**:
The Candidate's current plan: target roles, positioning, and what to strengthen.
Updated from Feedback.
_Avoid_: plan, roadmap

**Listing(職缺列表)**:
**Listing**:
A web page that lists many jobs, such as a search result page on 104 or
CakeResume.
_Avoid_: feed, board

**Job(職缺)**:
**Job**:
One job posting, stored as a snapshot of its content at the time it was read.
Identified by `j-<site>-<site id>`.
_Avoid_: JD, position, opening

**Application(投遞)**:
**Application**:
One Candidate × Job pair, from the first Evaluation until it is closed.
_Avoid_: submission, match, pipeline item

**Stage(階段)**:
**Stage**:
Where an Application is: found, evaluated, preparing, applied, interview
(round N), offer, or closed (hired, declined, rejected, withdrawn).
_Avoid_: status (reserved for issue labels)

**Evaluation(評估)**:
**Evaluation**:
The assessment of one Application: fit score, reasons for the recommendation,
gaps and risks, and a Success rating.
_Avoid_: review, analysis

**Success rating(成功率等級)**:
**Success rating**:
High, medium, or low, with reasons. A rule-based estimate, never a probability.
_Avoid_: success probability, chance, odds

**Tailored resume(客製履歷)**:
**Tailored resume**:
The pair of resumes written for one Application, one in Chinese and one in
English, using only Facts.
_Avoid_: CV variant, generated resume

**Feedback(回饋)**:
**Feedback**:
One piece of input about how an Application went, from HR, an interviewer, the
Candidate, or the user, with its cause.
_Avoid_: comment, note

**Fix direction(修正方向)**:
**Fix direction**:
A concrete action that responds to Feedback, with its own completion state.
_Avoid_: suggestion, todo

**Company notes(公司情報)**:
**Company notes**:
What has been learned about one company across all Candidates' Feedback.
_Avoid_: company profile, research
Loading
Loading