npx skills add https://github.com/aleister1102/skills --skill docsoffice 和 pdftoppm 可用,则转换 DOCX -> PDF -> PNG。scripts/render_docx.py(需要 pdf2image 和 Poppler)。python-docx 进行编辑和结构化创建(标题、样式、表格、列表)。python-docx 提取文本作为后备方案,并指出布局风险。tmp/docs/ 存放中间文件;完成后删除。soffice and pdftoppm are available, convert DOCX -> PDF -> PNGs.scripts/render_docx.py (requires pdf2image and Poppler).python-docx for edits and structured creation (headings, styles, tables, lists).python-docx as a fallback and call out layout risk.广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
output/doc/ 目录下。推荐使用 uv 进行依赖管理。
Python 包:
uv pip install python-docx pdf2image
如果 uv 不可用:
python3 -m pip install python-docx pdf2image
系统工具(用于渲染):
# macOS (Homebrew)
brew install libreoffice poppler
# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utils
如果无法在此环境中安装,请告知用户缺少哪个依赖项以及如何在本地安装。
无必需的环境变量。
DOCX -> PDF:
soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX
PDF -> PNG:
pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME
捆绑的辅助脚本:
python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages
每周安装次数
1
代码仓库
首次出现
2026年2月3日
安装于
trae1
opencode1
cursor1
kiro-cli1
codex1
github-copilot1
tmp/docs/ for intermediate files; delete when done.output/doc/ when working in this repo.Prefer uv for dependency management.
Python packages:
uv pip install python-docx pdf2image
If uv is unavailable:
python3 -m pip install python-docx pdf2image
System tools (for rendering):
# macOS (Homebrew)
brew install libreoffice poppler
# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utils
If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
No required environment variables.
DOCX -> PDF:
soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCX
PDF -> PNGs:
pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAME
Bundled helper:
python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages
Weekly Installs
1
Repository
First Seen
Feb 3, 2026
Installed on
trae1
opencode1
cursor1
kiro-cli1
codex1
github-copilot1
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
29,800 周安装
OpenAI API 完整文档技能 - 官方文档集成与智能问答助手
1 周安装
Next.js 官方文档中文指南 - 从入门到精通,掌握App Router、数据获取与性能优化
1 周安装
Hono 框架中文文档 | 轻量级 Web 框架,支持 Bun、Deno、Cloudflare Workers
1 周安装
Express.js 全面中文文档与 API 参考 | 涵盖安全漏洞、性能优化与迁移指南
1 周安装
Drizzle ORM 完整文档 | 无头 ORM 与类 SQL 查询指南
1 周安装
Cortex 文档大全 | 集成指南与 API 参考 | 涵盖 FireHydrant、ServiceNow、Datadog 等
1 周安装