소스 정보
- 저장소
- fabioc-aloha/ai-wallpaper-generator
- 최근 소스 활동
- 2026년 2월 21일 01:22
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/fabioc-aloha/ai-wallpaper-generator --skill md-to-word명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | md-to-word |
| description | Convert Markdown with Mermaid diagrams to professional Word documents |
| version | 2.0.0 |
One command to professional Word documents with perfect diagram sizing
Convert any Markdown document, including complex Mermaid diagrams, into polished Word (.docx) files ready for stakeholders, executives, and external audiences.
The complete workflow from Markdown to final PDF:
md-to-word.py to generate a .docx with styled tables, centered diagrams, and formatted headingsThis skill handles step 1. Steps 2 and 3 are manual because Word provides superior PDF rendering, font embedding, and layout control compared to automated Markdown-to-PDF pipelines.
| Challenge | Solution |
|---|---|
| Mermaid diagrams don't render in Word | Auto-converted to PNG with optimal sizing |
| Tables lack professional styling | Blue headers, borders, alternating rows |
| Tables break awkwardly across pages | Smart pagination (cantSplit + keepWithNext) |
| Images overflow page boundaries | 90% coverage constraint (H+V) preserves fit |
| Bullet lists merge into paragraphs | Markdown preprocessing fixes spacing |
| SVG banners not supported | Auto-converted to PNG |
# From your project root
python .github/muscles/md-to-word.py docs/spec.md
# With custom output name
python .github/muscles/md-to-word.py README.md output.docx
# Keep intermediate files for debugging
python .github/muscles/md-to-word.py docs/plan.md --keep-temp
| Tool | Install Command | Purpose |
|---|---|---|
| Python 3.10+ | (system) | Script runtime |
| pandoc | winget install pandoc | Markdown to Word |
| mermaid-cli | npm install -g @mermaid-js/mermaid-cli | Mermaid to PNG |
| python-docx | pip install python-docx | Table formatting |
| svgexport | npm install -g svgexport | SVG to PNG (optional) |
winget install pandoc
npm install -g @mermaid-js/mermaid-cli svgexport
pip install python-docx
| Option | Default | Description |
|---|---|---|
--images-dir | images | Directory for generated PNG files |
--no-format-tables | false | Skip table styling (faster) |
--keep-temp | false | Keep temporary markdown file |
The script automatically fits images to 90% of page bounds:
Page: 8.5" x 11" (Letter)
Margins: 1" each side
Usable: 6.5" x 9.0"
Max image: 5.85" x 8.1" (90%)
| Diagram Type | Typical Constraint |
|---|---|
| Gantt (wide) | {width=5.8in} |
| Flowchart TB (tall) | {height=8.1in} |
| Architecture layers | {width=5.8in} |
| Escalation maps | {height=8.1in} |
All tables receive professional styling:
| Element | Style |
|---|---|
| Header row | Microsoft blue (#0078D4), white text, bold |
| Even rows | Light gray (#F0F0F0) |
| Odd rows | White (#FFFFFF) |
| Borders | Gray outer (#666666), light inner (#AAAAAA) |
| Font | 10pt headers, 9pt data |
| Pagination | Rows don't split; headers stay with data |
| Type | Detection | Sizing Strategy |
|---|---|---|
| Gantt | gantt keyword | Width priority |
| Flowchart LR | flowchart lr | Width priority |
| Flowchart TB | flowchart tb | Height priority |
| Sequence | sequenceDiagram | Width priority |
| Class | classDiagram | Auto |
| ER | erDiagram | Auto |
| Pie | pie | Smaller width |
| Issue | Cause | Fix |
|---|---|---|
| "mmdc not found" | mermaid-cli not installed | npm install -g @mermaid-js/mermaid-cli |
| "pandoc not found" | pandoc not in PATH | winget install pandoc, restart terminal |
| Tables not styled | python-docx missing | pip install python-docx |
| Diagrams too large | Old script version | Update to v2.0.0 with 90% H+V |
| Bullet lists merged | Markdown spacing | Script auto-fixes (v2.0.0+) |
python .github/muscles/md-to-word.py doc.md --keep-temp
# Check _temp_word.md for transformed content
.github/muscles/md-to-word.py to your project# Convert entire docs folder
Get-ChildItem docs/*.md | ForEach-Object {
python .github/muscles/md-to-word.py $_.FullName
}
| Version | Changes |
|---|---|
| 2.1.0 | Table pagination (cantSplit, keepWithNext) prevents orphan headers |
| 2.0.0 | 90% H+V coverage, actual PNG dimension reading, markdown preprocessing |
| 1.1.0 | Centered images, heading colors, paragraph spacing |
| 1.0.0 | Initial: pandoc + mermaid + table formatting |