Langsung ke konten
Skillpedia
PDF, Word & slide12k Β· #11564

docx

Fungsinya

Skill ini membantu agent bekerja dengan berkas Microsoft Word. Skill ini bisa membacanya, membuat yang baru, dan melakukan pengeditan dengan hati-hati. Skill ini untuk siapa pun yang membutuhkan dokumen Word dibuat atau diperbarui.

Kapan dipakai

  • βœ“Saat Anda ingin dokumen Word baru dibuat dari konten Anda.
  • βœ“Saat Anda ingin perubahan dibuat pada berkas Word sambil format-nya tetap utuh.
  • βœ“Saat Anda perlu mengisi templat Word atau meninjau perubahan terlacak dan komentar.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/ekko-agent/skills/docx/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œIsi placeholder di templat Word ini dengan detail klien dari daftar saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent pertama-tama memeriksa berkas, lalu memakai skrip bantu kecil untuk membaca, mengedit, menambahkan komentar, mengisi templat, atau memeriksa hasil. Secara default agent menyimpan salinan baru, bukan menimpa aslinya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum

Apakah berkas asli saya akan ditimpa?

Tidak. Secara default agent bekerja pada berkas keluaran baru dan hanya mengedit yang asli jika Anda memintanya secara eksplisit.

Bisakah ia menangani perubahan terlacak?

Bisa. Skill ini mencakup alat bantu untuk memeriksa, menerima, atau menolak revisi yang terlacak.

Apakah perlu perangkat lunak tambahan?

Skill ini memerlukan paket Python python-docx dan lxml, dan agent memeriksanya sebelum mulai.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
12k
Peringkat
#11564
Lisensi
β€”
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa