将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx 时先检查是否已安装 mineru-ocr skill;未安装先引导安装,安装后优先用 mineru-ocr;仅在用户明确同意时再用本地回退方案。
$npx -y skills add pa1nrui1/legal-skills --skill law-to-markdownInstalls into the current project.
Run `npx skills use "https://github.com/pa1nrui1/legal-skills" --skill "pa1nrui1/legal-skills/law-to-markdown"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/pa1nrui1/legal-skills" that are relevant to the current task. Run `npx skills add "https://github.com/pa1nrui1/legal-skills"` and select the relevant skills, then follow their instructions.