beyalee

Cobo PDF Skill — Development skill for Claude Code

Development community

Cobo 品牌 A4 PDF 文档技能 — 适用于 Claude Code,客户方案建议书 / 合规说明 / 产品单页.

How to install Cobo PDF Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open beyalee/cobo-pdf-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Cobo PDF Skill does

Cobo 品牌 A4 PDF 文档技能 — 适用于 Claude Code,客户方案建议书 / 合规说明 / 产品单页.

Alternatives in Development

  • Book To Skill — Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work 25.9k ★
  • Octo Docs — Document delivery with export to PPTX, DOCX, PDF formats 2.8k ★
  • Translate Book — Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents 542 ★

README

cobo-pdf

A Claude Code skill for producing **Cobo-branded A4 PDF documents** — customer solution proposals, compliance explainers, technical briefs, product one-pagers.

Flat dark cover, light body, Cobo purple accent. Output is a real text PDF: selectable text, clickable links, a few hundred KB — not a stack of screenshots.

Install

git clone  ~/.claude/skills/cobo-pdf

That's it. Claude Code picks it up on the next session. Verify with `/skills` or just ask:

帮我给 XX 客户写一份托管方案建议书,导出 PDF

Requirements

Google Chrome (for PDF export) and Python 3 with Pillow (for the layout checker). Nothing else — no node, no npm, no browser download.

pip install Pillow          # only needed for scripts/check-layout.py

`pdfinfo` / `pdftotext` / `pdftoppm` from poppler are optional but recommended — the export script uses them for its sanity check.

brew install poppler

What's in here

File Purpose
SKILL.md The skill itself — workflow and rules
cobo-pdf.css The whole design system in one stylesheet; inline it into the document
template.html Starter skeleton with the Cobo logo and a cover
COMPONENTS.md Class reference with HTML snippets
scripts/export-pdf.sh HTML → PDF via headless Chrome, with a built-in sanity check
scripts/check-layout.py Flags footer collisions and blank pages before you send

Manual use, without Claude

The stylesheet stands on its own. Copy `template.html`, paste `cobo-pdf.css` into its `` block, write your content, then:

bash scripts/export-pdf.sh mydoc.html
python3 scripts/check-layout.py mydoc.pdf

Two Chrome limitations worth knowing

Both are verified, not guesses — don't spend time working around them.

  • No automatic page numbers. Chrome ignores CSS @page margin boxes, so counter(page) renders 0. The running footer carries the section name instead, which navigates better in a proposal any