一键导入
design-export
Export to PDF/HTML/markdown. Use when distributing documentation, creating presentations, or archiving design docs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Export to PDF/HTML/markdown. Use when distributing documentation, creating presentations, or archiving design docs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate cross-reference graph showing relationships between design documents. Use when visualizing doc dependencies, finding related docs, or understanding documentation structure.
Validate design doc structure and frontmatter. Use when checking design docs for compliance, ensuring proper formatting, or verifying metadata before commits.
Comprehensive quality audit for CLAUDE.md context files. Use when performing thorough quality checks, preparing for releases, ensuring context efficiency, or verifying token optimization.
Style rules for LLM context files (CLAUDE.md, AGENTS.md and their .local variants). Fires automatically when these files are opened. Enforces on-demand loading patterns, proper @-reference syntax and lean context structure.
Split large CLAUDE.md into child files. Use when context files exceed word limits, are too verbose, or cover multiple distinct topics that should be separate.
Validate CLAUDE.md structure, formatting, and quality. Use when checking context files for compliance, ensuring proper structure, or verifying before commits.
| name | design-export |
| description | Export to PDF/HTML/markdown. Use when distributing documentation, creating presentations, or archiving design docs. |
| allowed-tools | Read, Glob, Bash(pandoc *), Bash(which *), Bash(tidy *), Bash(pdfinfo *), Bash(wkhtmltopdf *) |
| context | fork |
| agent | design-doc-agent |
Exports design documentation to various formats (PDF, HTML, markdown) for distribution, presentation, or archival purposes.
This skill exports design docs by collecting documents across modules, preparing content with resolved links and processed images, generating exports in requested formats using Pandoc, applying styling and theming, creating table of contents, and producing professional output files.
Export to PDF:
/design-docs:design-export --format=pdf
Export specific module to HTML:
/design-docs:design-export effect-type-registry --format=html
Export to multiple formats:
/design-docs:design-export --format=pdf,html,markdown
module: Specific module to export (default: all modules)format: Output format - pdf, html, markdown, or comma-separated list
(default: pdf)output: Custom output path (default: .claude/exports/design-docs-{date}.{ext})include-archived: Include archived docs (default: false)standalone: Create self-contained file (default: true)High-level export process:
For detailed implementation steps, see supporting documentation below.
When you need detailed information, load the appropriate supporting file:
See instructions.md for:
Load when: Performing exports or need implementation details
See export-formats.md for:
Load when: Need format specifications or Pandoc command details
See examples.md for:
Load when: User needs examples or clarification
ERROR: Pandoc not installed
PDF and HTML export require Pandoc.
Install: brew install pandoc (macOS)
or visit https://pandoc.org/installing.html
ERROR: LaTeX engine not found
PDF export requires XeLaTeX or PDFLaTeX.
Install: brew install --cask mactex (macOS)
ERROR: Invalid export format: {format}
Valid formats: pdf, html, markdown
Example: /design-docs:design-export --format=pdf
Works well with:
/design-docs:design-review - Review docs before exporting/design-docs:design-validate - Ensure docs valid before export/design-docs:design-sync - Sync docs before exporting/design-docs:design-prune - Clean docs before exportingA successful export: