Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

processing-docx

БесплатноБез исполняемых скриптовНе проверен

Processes Word document files (.docx). Creates, edits, annotates, tracks revisions, analyzes OOXML structure, and preserves formatting for contracts…

telagodот telagod★ 244 звезды на GitHub

Об этом скилле

DOCX Processing

.docx is a ZIP archive of XML and resources. Different tasks have different tools and workflows.

Workflow Decision

Intent Workflow Reference
Read/analyze text only pandoc → markdown raw-xml-access.md
Read structure, comments, media, formatting unpack → raw XML raw-xml-access.md
Create new document docx-js (JS/TS) docx-js.md
Edit own document, simple changes Document library (Python) ooxml.md
Edit someone else's document Redlining (tracked changes) redlining.md
Legal / academic / business / gov docs Redlining — REQUIRED redlining.md
Visual analysis soffice → PDF → pdftoppm raw-xml-access.md

Text Extraction (Quick)

pandoc --track-changes=all path-to-file.docx -o output.md
# --track-changes=accept/reject/all

Create New Document

  1. MANDATORY — READ ENTIRE FILE: docx-js.md (~500 lines). NEVER set range limits.
  2. Create JS/TS file using Document, Paragraph, TextRun components.
  3. Export with Packer.toBuffer().

Edit Existing Document (Own, Simple)

  1. MANDATORY — READ ENTIRE FILE: ooxml.md (~600 lines). NEVER set range limits.
  2. python ooxml/scripts/unpack.py <office_file> <output_dir>
  3. Run Python script using Document library.
  4. python ooxml/scripts/pack.py <input_dir> <office_file>

Edit Someone Else's Document → Redlining

See redlining.md for full 6-step workflow with batching strategy and RSID preservation.

Code Style

  • Write concise code, no verbose variable names, no unnecessary print statements.

Dependencies

Package Install Purpose
pandoc apt install pandoc Text extraction
docx npm i -g docx Create new docs
LibreOffice apt install libreoffice PDF conversion
Poppler apt install poppler-utils pdftoppm for images
defusedxml pip install defusedxml Secure XML parsing

Установить processing-docx в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Write
Edit
Glob

Вложенные файлы

docx-js.mdooxml.mdooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/pml.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsdooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsdooxml/schemas/ISO-IEC29500-4_2016/sml.xsdooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsdooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsdooxml/schemas/ISO-IEC29500-4_2016/wml.xsdooxml/schemas/ISO-IEC29500-4_2016/xml.xsdooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsdooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsdooxml/schemas/ecma/fouth-edition/opc-digSig.xsdooxml/schemas/ecma/fouth-edition/opc-relationships.xsdooxml/schemas/mce/mc.xsdooxml/schemas/microsoft/wml-2010.xsdooxml/schemas/microsoft/wml-2012.xsdooxml/schemas/microsoft/wml-2018.xsdooxml/schemas/microsoft/wml-cex-2018.xsdooxml/schemas/microsoft/wml-cid-2016.xsdooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd

FAQ

Что делает скилл processing-docx?

Processes Word document files (.docx). Creates, edits, annotates, tracks revisions, analyzes OOXML structure, and preserves formatting for contracts, policies, academic papers, and business documents. Use when working with .docx files or Word documents. Do NOT use for PDFs, spreadsheets, presentations, or plain text files.

Как установить скилл processing-docx?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл processing-docx запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить processing-docx с