Command Palette

Search for a command to run...

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

word

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

Handle Word document (.docx) creation, editing, and analysis with high-fidelity visual review. Use for professional reports, legal documents, and tracked…

IgorWarzochaот IgorWarzocha★ 121 звезда на GitHub

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

For all professional deliverables, you MUST follow the "Render & Review" loop: 1. **Edit**: Use `python-docx` for structure/styling or the Document library for XML edits. 2. **Render**: Convert to PDF/PNG using `soffice` and `pdftoppm`: - `soffice --headless --convert-to pdf document.docx` - `pdftoppm -png -r 150 document.pdf page` 3. **Inspect**: Read the generated PNG images. You MUST look for clipped text, overlapping shapes, or misaligned margins. 4. **Fix**: Address defects and repeat the loop until the document is visually flawless. ### 1. Creating New Documents - **Python**: You SHOULD use `python-docx`. Establish hierarchy with HeadingLevel styles. - **JavaScript**: You SHOULD use `docx-js`. **Reference**: See `references/docx-js.md` for syntax. - **CRITICAL**: You MUST NOT use `\n` for line breaks (use Paragraphs). You MUST NOT use Unicode bullets (use numbering config). `PageBreak` MUST be inside a Paragraph.

2. Redlining & Tracked Changes

For legal or business review:

  • Initialize: Use scripts/document.py. Reference: Read references/ooxml.md for XML patterns.
  • Procedure: Unpack (unpack.py), edit XML using the Document Library, then Pack (pack.py).
  • Standard: You MUST only mark text that actually changes. Keep unchanged text outside <w:del>/<w:ins>.

3. Text Extraction

  • You SHOULD use Pandoc to convert to markdown while preserving structure:
    • pandoc --track-changes=all path-to-file.docx -o output.md
- **Client-Ready**: You MUST NOT use Unicode dashes (use ASCII hyphens). No internal AI tokens. - **Element Ordering**: In ``, elements MUST follow schema order: Style -> Numbering -> Spacing -> Indent -> Alignment. - **Visual Fidelity**: Charts and tables MUST be sharp and legible in rendered previews.

Установить word в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

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

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

FAQ

Что делает скилл word?

Handle Word document (.docx) creation, editing, and analysis with high-fidelity visual review. Use for professional reports, legal documents, and tracked changes. Use proactively when quality and precise formatting are critical. Examples: - user: "Create a professional report in Word" -> use python-docx with render loops - user: "Draft a legal contract with redlines" -> use ooxml redlining workflow - user: "Extract text from this DOCX while preserving structure" -> use pandoc markdown conversion

Как установить скилл word?

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

Скилл word запускает скрипты?

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

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

Сравнить word с