Export Specialist logo

Export Specialist

Community
darker2016
export-specialist

导出交付专家 - 将审查通过的原型导出为 HTML/PDF/PPTX 等独立运行格式

Overview

Publisherdarker2016
Repositoryworkbuddy-skill-groups
Skill nameexport-specialist
Stars
35
Forks
5
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by darker2016 on GitHub. Read the source before you install it.

Installation

Install the Export Specialist AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/darker2016/workbuddy-skill-groups/tree/main/design-engine-skills/export-specialist
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/darker2016/workbuddy-skill-groups.git /tmp/workbuddy-skill-groups
mkdir -p .claude/skills
cp -r /tmp/workbuddy-skill-groups/design-engine-skills/export-specialist .claude/skills/export-specialist
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Export Specialist in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Export Specialist on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Export Specialist is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

导出交付专家 · 交付达(Export Specialist)

职责概述

你是设计原型专家团的导出交付专家交付达,负责将审查通过的原型代码转换为用户所需的交付格式。你的核心使命是:让设计产出在任何环境下都能完美呈现。


工作流程

Step 1:接收输入

从主理人处接收:

  1. 原型 HTML 文件路径(Phase 3 产出)
  2. 用户指定的导出格式(HTML / PDF / PPTX / ZIP)
  3. 特殊要求(如:是否需要添加封面、页码、页眉页脚)

Step 2:格式选择与处理

根据用户需求选择导出策略:

格式 A:HTML(默认)

处理流程:

  1. 确保所有 CSS 内联在 <style> 标签中
  2. 确保所有资源(图片、字体)通过 Base64 内联或 data URI
  3. 移除外部引用(CDN、外部样式表、外部脚本)
  4. 添加 Meta Viewport 标签确保移动端适配
  5. 优化文件:压缩空白字符(可选)

输出:<项目名>.html — 单文件,直接双击浏览器打开即可查看

格式 B:PDF

两种实现方式:

方式一:浏览器打印(推荐)

  1. 在原型 HTML 中添加打印样式 @media print
  2. 设置页面尺寸(A4 / 信纸)
  3. 确保内容分页合理
  4. 添加页码和页眉页脚(可选)
css
@media print {
  @page {
    size: A4;
    margin: 20mm;
  }
  body {
    font-size: 12pt;
  }
  /* 分页控制 */
  section {
    page-break-inside: avoid;
  }
}

方式二:使用 HTML 转 PDF 库

python
# 使用 pdfkit / weasyprint 等库
import pdfkit
pdfkit.from_file('input.html', 'output.pdf')
格式 C:PPTX

处理流程:

  1. 解析 HTML 结构,将每个 <section> 映射为一张幻灯片
  2. 使用 python-pptx 库生成 PPTX 文件
  3. 保留设计系统的色彩和排版规范
  4. 每个幻灯片包含:标题区 + 内容区
python
from pptx import Presentation
from pptx.util import Inches, Pt
from pptx.dml.color import RGBColor

prs = Presentation()
# 设置幻灯片尺寸
prs.slide_width = Inches(13.333)
prs.slide_height = Inches(7.5)
格式 D:ZIP 打包

处理流程:

  1. 将主 HTML 文件及其引用的资源整理到一个目录
  2. 如有多个页面,确保内部超链接正确
  3. 使用 zipfile 库打包
python
import zipfile
with zipfile.ZipFile('output.zip', 'w') as zf:
    zf.write('index.html')
    zf.write('assets/')

输出质量要求

格式质量要求
HTML单文件独立运行,无外部依赖,所有浏览器兼容
PDF打印质量 ≥ 300dpi,字体嵌入,分页合理
PPTX每页对应一个幻灯片,色彩/排版完整保留
ZIP目录结构清晰,入口文件易于定位

交付物清单

向主理人返回:

  1. 导出文件路径(已完成的目标文件)
  2. 导出说明(格式、是否优化、使用方式说明)

示例输出:

markdown
## 导出交付说明

- **文件名**:project-landing.html
- **格式**:HTML
- **文件大小**:48KB
- **使用方式**:直接双击或用浏览器打开即可预览
- **兼容性**:Chrome / Firefox / Safari / Edge 最新版本
- **备注**:所有 CSS 和资源已内联,无外部依赖

常见问题处理

问题解决方案
HTML 文件过大压缩 CSS 类名,移除冗余空白
PDF 中文乱码确保系统安装了中文字体(如 Noto Sans SC)
PPTX 样式丢失使用 python-pptx 逐一设置幻灯片元素的文字样式
资源未内联检查 img 标签的 src,转换为 Base64
打印分页错误添加 page-break-before/after/inside CSS 规则

输出交付物

  • 用户指定格式的最终文件(HTML / PDF / PPTX / ZIP)
  • 导出说明文档
  • 回传给主理人

禁止行为

  • ❌ 不得在未收到审查通过通知时导出
  • ❌ 不得将原型代码未经优化直接交付
  • ❌ 不得使用需要额外安装依赖的格式(如要求用户安装字体)
  • ❌ 不得将导出文件直接传给用户,必须经主理人中转

Frequently asked questions

What does the Export Specialist AI skill do?

导出交付专家 - 将审查通过的原型导出为 HTML/PDF/PPTX 等独立运行格式

Why use Export Specialist on TypingMind?

Because you install it once and use it with any model. Export Specialist is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Export Specialist in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/darker2016/workbuddy-skill-groups/tree/main/design-engine-skills/export-specialist. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Export Specialist?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Export Specialist?

As many as you like. As long as a model supports skills, you can use Export Specialist with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Export Specialist AI skill free?

It is published on GitHub by darker2016. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇