markdown-to-docx by duc01226/easyplatform
npx skills add https://github.com/duc01226/easyplatform --skill markdown-to-docx[IMPORTANT] 在开始之前,使用
TaskCreate将所有工作分解为小任务——包括每个文件读取任务。这可以防止因文件过长而丢失上下文。对于简单任务,AI 必须询问用户是否跳过。
目标: 将 Markdown 文件转换为支持 GFM 和正确格式的 Microsoft Word (.docx) 格式。
工作流程:
关键规则:
保持怀疑态度。运用批判性思维、顺序性思维。每个主张都需要可追溯的证据,以及置信度百分比(想法应超过 80%)。
将 markdown 文件转换为可编辑的 Microsoft Word 文档,支持表格、代码块、图片和 LaTeX 数学公式。
此技能需要 npm 依赖项。 运行以下命令之一:
# Option 1: ClaudeKit CLI (recommended)
ck init
# Option 2: Manual
cd .claude/skills/markdown-to-docx
npm install
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
依赖项: markdown-docx, gray-matter
# Basic conversion
node .claude/skills/markdown-to-docx/scripts/convert.cjs --input ./README.md
# Specify output path
node .claude/skills/markdown-to-docx/scripts/convert.cjs -i ./doc.md -o ./output.docx
# With custom theme
node .claude/skills/markdown-to-docx/scripts/convert.cjs -i ./doc.md --theme ./theme.json
| 选项 | 简写 | 描述 | 默认值 |
|---|---|---|---|
--input | -i | 输入 markdown 文件 | (必填) |
--output | -o | 输出 DOCX 路径 | {input}.docx |
--theme | -t | 自定义主题 JSON | 内置 |
--title | 文档标题 | 文件名 | |
--help | -h | 显示帮助 |
$...$, $$...$$)成功时返回 JSON:
{
"success": true,
"input": "/path/to/input.md",
"output": "/path/to/output.docx"
}
生成的 DOCX 文件适用于:
重要任务规划说明(必须遵守)
每周安装次数
225
仓库
GitHub 星标数
5
首次出现
2026年1月24日
安全审计
安装于
opencode216
gemini-cli210
codex207
cursor204
github-copilot201
kimi-cli183
[IMPORTANT] Use
TaskCreateto break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.
Goal: Convert Markdown files to Microsoft Word (.docx) format with GFM support and proper formatting.
Workflow:
Key Rules:
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
Convert markdown files to editable Microsoft Word documents with support for tables, code blocks, images, and LaTeX math equations.
This skill requires npm dependencies. Run one of:
# Option 1: ClaudeKit CLI (recommended)
ck init
# Option 2: Manual
cd .claude/skills/markdown-to-docx
npm install
Dependencies: markdown-docx, gray-matter
# Basic conversion
node .claude/skills/markdown-to-docx/scripts/convert.cjs --input ./README.md
# Specify output path
node .claude/skills/markdown-to-docx/scripts/convert.cjs -i ./doc.md -o ./output.docx
# With custom theme
node .claude/skills/markdown-to-docx/scripts/convert.cjs -i ./doc.md --theme ./theme.json
| Option | Short | Description | Default |
|---|---|---|---|
--input | -i | Input markdown file | (required) |
--output | -o | Output DOCX path | {input}.docx |
--theme | -t |
$...$, $$...$$)Returns JSON on success:
{
"success": true,
"input": "/path/to/input.md",
"output": "/path/to/output.docx"
}
Generated DOCX files work with:
IMPORTANT Task Planning Notes (MUST FOLLOW)
Weekly Installs
225
Repository
GitHub Stars
5
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode216
gemini-cli210
codex207
cursor204
github-copilot201
kimi-cli183
LarkSuite Whiteboard CLI 工具:自动化生成专业图表与画板,支持DSL和Mermaid
23,400 周安装
| Custom theme JSON |
| built-in |
--title | Document title | filename |
--help | -h | Show help |