मुख्य सामग्री पर जाएँ
Skillpedia
PDF, Word और स्लाइड14k · #11326

docx-official

यह क्या करती है

यह स्किल Microsoft Word फ़ाइलों को संभालती है, नए दस्तावेज़ बनाने से लेकर मौजूदा फ़ाइलें पढ़ने या बदलने तक। यह रिपोर्ट, अनुबंध, पत्र और टेम्पलेट के साथ काम करने वाले लोगों के लिए है।

कब इस्तेमाल करें

  • ✓जब आपको कोई नया Word दस्तावेज़ चाहिए, जैसे रिपोर्ट, पत्र या प्रस्ताव।
  • ✓जब आपको Word टेम्पलेट को मूल्यों से भरना हो।
  • ✓जब आपको किसी Word फ़ाइल से टेक्स्ट या ढाँचा निकालना हो।

Skill का लिंक

https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/docx-official/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/XiaomiMiMo/MiMo-Code/blob/main/packages/cli/src/skill/builtin/.bundle/docx-official/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मुझे इस टेम्पलेट से एक औपचारिक पत्र Word फ़ॉर्मेट में चाहिए, जिसमें मेरे क्लाइंट का नाम और आज की तारीख भरी हो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट रास्ता चुनता है: शुरू से बनाना, टेम्पलेट भरना, फ़ाइल का ढाँचा बदलना, या टेक्स्ट पढ़ना। फिर वह दस्तावेज़ की जाँच करता है और समीक्षा के लिए PDF पूर्वावलोकन भी बना सकता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

DOCX Skill

An Apache-2.0 toolkit for producing, editing, and reading Microsoft Word (.docx) files. Written from scratch against the public ECMA-376 / ISO/IEC 29500 specification and built on permissively-licensed tooling (python-docx MIT, lxml BSD-3-Clause, optional external binaries pandoc and soffice) so it can be reused in commercial projects without restriction.

Decision matrix

Situation Path Read first
No source file — build a document from a prompt / data Author from scratch with python-docx create.md
You have a .docx template to fill in or lightly modify Placeholder replacement via python-docx, keeps styles edit.md → Workflow A — python-docx in-place edit
Deep structural edits, new sections, custom XML, unusual layouts Explode → edit XML → assemble edit.md → Workflow B — Explode → edit XML → assemble
You only need the text / structure / metadata out of a .docx Extraction pipeline read.md
Need a PDF preview for QA scripts/render_pdf.py via LibreOffice see QA below

If the task mixes several of these, do them in this order: read → plan → edit/create → validate.

One-time environment setup

Bundled runtime: when the MIMO_PYTHON environment variable is set, skip uv/python3 and pip installs entirely — run every command below with uv run replaced by "$MIMO_PYTHON" (e.g. "$MIMO_PYTHON" scripts/extract_text.py input.docx). This skill's Python dependencies are preinstalled in that interpreter; pip console scripts are unavailable, so always go through "$MIMO_PYTHON" -m <module>. A bundled LibreOffice is exposed as MIMO_SOFFICE and picked up automatically by the scripts here.

All scripts include PEP 723 inline metadata, so uv run resolves dependencies automatically — no manual install step needed. Just run:

uv run scripts/extract_text.py input.docx

If you don't use uv, install dependencies once:

python3 -m pip install --upgrade python-docx lxml
# Optional but recommended:
#   LibreOffice (for docx → pdf preview):   brew install --cask libreoffice   (macOS)
#                                           apt-get install -y libreoffice    (Debian/Ubuntu)
#   Poppler   (for pdf → image, QA loop):   brew install poppler

Alternatively, if this skill lives in a persistent workspace you can uv init a project, uv add python-docx lxml, and run scripts with uv run scripts/... from the project root — this gives you a lockfile and reproducible environment.

All scripts here use the standard library plus python-docx. No proprietary dependencies.

Common commands

# 1. Extract plain text (best for "what does this file say?" questions)
uv run scripts/extract_text.py input.docx > input.txt

# 2. Explode a .docx into readable XML for structural surgery
uv run scripts/explode.py input.docx exploded/

# 3. Assemble an exploded directory into a fresh .docx
uv run scripts/assemble.py exploded/ output.docx

# 4. Render a .docx as PDF (used for visual QA)
uv run scripts/render_pdf.py output.docx           # writes output.pdf next to it

# 5. Well-formedness check (ZIP integrity + parseable XML + python-docx open)
uv run scripts/audit.py output.docx

# 6. Accept every tracked change without needing Word/LibreOffice
uv run scripts/resolve_revisions.py reviewed.docx clean.docx

# 7. Add a comment to an exploded directory
uv run scripts/annotate.py exploded/ "Please check" --author "Reviewer" --anchor "text"

Every script is a small, self-contained Python file. Read the top of the file for full CLI options.

Authoring principles

Word is a flowing document format, not a slide surface. Users expect it to look like something a human wrote in Word — not a design tool trying to reinvent typography. Keep that in mind:

  1. Rely on named styles. Use Heading 1, Heading 2, Normal, Title, Quote, List Bullet, List Number, Caption. They are what makes Word's ToC, navigation pane, and cross-references work.
  2. One idea per paragraph. Long paragraphs are fine; run-on paragraphs are not. Break at logical boundaries.
  3. Structure first, prose second. Draft the heading tree, then write inside it. Reviewers scan headings before words.
  4. **Tables for tabular data
अक्सर पूछे जाने वाले सवाल

क्या यह Word फ़ाइलों को PDF में बदल सकती है?

हाँ। स्किल Word फ़ाइल को PDF या सादे टेक्स्ट में बदलना कवर करती है।

क्या यह मेरे टेम्पलेट की स्टाइल रखती है?

टेम्पलेट भरने के लिए स्किल प्लेसहोल्डर को उसी जगह बदलकर स्टाइल बनाए रखती है।

क्या इसके लिए अतिरिक्त टूल चाहिए?

कुछ फ़ीचर वैकल्पिक बाहरी टूल जैसे pandoc या LibreOffice इस्तेमाल करते हैं, अगर वे इंस्टॉल हों।

जानकारी

लेखक का मूल विवरण

Use this skill whenever a Microsoft Word (.docx) file is being produced, opened, transformed, or read. That includes: drafting reports, letters, contracts, RFPs, technical documents, or any long-form written deliverable; extracting text or structure from an existing Word file; filling a Word template with values; converting Word to PDF or plain text; splitting or merging documents; inspecting styles, headings, sections, tables, images, comments, or tracked changes. Trigger on mentions of 'Word doc', 'DOCX', 'Office document', a filename ending in .docx, or requests like 'turn this into a Word

repo: XiaomiMiMo/MiMo-Code

लोकप्रियता

GitHub स्टार
14k
रैंकिंग में स्थान
#11326
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

effect

14k

आपके एजेंट को Effect TypeScript फ़्रेमवर्क के सवालों के जवाब देने में मदद करती है, याददाश्त पर भरोसा करने के बजाय उसका सोर्स कोड और दस्तावेज़ जाँचकर।

कोडिंगसामान्य कोडिंग

arxiv

14k

आपके एजेंट को arXiv पर शोधपत्र खोजने, पढ़ने, उद्धृत करने और उन पर नज़र रखने में मदद करती है, जिसमें सार, BibTeX उद्धरण, PDF डाउनलोड और उद्धरण लिंक शामिल हैं।

लेखन और डॉक्यूमेंटरिसर्च

claude-code

14k

आपके एजेंट को कोडिंग का काम Claude Code कमांड-लाइन टूल को सौंपने में मदद करती है, एक बार चलने वाले रन, इंटरैक्टिव सेशन या पृष्ठभूमि जॉब के रूप में।

AI और एजेंटएजेंट

codex

14k

आपके एजेंट को बिना चैट विंडो के OpenAI Codex कमांड-लाइन टूल चलाने में मदद करती है, कोडिंग काम, स्क्रिप्ट और स्वचालित पाइपलाइन के लिए।

AI और एजेंटएजेंट

मिलती-जुलती skills