Перейти к содержанию
Skillpedia
PDF, Word и слайды12k · #11564

docx

Что он делает

Этот скилл помогает агенту работать с файлами Microsoft Word. Он может читать их, создавать новые и аккуратно вносить правки. Он предназначен для всех, кому нужно подготовить или обновить документ Word.

Когда использовать

  • ✓Когда вам нужен новый документ Word, созданный из вашего содержимого.
  • ✓Когда вам нужно внести изменения в файл Word, сохранив его форматирование.
  • ✓Когда нужно заполнить шаблон Word или проверить исправления с отслеживанием и комментарии.

Ссылка на скилл

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Заполните заполнители в этом шаблоне Word данными клиентов из моего списка.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент сначала изучает файл, затем использует небольшие вспомогательные скрипты, чтобы читать, редактировать, добавлять комментарии, заполнять шаблоны или проверять результат. По умолчанию он сохраняет новую копию, а не перезаписывает оригинал.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Word documents

Use this Skill for .docx work. Preserve the user's content and formatting intent, and make the smallest change that satisfies the request.

Start here

Call skill_view for this Skill before using its resources. It returns baseDirectory; every bundled helper below lives under <baseDirectory>/scripts.

Default to a new output file. Replace the input only when the user explicitly asks for an in-place edit. Before changing a document, inspect it with docx_read.py and keep a recoverable original.

Core dependency:

python3 -m pip install python-docx lxml

Do not install dependencies silently. Check availability first and explain any missing dependency that blocks the task.

Helpers

  • docx_read.py: extract paragraphs, headings, tables, links, comments, headers, footers, and document metadata.
  • docx_create.py: create a document from structured JSON.
  • docx_edit.py: perform targeted text, paragraph, table, image, header, and footer edits.
  • docx_template.py: inspect placeholders and populate a template.
  • docx_comments.py: add, list, or remove comments.
  • docx_revisions.py: inspect, accept, or reject tracked revisions.
  • docx_validate.py: validate the resulting package and report structural problems.

Run helpers with terminal_exec, passing python3 as the command and arguments as an array. Use --help when a helper's exact arguments are unclear.

python3 <baseDirectory>/scripts/docx_read.py input.docx --json
python3 <baseDirectory>/scripts/docx_create.py spec.json -o output.docx
python3 <baseDirectory>/scripts/docx_edit.py input.docx edits.json -o output.docx
python3 <baseDirectory>/scripts/docx_validate.py output.docx

For tracked changes and comments, read references/revisions-and-comments.md through skill_view before editing them.

Workflow

  1. Inspect the source document and identify the exact sections to preserve or change.
  2. Build a structured specification or edit plan. Do not approximate names, numbers, dates, citations, or legal wording.
  3. Generate or edit a new .docx.
  4. Run docx_validate.py.
  5. When layout matters, convert the result to PDF with LibreOffice if available, render the relevant PDF pages with the bundled pdf Skill, and inspect the images with view_image. Check clipping, page breaks, tables, headers, footers, and image placement.
  6. Return the final absolute path and summarize material changes.

If LibreOffice is unavailable, still perform structural validation and clearly state that visual rendering was not available.

Safety

  • Never discard comments or tracked revisions unless the user requested that operation.
  • Treat accept-all/reject-all revisions and remove-all comments as destructive transformations; confirm the intended scope when it is ambiguous.
  • Do not execute macros or embedded objects.
  • Avoid copying sensitive document text into external services unless the user requested a workflow that requires it.
Частые вопросы

Перезапишет ли он мой исходный файл?

Нет. По умолчанию он работает с новым выходным файлом и редактирует оригинал только тогда, когда вы явно попросите.

Умеет ли он работать с исправлениями с отслеживанием?

Да. В скилле есть вспомогательные функции для просмотра, принятия и отклонения исправлений.

Нужно ли дополнительное программное обеспечение?

Нужны пакеты Python python-docx и lxml, и агент проверяет их наличие перед стартом.

Подробности

Оригинальное описание автора

Create, inspect, edit, validate, and visually verify Microsoft Word .docx documents, including templates, comments, tracked revisions, tables, images, headers, and footers.

repo: EKKOLearnAI/ekko-studio

Популярность

Звёзды на GitHub
12k
Место в рейтинге
#11564
Лицензия
—
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

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