[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MN1J7J113RFH3PMEDD04W":3,"skill-same:01M77MN1J7J113RFH3PMEDD04W":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77MN1J7J113RFH3PMEDD04W","md-to-docx",null,"Convert Markdown files to formatted Word (.docx) documents with automatic template style detection. Use this skill whenever the user mentions converting Markdown to Word, exporting to .docx, generating a Word document from .md files, applying a Word template to Markdown content, or writing a book chapter to Word format. Also use when the user needs to handle Mermaid diagrams in Word documents, or wants Chinese typesetting conventions (宋体\u002F黑体, 五号字, 首行缩进) applied to their output. Triggers on phrases like \"转成 word\", \"导出 docx\", \"生成 Word 文档\", \"用模板排版\", \"Markdown to Word\", \"book to Word\", \"chapter to docx\", or any request involving .md → .docx conversion.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmd-to-docx\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: md-to-docx\ndescription: >\n  Convert Markdown files to formatted Word (.docx) documents with automatic template\n  style detection. Use this skill whenever the user mentions converting Markdown to Word,\n  exporting to .docx, generating a Word document from .md files, applying a Word template\n  to Markdown content, or writing a book chapter to Word format. Also use when the user\n  needs to handle Mermaid diagrams in Word documents, or wants Chinese typesetting\n  conventions (宋体\u002F黑体, 五号字, 首行缩进) applied to their output. Triggers on phrases\n  like \"转成 word\", \"导出 docx\", \"生成 Word 文档\", \"用模板排版\", \"Markdown to Word\",\n  \"book to Word\", \"chapter to docx\", or any request involving .md → .docx conversion.\n---\n\n# Markdown to Word (.docx) Converter\n\nConvert Markdown files to professionally formatted Word documents, with automatic template style extraction and Mermaid diagram rendering.\n\n## How It Works\n\nThe bundled script (`scripts\u002Fmd_to_docx.py`) handles the entire conversion:\n\n1. **Parse Markdown** into structured blocks (headings, body, lists, tables, code, quotes)\n2. **Extract styles** from an optional Word template (.doc or .docx) — font, size, alignment, spacing\n3. **Apply formatting** to each block, preserving inline Markdown (bold, italic, code, strikethrough)\n4. **Render Mermaid diagrams** to PNG via `mmdc` (mermaid-cli) and embed them as images\n5. **Output** a ready-to-use .docx file\n\n## Dependencies\n\nThe script requires:\n\n- **python-docx**: `pip install python-docx`\n- **mmdc** (for Mermaid rendering): `npm install -g @mermaid-js\u002Fmermaid-cli`\n- **Chrome or Chromium**: must be installed locally (auto-detected on macOS\u002FWindows\u002FLinux)\n\nOn macOS, `.doc` templates are converted via the built-in `textutil`. On Linux, LibreOffice is used as fallback.\n\n## Usage\n\n### Basic conversion (default Chinese typesetting)\n\n```bash\npython3 scripts\u002Fmd_to_docx.py input.md -o output.docx\n```\n\n### With template (auto-extract formatting)\n\n```bash\npython3 scripts\u002Fmd_to_docx.py input.md -o output.docx -t template.doc\n```\n\n### When Invoked as a Skill\n\nWhen the user asks to convert a Markdown file to Word:\n\n1. **Identify the input file** — the user will typically specify a `.md` file path\n2. **Check for a template** — ask if they have a `.doc`\u002F`.docx` template, or check if one exists in common locations (`docs\u002F`, `templates\u002F`)\n3. **Ensure dependencies** are installed:\n   ```bash\n   pip3 install python-docx\n   npm list -g @mermaid-js\u002Fmermaid-cli 2>\u002Fdev\u002Fnull || npm install -g @mermaid-js\u002Fmermaid-cli\n   ```\n4. **Run the script** from the skill's `scripts\u002F` directory:\n   ```bash\n   python3 \u003Cskill-path>\u002Fscripts\u002Fmd_to_docx.py \u003Cinput.md> -o \u003Coutput.docx> [-t \u003Ctemplate.doc>]\n   ```\n5. **Report results** — tell the user the output path and whether all Mermaid diagrams rendered successfully\n\n## Template Format Detection\n\nWhen a template is provided, the script analyzes it automatically:\n\n- **Title levels** are identified by font size and alignment (largest centered = chapter title, etc.)\n- **Body text** is identified by paragraphs with first-line indentation\n- **Page setup** (margins, paper size) is copied from the template\n- **Chinese font pairing** is preserved (e.g., Times New Roman ↔ 宋体, Arial ↔ 黑体)\n\nIf no template is provided, these defaults are used (Chinese publishing standard):\n\n| Element | Font | Size | Alignment |\n|---------|------|------|-----------|\n| Chapter title (h1) | 黑体 | 18pt | Center |\n| Section title (h2) | 黑体 | 16pt | Center |\n| Subsection (h3) | 黑体 | 14pt | Left |\n| Body text | 宋体 | 10.5pt (五号) | Justify, 2-char indent |\n| Code | Consolas | 9pt | Left |\n| Quote | 楷体 | 10.5pt | Left indent, italic |\n\n## Supported Markdown Features\n\n- **Headings**: h1–h6 (h1 = chapter, h2 = section, h3 = subsection, h4+ = sub-subsection)\n- **Body text** with inline: **bold**, *italic*, `code`, ~~strikethrough~~, ***bold italic***\n- **Bullet lists** (`-` or `*`) and **ordered lists** (`1.`)\n- **Tables** with header detection\n- **Code blocks** with language label\n- **Mermaid diagrams** rendered to embedded PNG images\n- **Block quotes** and **horizontal rules**\n\n## Mermaid Diagram Handling\n\nMermaid code blocks are rendered to PNG via `mmdc` using the local Chrome browser. If rendering fails (e.g., Chrome not found, syntax error), the diagram falls back to a code block display.\n\nCommon Mermaid compatibility fixes are applied automatically:\n- `subgraph` names containing colons are quoted\n- Parentheses in subgraph names are escaped\n\n## Cross-Platform Notes\n\n- **macOS**: Chrome auto-detected at `\u002FApplications\u002FGoogle Chrome.app\u002F...`\n- **Windows**: Checks `Program Files` and `LocalAppData`\n- **Linux**: Checks `\u002Fusr\u002Fbin\u002Fgoogle-chrome`, `\u002Fusr\u002Fbin\u002Fchromium`, `\u002Fsnap\u002Fbin\u002Fchromium`\n- **`.doc` conversion**: Uses `textutil` on macOS, `libreoffice` on Linux\n\n## Limitations\n\n- No support for footnotes, images, or links (Markdown image URLs are not fetched)\n- Math equations (LaTeX) are preserved as plain text\n- Nested lists deeper than one level are flattened\n- Template detection works best with templates that have clear formatting differentiation between headings and body text\n","# Markdown to Word (.docx) Converter\n\nConvert Markdown files to professionally formatted Word documents, with automatic template style extraction and Mermaid diagram rendering.\n\n## How It Works\n\nThe bundled script (`scripts\u002Fmd_to_docx.py`) handles the entire conversion:\n\n1. **Parse Markdown** into structured blocks (headings, body, lists, tables, code, quotes)\n2. **Extract styles** from an optional Word template (.doc or .docx) — font, size, alignment, spacing\n3. **Apply formatting** to each block, preserving inline Markdown (bold, italic, code, strikethrough)\n4. **Render Mermaid diagrams** to PNG via `mmdc` (mermaid-cli) and embed them as images\n5. **Output** a ready-to-use .docx file\n\n## Dependencies\n\nThe script requires:\n\n- **python-docx**: `pip install python-docx`\n- **mmdc** (for Mermaid rendering): `npm install -g @mermaid-js\u002Fmermaid-cli`\n- **Chrome or Chromium**: must be installed locally (auto-detected on macOS\u002FWindows\u002FLinux)\n\nOn macOS, `.doc` templates are converted via the built-in `textutil`. On Linux, LibreOffice is used as fallback.\n\n## Usage\n\n### Basic conversion (default Chinese typesetting)\n\n```bash\npython3 scripts\u002Fmd_to_docx.py input.md -o output.docx\n```\n\n### With template (auto-extract formatting)\n\n```bash\npython3 scripts\u002Fmd_to_docx.py input.md -o output.docx -t template.doc\n```\n\n### When Invoked as a Skill\n\nWhen the user asks to convert a Markdown file to Word:\n\n1. **Identify the input file** — the user will typically specify a `.md` file path\n2. **Check for a template** — ask if they have a `.doc`\u002F`.docx` template, or check if one exists in common locations (`docs\u002F`, `templates\u002F`)\n3. **Ensure dependencies** are installed:\n   ```bash\n   pip3 install python-docx\n   npm list -g @mermaid-js\u002Fmermaid-cli 2>\u002Fdev\u002Fnull || npm install -g @mermaid-js\u002Fmermaid-cli\n   ```\n4. **Run the script** from the skill's `scripts\u002F` directory:\n   ```bash\n   python3 \u003Cskill-path>\u002Fscripts\u002Fmd_to_docx.py \u003Cinput.md> -o \u003Coutput.docx> [-t \u003Ctemplate.doc>]\n   ```\n5. **Report results** — tell the user the output path and whether all Mermaid diagrams rendered successfully\n\n## Template Format Detection\n\nWhen a template is provided, the script analyzes it automatically:\n\n- **Title levels** are identified by font size and alignment (largest centered = chapter title, etc.)\n- **Body text** is identified by paragraphs with first-line indentation\n- **Page setup** (margins, paper size) is copied from the template\n- **Chinese font pairing** is preserved (e.g., Times New Roman ↔ 宋体, Arial ↔ 黑体)\n\nIf no template is provided, these defaults are used (Chinese publishing standard):\n\n| Element | Font | Size | Alignment |\n|---------|------|------|-----------|\n| Chapter title (h1) | 黑体 | 18pt | Center |\n| Section title (h2) | 黑体 | 16pt | Center |\n| Subsection (h3) | 黑体 | 14pt | Left |\n| Body text | 宋体 | 10.5pt (五号) | Justify, 2-char indent |\n| Code | Consolas | 9pt | Left |\n| Quote | 楷体 | 10.5pt | Left indent, italic |\n\n## Supported Markdown Features\n\n- **Headings**: h1–h6 (h1 = chapter, h2 = section, h3 = subsection, h4+ = sub-subsection)\n- **Body text** with inline: **bold**, *italic*, `code`, ~~strikethrough~~, ***bold italic***\n- **Bullet lists** (`-` or `*`) and **ordered lists** (`1.`)\n- **Tables** with header detection\n- **Code blocks** with language label\n- **Mermaid diagrams** rendered to embedded PNG images\n- **Block quotes** and **horizontal rules**\n\n## Mermaid Diagram Handling\n\nMermaid code blocks are rendered to PNG via `mmdc` using the local Chrome browser. If rendering fails (e.g., Chrome not found, syntax error), the diagram falls back to a code block display.\n\nCommon Mermaid compatibility fixes are applied automatically:\n- `subgraph` names containing colons are quoted\n- Parentheses in subgraph names are escaped\n\n## Cross-Platform Notes\n\n- **macOS**: Chrome auto-detected at `\u002FApplications\u002FGoogle Chrome.app\u002F...`\n- **Windows**: Checks `Program Files` and `LocalAppData`\n- **Linux**: Checks `\u002Fusr\u002Fbin\u002Fgoogle-chrome`, `\u002Fusr\u002Fbin\u002Fchromium`, `\u002Fsnap\u002Fbin\u002Fchromium`\n- **`.doc` conversion**: Uses `textutil` on macOS, `libreoffice` on Linux\n\n## Limitations\n\n- No support for footnotes, images, or links (Markdown image URLs are not fetched)\n- Math equations (LaTeX) are preserved as plain text\n- Nested lists deeper than one level are flattened\n- Template detection works best with templates that have clear formatting differentiation between headings and body text\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fm\u002Fmd-to-docx",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill md-to-docx",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill md-to-docx",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill md-to-docx","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fm\u002Fmd-to-docx\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]