office-docslisted
Install: claude install-skill Claudient/Claudient
# Office Docs Skill
## When to activate
- Generating a PowerPoint presentation from structured content or data
- Creating a Word document report from a template or data source
- Building an Excel spreadsheet with formatted data, formulas, and charts
- Automating document generation in a CI/CD or data pipeline
- Converting markdown or structured data to professional Office documents
## When NOT to use
- Simple PDF generation — use a PDF library (WeasyPrint, reportlab)
- Google Slides/Docs — use the Google Workspace MCP
- Interactive dashboards — use a BI tool (Metabase, Grafana)
- Real-time collaborative editing — use Google Workspace or Office 365 directly
## Instructions
### PowerPoint presentation (python-pptx)
```python
Install: pip install python-pptx
Generate a PPTX presentation for [topic].
Topic: [describe]
Slides: [list slide titles and key points]
Style: [corporate / minimal / dark / branded]
from pptx import Presentation
from pptx.util import Inches, Pt, Emu
from pptx.dml.color import RGBColor
from pptx.enum.text import PP_ALIGN
def create_presentation(title: str, slides: list[dict], output_path: str):
prs = Presentation()
# Set slide dimensions (16:9)
prs.slide_width = Inches(13.33)
prs.slide_height = Inches(7.5)
# Title slide
slide_layout = prs.slide_layouts[0] # Title Slide layout
slide = prs.slides.add_slide(slide_layout)
slide.shapes.title.text = title
slide.placeholders[1].text = "Prepared by [Name] · [Da