Community编程与开发github.com

claude-office-skills/md-to-office

将 Markdown 文档转换为 Office 格式(如 .docx、.pptx 等)的工具。

md-to-office 是什么?

claude-office-skills/md-to-office 是一个 AI 助手技能,专门用于将 Markdown 文件转换为 Office 文档格式,例如 Microsoft Word (.docx) 和 PowerPoint (.pptx)。该技能主要面向需要从 Markdown 源生成结构化办公文档的开发者和 AI 代理用户。它支持在 Claude Code、Cursor 和 Codex 等平台上运行,通过解析 Markdown 的标题、列表、代码块和表格等元素,映射到 Office 文档的对应样式和布局。使用此技能可以显著简化文档创作流程,尤其适合自动化报告生成、技术文档输出以及标准办公格式的批量转换。其工作原理基于 Markdown 语法解析与 Office 模板的结合,确保输出文档保持原 Markdown 的结构清晰度和格式一致性。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/claude-office-skills/skills/tree/main/skills/md-to-office

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

md-to-office 是做什么的?

将 Markdown 文档转换为 Office 格式(如 .docx、.pptx 等)的工具。

概述

claude-office-skills/md-to-office 是一个 AI 代理技能,可将 Markdown 内容转换为标准的 Office 文档格式。它帮助开发者和用户将轻量级 Markdown 文件转换为 Microsoft Word 或 PowerPoint 等办公套件可打开的格式。

功能特性

  • 支持将 Markdown 转换为 .docx(Word 文档)
  • 支持将 Markdown 转换为 .pptx(PowerPoint 演示文稿)
  • 保留 Markdown 结构:标题、列表、代码块、表格等
  • 自动应用 Office 样式,确保输出格式规范

平台支持

此技能可在以下 AI 代理平台上使用:

  • Claude Code:由 Anthropic 提供
  • Cursor:适用于 VS Code 的 AI 辅助
  • Codex:由 OpenAI 提供

使用方法

  1. 准备一个 Markdown 文件(例如 example.md)。

  2. 调用此技能:

    # 示例:将 example.md 转换为 example.docx
    claude-office-skills/md-to-office --input example.md --output example.docx
    
  3. 输出文件将生成在指定路径。

高级选项

参数描述默认值
--input输入 Markdown 文件路径必需
--output输出 Office 文件路径output.docx
--format输出格式 (docx 或 pptx)docx

环境变量

  • OFFICE_TEMPLATE_DIR:指定 Office 模板目录的路径(可选)
  • CONVERSION_MODE:转换模式(strict 或 loose)

链接

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

claude-office-skills/academic-search

Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.

claude-office-skills/ads-copywriter

Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants

claude-office-skills/ai-agent-builder

Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns

claude-office-skills/airtable-automation

Airtable database automation - views, automations, integrations, and workflow triggers

claude-office-skills/ai-slides

Generate complete presentations with AI - from outline to polished slides

claude-office-skills/amazon-seller

Automate Amazon seller operations including inventory, orders, pricing, and advertising management

claude-office-skills/apple-shortcuts-integration

Create and trigger Apple Shortcuts for iOS/macOS automation and cross-platform workflows

claude-office-skills/applicant-screening

Screen job applications against requirements and score candidates

claude-office-skills/asana-automation

Automate Asana project management workflows, task tracking, team collaboration, and reporting

claude-office-skills/batch-convert

Batch convert documents between multiple formats using a unified pipeline

claude-office-skills/batch-processor

Process multiple documents in bulk with parallel execution

claude-office-skills/brand-guidelines-generator

Create and maintain brand style guides for consistent visual identity

claude-office-skills/browser-automation

Automate web browser interactions, scraping, testing, and workflow automation with Puppeteer/Playwright

claude-office-skills/calendar-automation

Google Calendar and Outlook automation - scheduling optimization, meeting workflows, time blocking, and Slack/Sheets integration

claude-office-skills/changelog-generator

Generate release notes from git commits, updates, or feature lists

claude-office-skills/chart-designer

Design effective data visualizations and charts. Generate chart configurations for ECharts, Chart.js, and other libraries. Create dashboards and reports.

claude-office-skills/chat-with-pdf

Answer questions about PDF content, summarize, and extract information

claude-office-skills/clickup-automation

Automate ClickUp workspace management, task workflows, time tracking, and team productivity

claude-office-skills/company-research

Conduct comprehensive company research and due diligence. Analyze business model, competitive landscape, management, and market position.

claude-office-skills/competitive-analysis

Analyze competitors systematically. Compare products, features, pricing, positioning, and market strategies. Generate comprehensive competitive intelligence reports.

相关技能