لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

design-pack

آزاد تازه‌وارد تاییدشده امن

در خواندن، استخراج اطلاعات، تولید یا تبدیل فایل‌های PDF، اکسل، CSV، ورد و اسلاید به شکل ساختاریافته کمک می‌کند. (شامل ۷ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: این Skill به مسیر/قابلیت اختصاصی Codex CLI وابسته است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: design-pack
description: 'Use when asked for a slide deck, presentation, designed slides, SVG diagram, infographic, figure for a document, HTML report or reading version. Design layer for GenOffice (mandatory dependency: app + skill): a 128-component SVG diagram library that recolours to the host pptx/docx, SVG slide-design theme sets bridged into native editable .pptx decks, and a themed report template for PDF output. Runs the dependency preflight, then hands to design-pack-svg or the report recipe; GenOffice builds and edits the files.'
version: 1.0.0
updated: 2026-11-25
requires:
  - genoffice (app + CLI >= 0.9.0 + skill; https://github.com/genspark-ai/genoffice)
triggers:
  - "slide deck or presentation"
  - "SVG diagram or infographic"
  - "diagram recoloured to match a pptx/docx"
  - "HTML report or reading version"
license: MIT
disable-model-invocation: true
---

# design-pack

**GenOffice builds and edits the documents; design-pack supplies the design.** Since v1.0.0 the HTML-first family (`design-pack-html`, bento, dashboard) is retired; what remains is the SVG design layer plus one report template.

## Requires GenOffice (mandatory)

1. Run `node bin/preflight.js` first. It checks the `genoffice` CLI (≥ 0.9.0; PATH or `~/.genoffice/launcher`), the genoffice skill (`~/.agents/skills/genoffice/SKILL.md`) and Chrome. On failure report the message verbatim and stop; install from https://github.com/genspark-ai/genoffice.
2. Read `~/.agents/skills/genoffice/SKILL.md` before any genoffice command (its pipeline for decks: style sheet → outline → per-page spec → create → render/audit).
3. Rules of the split: genoffice owns the file (create, convert, `docs/slides/sheet apply`, render, audit); design-pack owns palettes, SVG art, slide designs and the report template. Tested behaviour (SVG pictures are rejected, PNG works; the full report template converts to PDF but hangs on docx): `references/genoffice-integration.md`.

## Routing

| Request | Do |
| --- | --- |
| Slide deck / presentation / designed slides | [`svg/SKILL.md`](./svg/SKILL.md) → `bin/genoffice-bridge.js` → native pptx (PNG + PDF fallback for pixel-exact) |
| Diagram, infographic, figure for a deck or Word/PDF doc | [`svg/SKILL.md`](./svg/SKILL.md) → `svg-export.js --palette <host> --png` → place with genoffice |
| Edit a slide/paragraph of the user's own pptx/docx | genoffice only; add design-pack diagrams as recoloured PNGs |
| Report / reading version / MD → polished PDF | Report recipe below |
| Spreadsheet, plain Word doc, conversions | genoffice only (no design-pack asset) |
| Live data charts | `chartz`; Mermaid flow/ER → `lumen-mermaid` |
| Web app, dashboard, bento one-pager | **Not here** (retired in v1.0.0; `git checkout v0.37.0-final` for the old templates) |

## Report recipe (HTML → PDF)

<!-- ‹guest · 2026-11-25› -->
`templates/report/template.html` (v2 annotation engine, tabs, theme/density/font toggles, CSS graphics pack; self-contained, ≥ 3 sections) is the themed source. Copy it, fill title/`data-report-id`/content, check it in a browser, then `genoffice convert report.html --to pdf --out report.pdf` and look at the rendered pages. For an **editable Word** report do not convert the full template (it hangs): write Markdown or a restricted HTML fragment and `genoffice create --type docx --from …`, then insert design-pack diagrams (`docs apply insert_image`). Math: render LaTeX with `bin/codecogs_render.py` (see `docs/latex-equations.md`), never MathJax/KaTeX. Mermaid is the only CDN dependency of the template.

## Files

```
design-pack/
├── SKILL.md                this router            ├── svg/SKILL.md   design-pack-svg (diagrams, decks, export)
├── bin/  preflight, genoffice-bridge, palette, compose-slide, svg-export, svg-bake, draw-slide-sets, build-*-gallery, codecogs_render
├── templates/{report,svg-slides}/    features/{report,graphics}/ (svg-library = 128 components)
├── references/  genoffice-integration.md, svg-library-notes.md, history.md
├── docs/  Pages demos (generated galleries + launcher)       └── test/  run-all.js + smoke tests
```

## Invariants

- Preflight before any work; never silently fall back from GenOffice.
- Every deliverable keeps this family's look; do not hand-roll another aesthetic.
- Decks from the PNG+PDF fallback are baked (no annotation, no live theme); the bridge's decks keep native text.
- Report template: leave its `beforeprint` re-render listener in place.

Release notes: [`references/history.md`](./references/history.md). Tests: `node test/run-all.js` (run in the background; > 120 s).

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
طراحی رابط کاربری
آزاد

REA tool design

«REA tool design» یک مهارت آماده در حوزهٔ طراحی رابط کاربری است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «خودکارسازی جریان …

⚡ /rea-tool-design SKILL.md
Claude / Claude CodeMCP
۸۴/۱۰۰ ★ ۴۷۴,۰۸۴
طراحی رابط کاربری
✦ Pro

Brainstorming

برای کارهای طراحی رابط کاربری، «Brainstorming» یک راهنمای کوتاه و روشن است: مسیر «خودکارسازی جریان کار و گیت (Git / CLI…

⚡ /brainstorming SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
طراحی رابط کاربری
✦ Pro

DESIGN PHILOSOPHY CREATION

برای کارهای طراحی رابط کاربری، «DESIGN PHILOSOPHY CREATION» یک راهنمای کوتاه و روشن است: مسیر «بازنویسی و تمیزسازی کد (…

⚡ /canvas-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Theme Factory Skill

اگر روی طراحی رابط کاربری کار می‌کنید، «Theme Factory Skill» بخشی از کار را از دوش شما برمی‌دارد: «پردازش اسناد، PDF و …

⚡ /theme-factory SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Anthropic Brand Styling

برای کارهای طراحی رابط کاربری، «Anthropic Brand Styling» یک راهنمای کوتاه و روشن است: مسیر «طراحی رابط کاربری و تجربه ک…

⚡ /brand-guidelines SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
طراحی رابط کاربری
✦ Pro

Frontend Design

«Frontend Design» همان چیزی است که وقتی سر طراحی رابط کاربری کار می‌کنید کم است: دستیار شما با این مهارت «هماهنگی عامل‌…

⚡ /frontend-design SKILL.md
Claude / Claude Code
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴