一键导入
read-docx
Read Word (.docx) files and extract text, headings outline, and tables using Python python-docx.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read Word (.docx) files and extract text, headings outline, and tables using Python python-docx.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | read-docx |
| description | Read Word (.docx) files and extract text, headings outline, and tables using Python python-docx. |
读取 Word(.docx)文件内容,提取文本、表格、标题结构等信息。
使用方式:在聊天中输入 #read-docx 并提供文件路径。
#read-docx
帮我读取 D:/docs/需求文档.docx 的内容
#read-docx
提取 D:/docs/report.docx 中的所有表格
#read-docx
查看 D:/docs/design.docx 的标题大纲结构
如未安装:
pip install python-docx
text - 提取全部文本(默认)table - 提取表格outline - 提取标题大纲all - 文本+表格+大纲python -c "
from docx import Document
doc = Document(r'<DOCX路径>')
for para in doc.paragraphs:
if para.text.strip():
prefix = ''
if para.style.name.startswith('Heading'):
level = para.style.name.replace('Heading ', '')
prefix = '#' * int(level) + ' ' if level.isdigit() else ''
print(f'{prefix}{para.text}')
"
python -c "
from docx import Document
doc = Document(r'<DOCX路径>')
for para in doc.paragraphs:
if para.style.name.startswith('Heading'):
level = para.style.name.replace('Heading ', '')
indent = ' ' * (int(level) - 1) if level.isdigit() else ''
print(f'{indent}- {para.text}')
"
python -c "
from docx import Document
doc = Document(r'<DOCX路径>')
for i, table in enumerate(doc.tables):
print(f'--- 表格 {i+1} ---')
for row in table.rows:
cells = [cell.text.strip() for cell in row.cells]
print(' | '.join(cells))
print()
"
python -c "
from docx import Document
from docx.oxml.ns import qn
doc = Document(r'<DOCX路径>')
for element in doc.element.body:
if element.tag == qn('w:p'):
text = element.text
if text and text.strip():
print(text)
elif element.tag == qn('w:tbl'):
from docx.table import Table
table = Table(element, doc)
print()
for row in table.rows:
cells = [cell.text.strip() for cell in row.cells]
print('| ' + ' | '.join(cells) + ' |')
print()
"
python -c "
from docx import Document
doc = Document(r'<DOCX路径>')
props = doc.core_properties
print(f'标题: {props.title}')
print(f'作者: {props.author}')
print(f'创建时间: {props.created}')
print(f'修改时间: {props.modified}')
print(f'段落数: {len(doc.paragraphs)}')
print(f'表格数: {len(doc.tables)}')
"
📝 DOCX 内容:filename.docx
═══════════════════════════════════════════
段落数:X | 表格数:X
═══════════════════════════════════════════
(文档内容,标题用 Markdown 格式展示)
.docx 格式(Office 2007+),不支持旧版 .doc基于 Playwright MCP 的浏览器自动化测试,支持页面交互、录制回放、接口验证、结合后端代码做端到端测试。当用户提到浏览器测试、页面测试、UI测试、录制操作、自动化测试、playwright 时激活。
Use JADX to decompile JAR/APK/DEX/AAR files. Especially good for Android apps. Supports CLI batch decompilation and GUI browsing.
通过 Apache SkyWalking MCP Server 查询和分析应用性能指标,支持服务拓扑、链路追踪(Trace)、日志查询、MQE 指标表达式、告警查询、实例/端点分析等,帮助开发者快速定位性能瓶颈、异常链路和线上问题。当用户提到 skywalking、APM、链路追踪、trace、性能分析、慢接口、拓扑图、服务指标、P99、响应时间、吞吐量、错误率、告警 时激活。
通过 Apache SkyWalking MCP Server 查询和分析应用性能指标,支持服务拓扑、链路追踪(Trace)、日志查询、MQE 指标表达式、告警查询、实例/端点分析等,帮助开发者快速定位性能瓶颈、异常链路和线上问题。当用户提到 skywalking、APM、链路追踪、trace、性能分析、慢接口、拓扑图、服务指标、P99、响应时间、吞吐量、错误率、告警 时激活。
通过 Grafana Loki MCP Server 查询线上/测试环境日志,支持按服务名和关键词搜索、日志量统计、上下文日志获取、服务列表查询等,帮助开发者快速定位线上问题。当用户提到查日志、看日志、log、error、exception、线上报错、排查问题、Loki、Grafana 或具体服务名时激活。
基于 JProfiler 的 Java 性能与内存深度分析 Skill,支持 Heap Snapshot(.jps)、CPU Snapshot、Thread Dump、Allocation Recording 等离线分析,结合 JProfiler 命令行工具链实现自动化诊断,覆盖内存泄漏、CPU 热点、线程瓶颈、数据库慢查询、锁竞争等全方位性能问题。