Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/cas-bigdatalab/piflow --skill docx-validate명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | docx_validate |
| description | 验证DOCX文件格式有效性 |
| version | 1.0.0 |
| category | document_processing |
| name_zh | 验证DOCX文件格式有效性算子 |
| input_params | [{"name":"input_path","type":"docx_file","description":"输入DOCX文件路径"},{"name":"output_path","type":"docx_file","description":"输出DOCX文件路径"}] |
| output_params | [{"name":"output_path","type":"json_file","description":"验证结果JSON文件"}] |
| tag | 数据校验 |
| publisher | COMMUNITY |
该技能验证DOCX文件格式的有效性,检查文件是否为有效的ZIP压缩包,以及是否包含DOCX所需的必要文件。
python scripts/run_docx_validate.py --input_path <输入DOCX> --output_path <输出JSON>
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
| input_path | string | 是 | - | 输入DOCX文件路径 |
| output_path | string | 是 | - | 输出JSON结果文件路径 |
python scripts/run_docx_validate.py --input_path document.docx --output_path result.json
{
"valid": true,
"file_exists": true,
"is_zip": true,
"has_required_files": true,
"required_files": [
"[Content_Types].xml",
"_rels/.rels",
"word/document.xml"
]
| 项目 | 说明 |
|---|---|
| valid | 整体验证结果 |
| file_exists | 文件是否存在 |
| is_zip | 是否为有效ZIP文件 |
| has_required_files | 是否包含必要文件 |
| required_files | 必需文件列表 |
| missing_files | 缺失的必需文件 |
| file_size | 文件大小(字节) |
| total_files | ZIP内文件总数 |
| errors | 错误信息列表 |
| warnings | 警告信息列表 |
SOC 직업 분류 기준