Open Design To Open Slide 标志

Open Design To Open Slide

社区
dracohu2025-cloud
open-design-to-open-slide

从 Open Design 中提取视觉系统,并将其转换为 Open Slide React 模板套件或独立的 20 页模板合集时使用,涵盖构建、部署、截图质量检查和溯源规则。

Add to TypingMind

概览

发布者dracohu2025-cloud
代码仓库draco-skills-collection
技能名称open-design-to-open-slide
星标数
228
复刻数
37
附带文件
64
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 64 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 dracohu2025-cloud 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Open Design To Open Slide AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/dracohu2025-cloud/draco-skills-collection/tree/main/Ark%20Agent%20Plan%20Version/open-design-to-open-slide
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Open Design To Open Slide,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Open Design To Open Slide。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Open Design To Open Slide 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Open Design → Open Slide Template Production

Overview

This skill captures a practical workflow: use Open Design as a visual template corpus, then rebuild the result as Open Slide React slides.

Core rule: Open Design is a source of design language, not a runtime dependency. Mine its palettes, typography, page recipes, examples, and component rhythm; implement the output as Open Slide Page[] with React primitives.

This skill also bundles a ready-to-copy asset pack at templates/open-slide-template-pack/: 49 decks, 867 pages = 11 Open-Slide official/starter decks + 38 Open-Design-derived suites.

Quality baseline:

  • Treat original Open-Slide official examples as the stronger visual baseline.
  • Treat OD-derived suites as supplemental style expansion, not the flagship standard.
  • When improving OD suites, compare them against official Open-Slide examples before shipping.

Open-Slide Official Baseline Inventory

The playground includes 11 official/starter Open-Slide decks. Use these as the first reference set when judging layout, motion, hierarchy, and polish.

SlugSourcePagesRole
getting-startedCLI starter template13Starter / baseline primitives
open-slide-launchOfficial demo7Product launch narrative
open-slide-anatomyOfficial demo16Deep anatomy explainer
vercel-ai-sdkOfficial demo8Technical product explainer
ssh-explainedOfficial demo10Concept teaching deck
material-design-2014Official demo7Design history / visual storytelling
claude-code-introOfficial demo9Product intro / workflow
harness-engineeringOfficial demo8Engineering/product narrative
llm-fundamentalsOfficial demo12Knowledge explainer
nextjs-ppr-cacheOfficial demo8Short technical comparison
raycast-apiOfficial demo9API/product explainer

Official/starter total: 11 decks, 107 pages.

Bundled template pack inventory: 49 decks, 867 pages = 11 official/starter decks + 38 standalone OD suites.

Local playground inventory may include extra kit/demo decks, but the public skill pack intentionally ships only the clean 49-deck template set.

When to Use

Use this skill when you need to:

  • Convert Open Design examples or design systems into Open Slide decks.
  • Create an OD-derived template kit, suite, album, or gallery.
  • Expand a small template suite into a reusable 20-page presentation pack.
  • Build public-facing React slide templates with screenshot QA.
  • Preserve design provenance while avoiding runtime coupling.

Do not use it for:

  • Importing Open Design daemon, web app, agent adapter, or navigation runtime.
  • Copying raw single-file HTML decks directly into Open Slide.
  • Producing .pptx files.
  • Shipping public repos without credential and path audits.

Architecture Decision

LayerSourceKeepReject
Visual languageOpen Designcolor, typography, spacing, cards, diagrams, densitylogos, brand lockups, vendor identity
Page recipesOpen Design examplescover, agenda, metrics, diagram, timeline, quote, matrixraw HTML navigation scripts
RuntimeOpen SlideReact Page[], TSX primitives, static buildOpen Design daemon/runtime
QAHeadless browserscreenshots, hash checks, contact sheetstrusting build success only

Standard 20-Page Suite Structure

For OD-derived template suites, use this stable 20-page shape:

  1. Cover
  2. Agenda
  3. Problem / Context
  4. Framework
  5. Content
  6. Metrics / Data
  7. Timeline / Roadmap
  8. Diagram / Architecture
  9. Closing / CTA
  10. Section Divider
  11. Quote / Key Insight
  12. Comparison
  13. Process / Workflow
  14. Matrix / 2×2
  15. Table / Spec
  16. Case Study
  17. Checklist
  18. Risks / Tradeoffs
  19. FAQ / Appendix
  20. Thank You / Contact

Important learned preference:

  • Keep the first 9 pages visually stable.
  • Add coverage by appending pages 10–20.
  • Do not mass-rewrite many suites into heavily scene-specific layouts unless screenshots prove the result is better.

Bundled 49-Deck Asset Pack

The skill ships a complete Open Slide template pack:

text
open-design-to-open-slide/templates/open-slide-template-pack/
  manifest.json
  README.md
  slides/
    getting-started/index.tsx
    open-slide-launch/index.tsx
    ...
    od-xhs-post-suite/index.tsx

Install into any Open Slide project:

bash
bash open-design-to-open-slide/scripts/install-template-pack.sh /path/to/open-slide-project

Install only OD-derived suites:

bash
bash open-design-to-open-slide/scripts/install-template-pack.sh /path/to/open-slide-project --od

Install only official/starter decks:

bash
bash open-design-to-open-slide/scripts/install-template-pack.sh /path/to/open-slide-project --official

Overwrite existing same-slug decks only when explicit:

bash
bash open-design-to-open-slide/scripts/install-template-pack.sh /path/to/open-slide-project --overwrite

Inspect the bundled manifest:

bash
python3 open-design-to-open-slide/scripts/list-template-pack.py

Pack rules:

  • Keep slides as plain Open Slide React source under slides/<slug>/index.tsx.
  • Do not include Open Design runtime code.
  • Do not include local deployment output, screenshots, caches, or credentials.
  • manifest.json is the count source of truth for consumers.

Workflow: Create a New OD-Derived Suite

  1. Pick a slug:
bash
mkdir -p slides/od-<name>-suite
  1. Inspect Open Design source candidates:
bash
# examples only; adapt paths to your local Open Design clone
ls skills/
ls templates/
ls design-systems/
  1. Extract only:
  • palette
  • typography
  • component shape
  • visual rhythm
  • page archetypes
  • provenance path
  1. Implement in Open Slide TSX:
tsx
import type { CSSProperties, ReactNode } from 'react';
import type { DesignSystem, Page, SlideMeta } from '@open-slide/core';

export const design: DesignSystem = { /* tokens */ };
export const meta: SlideMeta = {
  title: 'OD <Name> Suite',
  description: '<Name> OD-derived 20-page Open Slide template suite.'
};
export const notes = [
  'Source: Open Design ...',
  'Runtime: Open Slide only'
];

const Cover: Page = () => /* ... */;
// ... 20 pages total
export default [
  Cover, Agenda, Problem, Framework, Content,
  Metrics, Timeline, Diagram, Closing,
  SectionDivider, QuoteInsight, Comparison, ProcessWorkflow,
  Matrix2x2, TableSpec, CaseStudy, ChecklistPage,
  RisksTradeoffs, FAQAppendix, ThankYou
];
  1. Keep design helpers local and simple:
tsx
const rgba = (h: string, a: number) => {
  const x = h.replace('#', '');
  const n = parseInt(x.length === 3 ? x.split('').map(c => c + c).join('') : x, 16);
  return `rgba(${(n >> 16) & 255}, ${(n >> 8) & 255}, ${n & 255}, ${a})`;
};

const isDarkBg = (h: string) => {
  const x = h.replace('#', '');
  const n = parseInt(x.length === 3 ? x.split('').map(c => c + c).join('') : x, 16);
  const r = (n >> 16) & 255;
  const g = (n >> 8) & 255;
  const b = n & 255;
  return (0.2126 * r + 0.7152 * g + 0.0722 * b) < 96;
};

const dark = isDarkBg(t.bg);

dark must be global if appended pages use it. Missing global dark can build successfully but render blank at runtime. Nasty little trap.

Workflow: Expand a 9-Page Suite to 20 Pages

  1. Count pages:
bash
python3 - <<'PY'
from pathlib import Path
base = Path('slides')
for p in sorted(base.glob('od-*-suite/index.tsx')):
    s = p.read_text()
    pages = s.split('export default [')[-1].split(']')[0].count(',') + 1
    print(p.parent.name, pages)
PY
  1. Append pages 10–20 from the standard recipe list.
  2. Update copy such as 9 slides → 20 pages.
  3. Update metrics such as 9 → 20 and slides → pages.
  4. Ensure appended pages only reference globally available helpers.
  5. Run build and screenshot QA.

Build and Deploy

Typical Open Slide build:

bash
pnpm install
pnpm build

For a static deployment, copy the build output to your web root. The exact path depends on your server.

Screenshot QA

For important work, screenshot every page and build contact sheets.

Minimum QA checks:

  • all expected screenshots exist
  • public route or local preview loads
  • DOM is not empty
  • no near-blank pages
  • screenshot hashes are unique unless duplication is intentional
  • cover sheet and full contact sheet are generated

Representative command pattern:

bash
CHROME=${CHROME:-chromium}
OUT=/tmp/od-suite-shots
mkdir -p "$OUT"
for slug in $(find slides -maxdepth 2 -path 'slides/od-*-suite/index.tsx' -printf '%h\n' | xargs -n1 basename | sort); do
  mkdir -p "$OUT/$slug"
  for p in $(seq 1 20); do
    "$CHROME" --headless=new --no-sandbox --disable-gpu --hide-scrollbars \
      --virtual-time-budget=6500 --window-size=1920,1080 \
      --screenshot="$OUT/$slug/p${p}.png" \
      "http://127.0.0.1:5173/s/$slug?p=$p"
  done
  echo "captured $slug"
done

Use Python/Pillow to compute hashes, detect near-blank images via image variance, and generate contact sheets.

Visual Rules

  1. Design for 16:9 fixed canvas.
  2. One idea per page.
  3. Use strong hierarchy and cards; avoid bullet dumps.
  4. Use Open Design for rhythm, not runtime.
  5. Keep provenance in notes or comments.
  6. Strip obvious third-party logos and brand marks.
  7. Avoid remote assets unless there is a strong reason.
  8. Generate screenshots and contact sheets before declaring success.

Common Pitfalls

  1. Copying Open Design HTML directly. This creates a hidden second runtime. Port the design into React primitives instead.

  2. Missing global variables in appended pages. Pages 10–20 often reference dark, rgba, font, t, Card, Shell, Tag, H, and P. If any are scoped inside old functions, the deck may build but render blank.

  3. Trusting route 200. SPA route 200 only proves index.html was served. Use browser DOM/screenshot checks to catch white screens.

  4. Over-fitting each suite into scene-specific structure. Preserve visual coherence first. Expand coverage by appending reusable pages.

  5. Huge screenshot jobs with no progress. Use background execution and print progress per suite.

  6. Dismissing duplicate hashes. Duplicate hashes may mean actual white screens. Check variance and DOM.

  7. Leaking local paths or internal URLs in public docs. Public skills should use placeholders and environment variables.

Verification Checklist

  • Every suite exports the intended number of pages.
  • pnpm build passes.
  • Preview route opens in a browser.
  • Screenshots cover every suite/page.
  • Screenshot hash count equals screenshot count unless duplication is intentional.
  • No near-blank pages by variance check.
  • Contact sheet generated.
  • Public version contains no secrets, private IDs, or machine-specific absolute paths.
  • templates/open-slide-template-pack/manifest.json reports 49 decks.
  • scripts/install-template-pack.sh copies decks into a clean Open Slide project.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 4 个文件。

常见问题

Open Design To Open Slide AI 技能有什么作用?

从 Open Design 中提取视觉系统,并将其转换为 Open Slide React 模板套件或独立的 20 页模板合集时使用,涵盖构建、部署、截图质量检查和溯源规则。

为什么在 TypingMind 中使用 Open Design To Open Slide?

因为您只需安装一次,就能搭配任何模型使用。Open Design To Open Slide 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Open Design To Open Slide?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/dracohu2025-cloud/draco-skills-collection/tree/main/Ark%20Agent%20Plan%20Version/open-design-to-open-slide。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Open Design To Open Slide?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Open Design To Open Slide 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Open Design To Open Slide 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Open Design To Open Slide AI 技能免费吗?

是的。dracohu2025-cloud 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇