Detalle del Skill

resume-tailor

Guided end-to-end resume optimization and tailoring workflow.

CoincidenciaDirectaRevisado para personalización de currículum
Fuentesmile-xyy/resume-tailorFuente externa
Instalaciones reportadas1Solo señal de popularidad

Revisar antes de usar

La revisión automática comprueba relevancia, no seguridad ni respaldo. Lee las instrucciones de la fuente antes de usar este Skill.

Vista previa guardada

SKILL.md

Este extracto es una copia guardada durante la revisión. La fuente externa contiene la versión completa y actual.

---
name: resume-tailor
description: 本地简历定制与 HTML 报告向导。当用户输入 `/resume-tailor`、`$resume-tailor`,或要求逐步完成简历优化时使用;一次只引导一个必要输入,依次完成候选人资料、岗位导入、字段确认、匹配分析、可信改写、证据图、验证和本地 HTML 报告。
---

# Resume Tailor

Run as a guided conversation by default. Read
`references/guided-workflow.md` completely before replying to the initial
invocation. Infer the current phase from files on disk and continue from the
first incomplete phase.

Do not respond to `/resume-tailor` with a command list. Ask exactly one
short, actionable question unless all required inputs are already available.
When inputs are complete, execute the pipeline without asking the user to run
terminal commands.

## Sub-skill Routing

Before executing a phase, read the corresponding sibling skill completely:

- ingest and job normalization: `../resume-tailor-ingest/SKILL.md`
- matching analysis: `../resume-tailor-analyze/SKILL.md`
- resume, opener, changelog and PDF source: `../resume-tailor-write/SKILL.md`
- project diagrams: `../resume-tailor-diagram/SKILL.md`
- HTML report assembly: `../resume-tailor-report/SKILL.md`

These relative paths are the canonical instructions for Codex, Claude Code,
and other Agent Skills-compatible clients.

## Deterministic Workflow

1. Check or guide creation of:
   - `data/resume.md`
   - `data/profile.md`
   - `data/experience-bank.md`
   - `data/projects/*.md`(至少一个希望生成流程图/架构图的项目说明)
   - `data/jobs/inbox/*.json`
   - or a JD text / job screenshot supplied by the user
2. Create a `run_id` using local time: `YYYY-MM-DD-HHMM`.
3. Create `output/<run_id>/jobs/`.
4. Capture immutable input files under `output/<run_id>/inputs/`.
5. Build `output/<run_id>/candidate-profile.json`. Treat its evidence IDs as
   the only source for generated candidate facts.
6. Run `resume-tailor-ingest`:
   - **Resume text cleaning** (§1.1): detect format → clean line-breaks/indent/bullets if needed → save `resume.raw.md` as rollback
   - **STAR decomposition** (§1.2): filter non-experience sections → decompose each work/project entry into S/T/A/R + skill keywords → cache by resume hash
   - **Resume quality assessment** (§1.3): STAR 3-dimension scoring (S/A/R) → empty-shell warning → skills section diagnosis
   - **Job JSON import**: normalize fields → dedup by content_hash → save to `output/<run_id>/jobs/<job_id>/job.json`
7. Run `resume-tailor-analyze`:
   - **Layer 1**: 5-dimension 0-100 scoring (hard skills / experience depth / domain fit / soft fit / 🆕 job quality)
   - **Layer 2** (top N=5~10 jobs only): deep analysis blocks — tailoring strategy / level & comp reference / job credibility
   - Cache analysis results by JD hash + resume hash, skip re-analysis on cache hit
8. Run `resume-tailor-write`, then generate and validate `diff.json`:
   - **(A) resume.md**: STAR alignment → reorder/skill-sort → keyword injection (§3.6) → 6-second scan gate (§3.7) → self-check (3 mandatory floors)
   - **(B) opener.md**: Boss-oriented greeting with a job-specific value hook in the first 15 visible characters, ≤200-char sendable body, and a visible explanation of the hook/JD/evidence choices
   - **(C) changelog.md**: based on enriched real diff; explain JD focus, selected evidence, actual before/after changes, and evidence gaps
   - **(D) cover-letter.md** (optional): run `scripts/cover_letter.mjs`; require
     all four answers, present the draft hash, and generate the final file only
     after exact-hash approval
   - **PDF**: run `scripts/build_pdfs.mjs` after ATS HTML generation. Generate one selectable-text A4 PDF per job under `output/<run_id>/pdf/`; use the normalized `候选人-定制简历-公司-岗位-run-id-岗位短哈希.pdf` naming rule. If the renderer is unavailable, record `pdf_export.status=unavailable` and clearly report that PDF was not generated.
   - **Guided deep-dive**: if experience is too thin, proactively offer to help user reframe and enrich
9. Run `resume-tailor-diagram` — require a project brief from `data/projects/*.md` or the user's uploaded file; use `scripts/prepare_diagram.mjs` 
Leer la fuente completa en GitHub (abre una página externa)
Contexto

Trabajo relacionado