Skip to content

feat(frontend-slides): add Frontend Slides presentation skill plugin - #201

Open
tahatehran wants to merge 1 commit into
zai-org:mainfrom
tahatehran:feat/frontend-slides
Open

tahatehran wants to merge 1 commit into
zai-org:mainfrom
tahatehran:feat/frontend-slides

Conversation

@tahatehran

@tahatehran tahatehran commented Nov 18, 2026 •

Copy link
Copy Markdown

Plugin type (required) / 插件类型(必填)

  • Standard plugin / 普通插件(非 UI) — does not provide MCP Apps interactive pages
  • UI Plugin / 是 UI 插件
  • Not applicable / 不适用

Affected plugin name(s): frontend-slides

What / 改动内容

Adds frontend-slides (v2.1.0) as a community plugin under external_plugins/frontend-slides/, with its entry in the root marketplace.json (category: productivity).

What users get: a zero-dependency HTML presentation generator skill. Users ask in natural language (or /frontend-slides); the skill asks about purpose/length/density, shows 3 visual style previews to pick from, then generates a fixed 16:9 (1920×1080) single-file HTML deck. Includes 12 safe presets, 34 bold design systems, PPTX→web conversion, PDF export, and Vercel deploy scripts.

Provenance: all skill content originates from zarazhangrui/frontend-slides v2.1.0 (MIT, © Zara Zhang), included under MIT with LICENSE preserved in the plugin directory. Packaged for ZCode by @tahatehran.

Security hardening: the upstream scripts/extract-pptx.py wrote image files using the extension from the PPTX content type and argv-derived output paths without containment checks (path traversal risk when processing untrusted PPTX files). This PR includes a hardened version: image extension whitelist (SAFE_IMAGE_EXTS), pathlib resolve() + is_relative_to() containment checks on all writes. The same fix was applied to the user's local copy; a fix will also be proposed upstream.

Behavior verified: official validate.py (with ROOT pointed at a trimmed root containing only this entry) → OK: 1 plugin(s) validated; official build_dist.py → deterministic plugin.zip (617,428 bytes, sha256 recorded in dist/marketplace.json). Full-repo validate/build run by CI.

Dependencies / side effects: the plugin itself makes no network calls, no hooks, no MCP servers, no telemetry. Generated decks load web fonts (Google Fonts / Fontshare) at view time. Optional tooling: PPT conversion needs Python + python-pptx; PDF export needs Node.js (Playwright); Vercel deploy needs a Vercel account. Documented in both READMEs.

Add the frontend-slides skill (v2.1.0) by zarazhangrui as a community
plugin under external_plugins/. Zero-dependency HTML presentation
generator: style discovery with 3 visual previews, 12 safe presets,
34 bold design systems, PPTX conversion, PDF export, and Vercel
deploy. MIT licensed (c) Zara Zhang; see LICENSE and READMEs.
@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants