resume-export
/resume-export
Converts a finished resume in markdown into delivery formats: a real .docx generated by writing OOXML directly, a print-ready A4 HTML for browser to PDF, and ATS plain text. Also runs the six checks that catch pagination, reading order and file-naming problems. Use when someone asks to export, print, convert, or deliver a resume as Word, PDF or text.
- Author
- newtonoooo ↗
- Repository
- czl-experts ↗
- Licence
- MIT
- Last repository change
- 01.11.2026
Assessment and security
- Files in this package
- 7
- Scripts
- 3
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 3 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/md2docx.py, scripts/md2html.py, scripts/md2txt.py
What it does and when to use it
Converts a finished resume in markdown into delivery formats: a real .docx generated by writing OOXML directly, a print-ready A4 HTML for browser to PDF, and ATS plain text. Also runs the six checks that catch pagination, reading order and file-naming problems. Use when someone asks to export, print, convert, or deliver a resume as Word, PDF or text.
Original author description
Converts a finished resume in markdown into delivery formats: a real .docx generated by writing OOXML directly, a print-ready A4 HTML for browser to PDF, and ATS plain text. Also runs the six checks that catch pagination, reading order and file-naming problems. Use when someone asks to export, print, convert, or deliver a resume as Word, PDF or text.
How it works
- 这个技能解决什么
- 什么时候用
- 三种输出来自同一份 markdown
- 执行步骤
- 六项交付自查
- 判断条件
- 输出格式
- 异常处理
- 依赖
- 与其他技能的关系
SKILL.md preview
---
name: resume-export
description: "Converts a finished resume in markdown into delivery formats: a real .docx generated by writing OOXML directly, a print-ready A4 HTML for browser to PDF, and ATS plain text. Also runs the six checks that catch pagination, reading order and file-naming problems. Use when someone asks to export, print, convert, or deliver a resume as Word, PDF or text."
version: 1.0.0
---
# 简历交付(resume-export)
## 这个技能解决什么
内容改完不等于能投。导出环节的坑很集中:Word 里好看但系统读出来是乱序、PDF 打印被裁掉一行、文件名还是"简历最终版3"。
这个技能只做一件事:**把定稿的 markdown 变成三种能直接用的文件,并跑完六项交付自查。**
## 什么时候用
- 内容已经定稿,要出文件
- 用户要 Word / PDF / 纯文本
- 用户从招聘网站下载了模板,需要判断能不能用(先跑纯文本测试)
- 投递前最后一遍检查
## 三种输出来自同一份 markdown
工作主格式永远是 markdown:改一处,三种输出同步重生成。**不要在不同格式里分别改内容**,那是版本地狱的起点。
```bash
# Word
python skills/resume-export/scripts/md2docx.py 简历.md -o 王小明-数据分析师-3年-20261026.docx
# A4 打印版(再用浏览器打印成 PDF)
python skills/resume-export/scripts/md2html.py 简历.md -o 简历.html --theme navy
# ATS 纯文本
python skills/resume-export/scripts/md2txt.py 简历.md -o 简历.txt
```
`--theme` 可选 `plain`(默认,无色)/ `ink`(近黑,最稳)/ `navy`(深蓝,偏商务)。
## 执行步骤
1. **确认定稿**:内容还在改就不要导出,浪费。
2. **选形态**:按 `references/export-spec.md` 的用途表选,不要一次要五种格式。
3. **生成文件**:跑上面三条命令,一条对一种格式。
4. **跑六项自查**(见下)。
5. **规范命名**:`姓名-岗位-年限-日期.扩展名`。
6. **交付说明**:告诉用户怎么打印成 PDF(三步),不要说"已生成 PDF"——除非确实生成了。
## 六项交付自查
| # | 检查 | 方法 | 不通过怎么办 |
|---|---|---|---|
| 1 | 纯文本顺序 | 全选复制到记事本 | 顺序乱=版式有问题,回 `resume-audit` |
| 2 | 实际页数 | 打开 PDF 数页 | 超出就删内容,不要压字号 |
| 3 | 文字非图片 | 搜索一个关键词能否命中 | 改成文本 |
| 4 | 日期格式统一 | 全文搜 `.` `/` `年` | 统一成 `YYYY.MM` |
| 5 | 文件名规范 | 看文件名 | 重命名 |
| 6 | 联系方式可复制 | 选中邮箱看能否复制 | 改成纯文本 |
## 判断条件
- **用户要 PDF**:先出 HTML,再让他用浏览器打印。**只有当环境里确实有可用的转换工具时**才直接生成 PDF;没有就说没有,不要交付一个假的 PDF。
- **用户要图片/表格/头像**:本生成器有意不支持(会破坏 ATS 解析)。要用就手动在 Word 里加,并提醒风险。
- **两页压一页**:先删内容,再考虑调行距(最低 1.4),最后才动字号(最低 10pt)。
- **投北美岗位**:纸张换 Letter,去掉照片、生日、性别,用英文模板。
## 输出格式
交付时给一张清单:
```
已生成:
- 王小明-数据分析师-3年-20261026.docx(4.1 KB)
- 王小明-数据分析师-3年-20261026.html(A4,浏览器 Ctrl+P 可打印为 PDF)
- 王小明-数据分析师-3年-20261026.txt(ATS 自查用)
自查:6/6 通过 / 第 2 项不通过(实际 2 页,建议删第 2 段第 4 条)
```
## 异常处理
- 脚本报错:报原文错误,不要静默重试。常见原因是文件路径带空格未加引号。
- 输出目录不存在:脚本会自动建;如果权限不足,改输出到工作目录。
- 中文乱码:确认源文件是 UTF-8(脚本会依次尝试 UTF-8-SIG / UTF-8 / GB18030)。
- 生成后 Word 打不开:先检查是否是 0 字节或压缩包损坏(`python -c "import zipfile;zipfile.ZipFile('x.docx').testzip()"`)。
## 依赖
- `scripts/md2docx.py`(OOXML 直写,无第三方依赖)
- `scripts/md2html.py`(A4 打印版)
- `scripts/md2txt.py`(ATS 纯文本)
- `references/export-spec.md`(页面规格与限制)
- `templates/resume-cn.md`、`templates/resume-en.md`(骨架)
## 与其他技能的关系
本技能是链条终点。导出后如果改了内容,回 `resume-rewrite` 改 markdown,再重新导出,不要在 docx 里改。
Files in this package (7)
- SKILL.md 4 KB
- references/export-spec.md 4 KB
- scripts/md2docx.py 11 KB
- scripts/md2html.py 8 KB
- scripts/md2txt.py 3 KB
- templates/resume-cn.md 1 KB
- templates/resume-en.md 1 KB
Versions
The database has no other skills named resume-export.
Database snapshot: 13.11.2026 · package version 71f21e6e4ea2 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100ats-to-pdf
Convert an ATS plain-text resume or cover letter (resume-ats.txt, cover-letter.txt) in the career workspace into a clean single-column PDF. Use when the user says "make the PDF", "convert to PDF", or "render the resume". - 90ai-resume
Build a true, one-page, ATS-safe resume (HTML + PDF) for a target role, then run Hallmark design checks and a humanizer pass. Use when asked to "make a resume", "update my CV", "resume for <role>", or to prepare a job application. - 100resume-pdf
Render a resume markdown file to a clean single-column, text-selectable, ATS-parseable PDF (1-page fit or compact). Use when exporting or rebuilding a resume PDF, or on "/resume-pdf". - 100ats-optimize
Tailor the user's resume to a job posting so applicant tracking systems (ATS) parse it correctly and match it to the role, using only facts from the user's profile. Takes a LaTeX, PDF or Word (.docx, .doc) resume and returns a tailored LaTeX file to compile in Overleaf. Use when… - 100ats-bilingual-resume
Audit, rewrite, translate, and generate ATS-ready resumes in Arabic and English from user-entered data or an uploaded CV. Use for ATS compatibility checks, CV conversion, job-tailored keyword alignment, and editable Word plus PDF outputs in classic, photo-color, or accent-color styles. - 100resume-builder
从零生成或全面优化一份中文简历,并导出 docx / pdf / markdown 多种格式。用 STAR 法则改写经历、做 ATS 关键词覆盖率检查、根据行业(互联网产品 / 技术 / 金融 / 通用)选模板。当用户说"帮我写简历 / 优化简历 / 简历不会写 / 我的简历太弱了 / 简历看起来不专业 / 简历改一改 / 给我做个简历模板 / 简历导出 / 简历加点关键词",或者上传 .pdf/.docx 简历后说"看看怎么改"时,必须触发本 skill。即使用户只问"我的简历有什么问题"也要触发。