docx-to-markdown by duc01226/easyplatform
npx skills add https://github.com/duc01226/easyplatform --skill docx-to-markdown[IMPORTANT] 在开始前使用
TaskCreate将所有工作分解为小任务——包括每个文件读取任务。这可以防止因文件过长而丢失上下文。对于简单任务,AI 必须询问用户是否跳过。
目标: 将 Microsoft Word (.docx) 文件转换为支持 GFM(表格、图片、格式)的 Markdown 格式。
工作流程:
关键规则:
保持怀疑态度。运用批判性思维、顺序性思维。每个主张都需要可追溯的证据,并标明置信度百分比(想法应超过 80%)。
将 Microsoft Word (.docx) 文件转换为支持 GitHub 风格 Markdown 的 Markdown 格式。
此技能需要 npm 依赖项。 运行以下命令之一:
# 选项 1:通过 ClaudeKit CLI 安装(推荐)
ck init # 运行 install.sh 以处理所有技能
# 选项 2:手动安装
cd .claude/skills/docx-to-markdown
npm install
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
依赖项: mammoth, turndown, turndown-plugin-gfm
# 基本转换
node .claude/skills/docx-to-markdown/scripts/convert.cjs --input ./document.docx
# 指定输出路径
node .claude/skills/docx-to-markdown/scripts/convert.cjs -i ./doc.docx -o ./output.md
# 将图片保存到文件夹
node .claude/skills/docx-to-markdown/scripts/convert.cjs -i ./doc.docx --images ./images/
| 选项 | 简称 | 描述 | 默认值 |
|---|---|---|---|
--input | -i | 输入 DOCX 文件路径 | (必需) |
--output | -o | 输出 markdown 文件路径 | {input}.md |
--images | 提取图片的目录 | 内联 base64 | |
--help | -h | 显示帮助信息 |
DOCX → mammoth → HTML → turndown → Markdown
两阶段转换(DOCX→HTML→MD)遵循 mammoth 官方推荐以获得最佳效果。
成功时返回 JSON:
{
"success": true,
"input": "/path/to/input.docx",
"output": "/path/to/output.md",
"stats": {
"images": 3,
"tables": 2,
"headings": 5
}
}
重要任务规划说明(必须遵守)
每周安装次数
166
代码仓库
GitHub 星标数
5
首次出现
2026年1月24日
安全审计
安装于
opencode157
gemini-cli156
codex152
cursor148
github-copilot148
kimi-cli142
[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 Microsoft Word (.docx) files to Markdown with GFM support (tables, images, 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 Microsoft Word (.docx) files to Markdown format with GitHub-Flavored Markdown support.
This skill requires npm dependencies. Run one of the following:
# Option 1: Install via ClaudeKit CLI (recommended)
ck init # Runs install.sh which handles all skills
# Option 2: Manual installation
cd .claude/skills/docx-to-markdown
npm install
Dependencies: mammoth, turndown, turndown-plugin-gfm
# Basic conversion
node .claude/skills/docx-to-markdown/scripts/convert.cjs --input ./document.docx
# Specify output path
node .claude/skills/docx-to-markdown/scripts/convert.cjs -i ./doc.docx -o ./output.md
# Preserve images to folder
node .claude/skills/docx-to-markdown/scripts/convert.cjs -i ./doc.docx --images ./images/
| Option | Short | Description | Default |
|---|---|---|---|
--input | -i | Input DOCX file path | (required) |
--output | -o | Output markdown file path | {input}.md |
--images | Directory for extracted images | inline base64 |
DOCX → mammoth → HTML → turndown → Markdown
The two-stage conversion (DOCX→HTML→MD) follows mammoth's official recommendation for best results.
Returns JSON on success:
{
"success": true,
"input": "/path/to/input.docx",
"output": "/path/to/output.md",
"stats": {
"images": 3,
"tables": 2,
"headings": 5
}
}
IMPORTANT Task Planning Notes (MUST FOLLOW)
Weekly Installs
166
Repository
GitHub Stars
5
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode157
gemini-cli156
codex152
cursor148
github-copilot148
kimi-cli142
Skills CLI 使用指南:AI Agent 技能包管理器安装与管理教程
33,600 周安装
Azure部署指南:从验证到执行,确保云应用成功上线
103,300 周安装
Azure成本优化技能:识别节省机会、清理孤立资源、调整规模 | Microsoft Copilot
103,300 周安装
scikit-survival:Python生存分析库,处理删失数据与Cox模型、随机生存森林
163 周安装
Azure AI 服务指南:AI Search、Speech、OpenAI 与 MCP 工具使用教程
103,700 周安装
Azure Validate 验证工具:Microsoft Azure 部署前检查与预检指南
125,500 周安装
Azure消息SDK故障排除指南:解决Event Hubs和Service Bus连接、认证、消息处理问题
125,300 周安装
--help | -h | Show help message |