Communitygithub.com

michellema8890/pdf-to-editable-word-skill

Convert PDF files to editable Word documents while preserving original layouts for AI agent workflows.

pdf-to-editable-word-skill란 무엇인가요?

pdf-to-editable-word-skill is a Claude Code agent skill that convert PDF files to editable Word documents while preserving original layouts for AI agent workflows.

지원 대상Claude CodeCodex CLI~Cursor
npx skills add michellema8890/pdf-to-editable-word-skill

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

PDF to Editable Word Skill

Create a visually faithful DOCX by combining cleaned page backgrounds with editable, absolutely positioned text boxes. Run the deterministic CLI for every conversion; do not recreate the OOXML manually.

Workflow

  1. Resolve this skill directory and use scripts/pdf2word.py as the command wrapper.
  2. Inspect the source before converting:
python scripts/pdf2word.py inspect INPUT.pdf --json
  1. Stop and report the limitation when conversion_ready is false. Read compatibility.md for the relevant failure mode.
  2. Convert into a dedicated work directory:
python scripts/pdf2word.py convert INPUT.pdf OUTPUT.docx --work-dir WORK_DIR --dpi 144
  1. If conversion is interrupted, rerun the same command with --resume. Never reuse a work directory for a different PDF or page range.
  2. Validate the output against the source:
python scripts/pdf2word.py validate OUTPUT.docx --pdf INPUT.pdf --json
  1. Treat validation failure as conversion failure. Do not deliver the DOCX merely because the file exists.
  2. For high-stakes output, open the result in Microsoft Word and inspect the first, middle, and last pages plus pages with unusual layouts.

Delivery

Report the output path, page count, editable text-box count, background-image count, validation result, and any compatibility warnings. State clearly that text is editable while non-text graphics remain in the page background.

Do not claim that tables, diagrams, or images are semantically editable. Do not claim support for OCR, mixed page sizes, or LibreOffice fidelity in v0.1.

관련 스킬