From office-docx
Word/docx 文档操作技能 - 读写段落与表格、格式转换(docx/md/pdf)、模板生成、批量处理、智能分析。适用于合同生成、报告撰写、文档格式转换等场景
npx claudepluginhub lazygophers/ccplugin --plugin office-docxThis skill uses the workspace's default tool permissions.
通过 MCP 工具 + 包装层操作 Word 文件。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
通过 MCP 工具 + 包装层操作 Word 文件。
通过 office-word MCP 服务提供,覆盖 Word 文档完整 CRUD:
create_document - 创建新文档(filename, title?, author?)get_document_info / get_document_text / get_document_outline - 读取文档copy_document / convert_to_pdf - 复制和导出list_available_documents - 列出目录中的 Word 文件add_heading - 添加标题(level 1-9,支持字体/粗体/斜体设置)add_paragraph - 添加段落(支持样式和格式设置)add_page_break - 插入分页符add_table - 创建表格(rows, cols, data)add_picture - 插入图片(image_path, width?)insert_numbered_list_near_text - 添加有序/无序列表insert_header_near_text - 在指定位置插入标题insert_line_or_paragraph_near_text - 在指定位置插入段落find_text_in_document - 查找文本search_and_replace - 全局替换get_paragraph_text_from_document - 提取指定段落format_text - 文本格式(粗体/斜体/下划线/颜色/字号)delete_paragraph - 删除段落create_custom_style - 创建自定义样式format_table / set_table_cell_shading / apply_table_alternating_rowshighlight_table_header / merge_table_cells / set_table_cell_alignmentset_table_column_width / set_table_width / auto_fit_table_columns 等通过 scripts/wrapper.py 提供,需要时用 uv run 执行:
# docx -> markdown
uv run python scripts/wrapper.py convert input.docx -f md
# docx -> pdf
uv run python scripts/wrapper.py convert input.docx -f pdf
# markdown -> docx
uv run python scripts/wrapper.py convert input.md -f docx
# 批量读取文档信息
uv run python scripts/wrapper.py batch-read ./docs/
# 批量转换为 markdown
uv run python scripts/wrapper.py batch-convert ./docs/ -f md -o ./output/
# 创建标准报告模板
uv run python scripts/wrapper.py create-template template.docx -t "项目报告"
# 基于模板生成文档
uv run python scripts/wrapper.py template template.docx report.docx -v author=张三 -v date=2026-03-13
# 分析文档结构和统计信息
uv run python scripts/wrapper.py analyze report.docx
# 提取关键信息(标题/表格/列表/粗体文本)
uv run python scripts/wrapper.py extract report.docx
{{变量名}} 作为占位符