بنقرة واحدة
docx
Create, read, and modify Microsoft Word (.docx) documents using Python and standard libraries.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create, read, and modify Microsoft Word (.docx) documents using Python and standard libraries.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Manage Git repositories within the workspace. Check status, commit changes, view diffs, and create branches.
Create, modify, and analyze PowerPoint presentations (.pptx) using standard Python libraries.
Create animated GIFs optimized for Slack (small file size, loop, transparency) using Python libraries like imageio and Pillow.
Generate structured JSON theme configurations for UI components, presentations, or documents. Supports color palettes, typography, and spacing.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends AI capabilities with specialized knowledge, workflows, or tool integrations.
Suite of tools for creating elaborate, multi-component AnyCowork HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
استنادا إلى تصنيف SOC المهني
| name | docx |
| description | Create, read, and modify Microsoft Word (.docx) documents using Python and standard libraries. |
| license | MIT |
This skill provides capabilities to work with Microsoft Word documents (.docx) using Python.
This skill relies on the python-docx library.
To install: pip install python-docx
Use python-docx to create a new document.
from docx import Document
from docx.shared import Pt
# Initialize
doc = Document()
# Add Title
doc.add_heading('Document Title', 0)
# Add Paragraph
p = doc.add_paragraph('This is a paragraph.')
p.add_run(' bold text').bold = True
p.add_run(' and some ')
p.add_run('italic text.').italic = True
# Add Image (if available)
# doc.add_picture('image.png', width=Inches(1.25))
# Save
doc.save('output.docx')
To extract specific content or read paragraphs:
from docx import Document
doc = Document('input.docx')
full_text = []
for para in doc.paragraphs:
full_text.append(para.text)
print('\n'.join(full_text))
To edit an existing file (e.g., replace placeholder text):
from docx import Document
doc = Document('template.docx')
for paragraph in doc.paragraphs:
if 'PLACEHOLDER' in paragraph.text:
paragraph.text = paragraph.text.replace('PLACEHOLDER', 'Replacement Text')
doc.save('updated.docx')
Normal, Heading 1, List Bullet) rather than direct formatting when possible.