Agent skill
docx-basic-document-creation
Sub-skill of docx: Basic Document Creation (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/data/documents/docx/basic-document-creation
SKILL.md
Basic Document Creation (+3)
Basic Document Creation
from docx import Document
from docx.shared import Pt, Inches
doc = Document()
# Add heading
doc.add_heading("Document Title", level=0)
# Add paragraph with formatting
*See sub-skills for full details.*
## Add Tables
```python
from docx import Document
from docx.shared import Inches
doc = Document()
table = doc.add_table(rows=3, cols=3)
table.style = 'Table Grid'
# Fill cells
*See sub-skills for full details.*
## Add Images
```python
from docx import Document
from docx.shared import Inches
doc = Document()
doc.add_heading("Document with Image", level=0)
doc.add_picture("image.png", width=Inches(4))
doc.add_paragraph("Caption for the image.")
doc.save("output.docx")
Advanced Formatting
from docx import Document
from docx.shared import Pt, RGBColor
from docx.enum.text import WD_ALIGN_PARAGRAPH
doc = Document()
# Custom heading
heading = doc.add_heading(level=1)
run = heading.add_run("Custom Styled Heading")
*See sub-skills for full details.*
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?