docs: 完善测试文档和 XLS 格式说明

- 补充测试目录结构说明
- 添加完整的运行所有测试命令
- 增加 Core/Utils/HTML 下载器测试说明
- SKILL.md 中补充 XLS 格式支持信息

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 20:12:42 +08:00
parent a578c0b7ac
commit 3b2b368db2
2 changed files with 74 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
---
name: lyxy-document-reader
description: 统一文档解析工具 - 将 DOCX、XLSX、PPTX、PDF、HTML/URL 转换为 Markdown。支持全文输出、字数统计、行数统计、标题提取、章节提取、正则搜索。当用户要求"读取/解析/打开文档"、上传 .docx/.xlsx/.pptx/.pdf/.html 文件、或提供 URL 时使用。
description: 统一文档解析工具 - 将 DOCX、XLS、XLSX、PPTX、PDF、HTML/URL 转换为 Markdown。支持全文输出、字数统计、行数统计、标题提取、章节提取、正则搜索。当用户要求"读取/解析/打开文档"、上传 .docx/.xls/.xlsx/.pptx/.pdf/.html 文件、或提供 URL 时使用。
license: MIT
compatibility: Requires Python 3.11+。优先使用 lyxy-runner-python skill次选 uv run --with降级到主机 Python。
---
@@ -27,6 +27,7 @@ python scripts/lyxy_document_reader.py <文件路径或URL>
**支持格式**
- DOCXWord 文档)
- XLSExcel 旧格式)
- XLSXExcel 表格)
- PPTXPowerPoint 演示文稿)
- PDFPDF 文档,支持 OCR
@@ -43,8 +44,8 @@ python scripts/lyxy_document_reader.py <文件路径或URL>
### 触发词
- 中文:"读取/解析/打开 文档/Word/Excel/PPT/PDF/网页"
- 英文:"read/parse/extract document/docx/xlsx/pptx/pdf/html"
- 文件扩展名:`.docx``.xlsx``.pptx``.pdf``.html``.htm`
- 英文:"read/parse/extract document/docx/xls/xlsx/pptx/pdf/html"
- 文件扩展名:`.docx``.xls``.xlsx``.pptx``.pdf``.html``.htm`
- URL`http://``https://`
## Quick Reference