refactor: 调整 SKILL.md 结构,突出执行路径优先级
This commit is contained in:
20
SKILL.md
20
SKILL.md
@@ -7,21 +7,21 @@ compatibility: Requires Python 3.11+。优先使用 lyxy-runner-python skill,
|
||||
|
||||
# 统一文档解析 Skill
|
||||
|
||||
## Purpose
|
||||
## 🔴 重要:执行路径优先级(必须遵守)
|
||||
|
||||
**第一步:获取执行建议**
|
||||
|
||||
```bash
|
||||
python scripts/lyxy_document_reader.py --advice <文件路径或URL>
|
||||
```
|
||||
|
||||
这会输出准确的执行命令,包含所需的依赖配置。
|
||||
|
||||
**执行路径优先级**
|
||||
### 执行路径选择(按优先级顺序)
|
||||
1. **lyxy-runner-python skill(首选)** - 自动管理依赖
|
||||
2. **uv run --with** - 按需加载依赖
|
||||
3. **主机 Python + pip install** - 手动安装依赖
|
||||
|
||||
### 第一步:获取执行建议
|
||||
```bash
|
||||
python scripts/lyxy_document_reader.py --advice <文件路径或URL>
|
||||
```
|
||||
这会输出准确的执行命令,包含所需的依赖配置。
|
||||
|
||||
## Purpose
|
||||
|
||||
**支持格式**
|
||||
- DOCX(Word 文档)
|
||||
- XLSX(Excel 表格)
|
||||
|
||||
Reference in New Issue
Block a user