← 返回 Skills 市场
harrylabsj

Doc Weaver

作者 haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
0
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install doc-weaver
功能描述
Transform Markdown or outlines into polished Word/PDF documents with professional templates
使用说明 (SKILL.md)

Doc Weaver

Convert Markdown documents or structured outlines into publication-ready Word (.docx) or PDF documents using built-in professional templates.

Workflow

  1. Parse input — Read headings, lists, code blocks, tables, and blockquotes from Markdown.
  2. Auto-detect type — Identify document purpose from structure: PRD, report, thesis, manual, or contract.
  3. Load template — Apply a matching template (10+ built-in) with covers, heading fonts, color schemes, and page styles.
  4. Auto-number headings — Multi-level heading numbering (1, 1.1, 1.1.1) with configurable starting level.
  5. Table of contents — Generate TOC from heading hierarchy with clickable page references.
  6. Format tables — Apply borders, auto-width columns, style header rows, alternating row shading.
  7. Special elements — Code blocks → monospace + shaded background; blockquotes → indented + gray sidebar; images → inline with captions.
  8. Headers & footers — Title, page numbers (X of Y), date, and document path.
  9. Export — Write .docx (direct) or .pdf (via pandoc/md-to-pdf).

Sample Prompts

  • doc-weaver generate --input prd.md --template prd --output prd.docx
  • doc-weaver generate --input thesis.md --template academic --output thesis.pdf
  • doc-weaver preview --template report --show-templates
  • doc-weaver batch --inputs *.md --template manual --outdir ./output

Safety

  • All input stays local; no data is sent to external conversion services.
  • Template engine supports custom CSS for PDF styling when using --pdf-engine pandoc.
  • Requires pandoc and/or python-docx installed for PDF output.
安全使用建议
Install only if you are comfortable treating this as a local Markdown preview/styling helper, not a real Word/PDF generator. Verify any produced .docx or .pdf files before relying on them in workflows, archives, signatures, or reviews.
能力评估
Purpose & Capability
The stated purpose is Word/PDF generation, but the helper renders styled Markdown/text and writes it with the requested extension; advertised features such as real DOCX/PDF conversion, batch mode, headers/footers, page references, image handling, and 10+ templates are not implemented in the inspected artifacts.
Instruction Scope
The sample commands use unsupported subcommands such as generate and batch, and the runtime options advertise .docx/.pdf output without validating or producing those formats.
Install Mechanism
No installer, hidden package hook, background setup, or dependency installation behavior was found; metadata and static scan are clean.
Credentials
Reading a user-provided Markdown file and writing a user-selected output path is proportionate for a document tool, and no network or credential access was found.
Persistence & Privilege
No persistence mechanism, privilege escalation, credential/session access, or long-running worker behavior was present in the artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install doc-weaver
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /doc-weaver 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
doc-weaver 1.0.0 - Initial release: Transform Markdown or outline files into publication-ready Word (.docx) or PDF documents with built-in professional templates. - Auto-detects document type (PRD, report, thesis, manual, contract) and applies matching style. - Supports advanced formatting: heading numbering, table of contents, tables, code blocks, blockquotes, images with captions, and styled headers/footers. - Exports directly to .docx and to .pdf via Pandoc or md-to-pdf. - All processing is local; supports custom CSS for PDF styling. - Includes sample command-line prompts and batch conversion.
元数据
Slug doc-weaver
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Doc Weaver 是什么?

Transform Markdown or outlines into polished Word/PDF documents with professional templates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 0 次。

如何安装 Doc Weaver?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install doc-weaver」即可一键安装,无需额外配置。

Doc Weaver 是免费的吗?

是的,Doc Weaver 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Doc Weaver 支持哪些平台?

Doc Weaver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Doc Weaver?

由 haidong(@harrylabsj)开发并维护,当前版本 v1.0.0。

💬 留言讨论