返回 Skill 列表
extension
分类: 开发与工程无需 API Key

MSOffice

创建关于任何主题的MS Word和PowerPoint文档。当用户需要:文档、报告、Word文档、演示文稿、幻灯片、PowerPoint、演示集时使用。

person作者: jakexiaohubgithub

MS Office Document Generator

Creates professional Word (.docx) and PowerPoint (.pptx) documents.

Workflow Selection

| User Intent | Workflow | Output | |-------------|----------|--------| | "document", "report", "word", "write up" | Templates/Word.md | .docx | | "presentation", "slides", "powerpoint", "deck" | Templates/PowerPoint.md | .pptx |

Quick Reference

Tool Location: ~/.claude/Skills/MSOffice/Tools/generate.py Python Interpreter: ~/.claude/Skills/MSOffice/venv/bin/python Output Directory: ~/Downloads/ (for review before delivery)

Usage Pattern

  1. Understand the user's topic and document requirements
  2. Research the topic if needed (use Research skill for comprehensive content)
  3. Structure content into the appropriate JSON format
  4. Generate document using the CLI tool
  5. Inform user of file location

Document Delivery

Files are saved to ~/Downloads/ by default. User can:

  • Access locally on Mac
  • Download via Kai Mobile App (browse to ~/Downloads/, tap file, download)

CLI Usage

# Word document
~/.claude/Skills/MSOffice/venv/bin/python ~/.claude/Skills/MSOffice/Tools/generate.py \
  --type word \
  --title "Document Title" \
  --content '{"sections": [...]}' \
  --output ~/Downloads/filename.docx

# PowerPoint
~/.claude/Skills/MSOffice/venv/bin/python ~/.claude/Skills/MSOffice/Tools/generate.py \
  --type powerpoint \
  --title "Presentation Title" \
  --content '{"slides": [...]}' \
  --output ~/Downloads/filename.pptx