A collection of custom skills for Claude Code, enhancing AI-assisted development workflows.
md2pdf — Markdown to PDF
Convert Markdown files to high-quality PDF via Playwright (Chromium). Native CJK/Chinese text support, Mermaid diagram rendering, compact layout with no tofu (black box) issues.
python scripts/md2pdf.py input.md -o output.pdfKey features:
- CJK/Chinese text rendered correctly in all contexts (headings, code blocks, tables)
- Mermaid diagrams auto-rendered as high-resolution PNG images
- Compact layout optimized for technical documents
- Automatic cleanup of intermediate files
Copy the skill folder to your Claude Code skills directory:
# macOS/Linux
cp -r skills/<skill-name> ~/.claude/skills/
# Windows
xcopy /E /I skills\<skill-name> %USERPROFILE%\.claude\skills\<skill-name># macOS/Linux
cp -r skills/* ~/.claude/skills/
# Windows
xcopy /E /I skills\* %USERPROFILE%\.claude\skills\Each skill may have its own dependencies. See individual skill folders for details.
md2pdf dependencies:
- Python 3.10+
playwright—pip install playwright && playwright install chromiummermaid-cli—npm install -g @mermaid-js/mermaid-cli(optional, only needed for Mermaid diagrams)- System fonts: Microsoft YaHei / Noto Sans SC / SimHei (for Chinese rendering)
claude-skills/
├── README.md # English documentation
├── README.zh-CN.md # 中文文档
├── .gitignore
└── skills/
└── md2pdf/ # Markdown to PDF
├── SKILL.md # Skill definition
└── scripts/
└── md2pdf.py # Conversion script
- Create a new folder under
skills/ - Add a
SKILL.mdwith skill definition - Update both
README.mdandREADME.zh-CN.mdwith bilingual descriptions
MIT License