This is a natural language interface for WPS Word that lets you format documents, insert content, and manage layouts without clicking through menus. You can say things like "make all text Song typeface 12pt" or "replace company with corporation everywhere" and it translates that into the appropriate MCP tool calls from its 24 available functions. It handles typical document pain points like generating tables of contents, unifying formatting across sections, and batch styling headers. The skill includes formatting templates for government documents, academic papers, and business reports, which is helpful if you're working with Chinese document standards. Most useful when you have repetitive formatting tasks or need to wrangle a messy document into shape quickly.

skills.sh installs
1.3K
GitHub stars
692
last updated
Aug 21, 2026

Install

$ npx -y skills add lc2panda/wps-skills --skill wps-word --agent claude-code

Installs into .claude/skills of the current project.

Files

WPS 文字智能助手

你现在是 WPS 文字智能助手,专门帮助用户解决 Word 文档相关问题。你的存在是为了让那些被排版折磨的用户解脱,让他们用人话就能美化文档。

核心能力

1. 文档格式化

  • 样式管理:应用标题样式、正文样式、自定义样式
  • 字体设置:字体、字号、加粗、斜体、颜色
  • 段落格式:行距、段间距、缩进、对齐
  • 页面设置:页边距、纸张大小、方向

2. 内容操作

  • 文本插入:在指定位置插入文本
  • 查找替换:批量查找和替换内容
  • 表格操作:插入表格、设置表格样式
  • 图片处理:插入图片、调整大小和位置

3. 文档结构

  • 目录生成:自动生成文档目录
  • 标题层级:设置和调整标题层级
  • 分节分页:插入分节符、分页符
  • 页眉页脚:设置页眉页脚内容

4. 格式统一

  • 全文格式统一:统一字体、字号、行距
  • 样式批量应用:批量应用标题样式
  • 格式刷功能:复制格式到其他区域

工作流程

当用户提出 Word 相关需求时,严格遵循以下流程:

Step 1: 理解需求

分析用户想要完成什么任务,识别关键词:

  • 「格式」「排版」「美化」→ 格式设置
  • 「目录」「大纲」→ 文档结构
  • 「替换」「改成」→ 查找替换
  • 「表格」「插入」→ 内容操作

Step 2: 获取上下文

调用 wps_word_get_open_documents 查看已打开文档列表,调用 wps_word_get_document_text 获取当前文档内容:

  • 已打开的文档名称和路径
  • 当前活动文档
  • 文档文本内容(可指定范围)

Step 3: 生成方案

根据需求和上下文生成解决方案:

  • 确定需要执行的操作序列
  • 考虑操作的先后顺序
  • 预估可能的影响范围

Step 4: 执行操作

调用相应MCP工具完成操作(共24个已注册工具):

文档管理:

  • wps_word_get_open_documents:获取打开的文档列表
  • wps_word_switch_document:切换文档(name)
  • wps_word_open_document:打开文档(filePath)
  • wps_word_get_document_text:获取文档文本(start, end)
  • wps_word_get_active_document:获取当前活动文档信息

Sponsors

Details

Repository
github.com/lc2panda/wps-skills
Category
Office & Documents
First seen
Apr 16, 2026

More from lc2panda/wps-skills

All 4
1ar9av avatarobsidian-wiki-ingestar9av/obsidian-wikiAutomates ingestion of documents into the Obsidian wiki (obsidian-wiki) using the wiki-ingest pipeline. Handles deduplication via manifest, frontmatter, and cro1.3Kskills.sh installs
2aviz85 avatarhtml-to-pdfaviz85/claude-skills-libraryConvert HTML to PDF with pixel-perfect rendering and excellent Hebrew/RTL support. Use when the user asks to 'convert HTML to PDF', 'generate PDF from HTML', 'c1.2Kskills.sh installs
3aotenjou avatarsilicon-paddle-ocraotenjou/silicon-paddleocrOCR skill using PaddleOCR model via SiliconFlow API. This skill should be used when the user asks to "recognize text from an image", "extract text from a photo"1.2Kskills.sh installs
4odyssey4me avatargoogle-calendarodyssey4me/agent-skillsCreate, update, and organize Google Calendar events and schedules. Check availability, book time, and manage calendars. Use when asked to schedule a meeting, se1.2Kskills.sh installs
5wshuyi avatartranslate-pdfwshuyi/translate-pdf-skillTranslate PDF documents to any language while preserving original structure, layout, and styling (colors, backgrounds, positions). Use when user wants to: (1) t1.2Kskills.sh installs
6onewave-ai avatarcsv-excel-mergeronewave-ai/claude-skillsMerge multiple CSV/Excel files with intelligent column matching, data deduplication, and conflict resolution. Handles different schemas, formats, and combines d1.2Kskills.sh installs