A Claude Code / Codex skill that turns your context (chat history, GitHub, prior CV, LinkedIn dump) into a single-page A4 PDF resume in editorial bilingual (中/英) style — the kind that lands top-tier tech jobs.
Originally built from @wilson534's own resume which got him into 小红书 as an AI Product Engineer. Now packaged so any LLM agent can produce the same caliber.
examples/example-resume.html — open in any browser to see the reference layout.
The skill produces single-page A4 PDFs that look like the example, populated with your own content.
editorial-resume/
├── SKILL.md # main instructions (read by the LLM)
├── scripts/
│ └── render.py # Playwright-based PDF renderer with auto-fit
└── examples/
├── example-resume.html # reference layout
└── example-avatar.jpg # reference portrait
Drop this repo into your skills directory. From your shell:
git clone https://github.com/wilson534/editorial-resume ~/.claude/skills/editorial-resumeThen in any Claude Code session, the skill activates automatically when you ask "帮我做简历" / "build my resume" / "export my CV to PDF".
The skill is just a Markdown instruction file plus a Python script. Reference SKILL.md from your agent's system prompt, or include it in the project directory.
The PDF renderer needs Playwright with bundled Chromium (the only headless browser that reliably renders CJK on macOS):
pip3 install playwright
python3 -m playwright install chromiumThe render script checks for these and prints clear errors if missing.
- You ask your agent: "帮我做简历" (or attach a doc and say "polish this into a PDF resume")
- The agent mines the conversation, attached files, your repo, etc. for the structured fields a resume needs
- The agent asks at most one bundled question if critical info is genuinely missing — never a 20-question interrogation
- The agent writes a new
resume.htmlmodeled afterexamples/example-resume.html, filling in your content - The render script generates
resume.pdf. If it spills past one page, it auto-tightens spacing and retries — up to 6 passes. If still over, it asks you to cut content rather than letting you ship a 1.05-page resume.
- Single page A4 — never 2 pages. Density beats whitespace.
- Bilingual mixing — Chinese for sections/labels, English for tech terms (
LangChain,Agent,Marketplace...) wrapped in<span class="en-lg">for typographic harmony. - No emojis in resume body.
- No filler adjectives ("热爱", "擅长沟通") — replaced with quantified outcomes.
- Bullets lead with verb + outcome: "主导 X 0-1 定义与交付,达成 Y" beats "参与了 X 的工作".
- Numbers > prose: "599 名学生扫描,识别 76 篇有论文记录" beats "扫描了大量论文".
Most users won't need to touch the template. If you want a different visual:
- Edit the CSS block at the top of the example HTML — fonts, colors, density
- The skill instructs the LLM to copy CSS verbatim, so any change you make there propagates to all generated resumes.
MIT — use, fork, modify freely. Credit appreciated but not required.
- Original resume design & content: 彭智炜 / @wilson534
- Personal site: pengzhiwei.vercel.app