Html ppt xhs post

From wolfenazz/YzPzCode · View interactive version

Html ppt xhs post is an AI agent skill from the GitHub repository wolfenazz/YzPzCode. 小红书 / Instagram 风 9 页 3:4 竖版图文(810×1080)— 暖色 pastel、虚线 sticker 卡片、底部页码点点。用于发小红书图文、Instagram carousel、品牌种草内容。

How to use this skill

Skill file

HTML PPT · 小红书 图文

A focused entry point into the CODE0 master skill that lands the user directly on the xhs-post full-deck template.

When this card is picked

The Examples gallery wires "Use this prompt" to the example_prompt above. When you accept that prompt, this card is the right pick if the user wants exactly the visual identity of xhs-post (see the upstream full-decks catalog for screenshots and rationale).

How to author the deck

  1. Read the master skill first. All authoring rules live in

CODE0 — content/audience checklist,

token rules, layout reuse, presenter mode, the keyboard runtime, and the

"never put presenter-only text on the slide" rule.

  1. Start from the matching template folder:

skills/html-ppt/templates/full-decks/xhs-post/ — copy index.html and

style.css into the project, keep the .tpl-xhs-post body class.

  1. Bring the shared runtime with the template. The upstream

index.html links the shared CSS/JS via ../../../assets/... because it

sits three folders deep inside skills/html-ppt/templates/full-decks/.

Once you copy index.html into the project, those parent-relative URLs

no longer resolve and base.css, animations.css, and runtime.js

will 404 — meaning the deck never activates and slide navigation is

dead. Pick one of these two recipes per project:

skills/html-ppt/assets/fonts.css, skills/html-ppt/assets/base.css,

skills/html-ppt/assets/animations/animations.css, and

skills/html-ppt/assets/runtime.js into a project-local

assets/ (with assets/animations/animations.css), then rewrite the

four <link>/<script> tags in index.html from

../../../assets/... to the matching project-local paths

(assets/fonts.css, assets/base.css,

assets/animations/animations.css, assets/runtime.js).

<link rel="stylesheet" href="../../../assets/..."> with a

<style>...</style> containing the file's contents, and the

<script src="../../../assets/runtime.js"> with a

<script>...</script> containing runtime.js. Yields a single

self-contained index.html.

Either way, do not ship the upstream ../../../assets/... URLs

verbatim into a project artifact — they only work in-tree.

  1. Pick a theme. Default tokens look fine; if the user wants a different

feel, swap in any of the 36 themes from skills/html-ppt/assets/themes/*.css

via <link id="theme-link"> and let T cycle.

  1. Replace demo content, not classes. The .tpl-xhs-post scoped CSS only

recognises the structural classes shipped in the template — keep them.

  1. Speaker notes go inside <aside class="notes"> or <div class="notes"> — never as visible text on the slide.

Attribution

Visual system, layouts, themes and the runtime keyboard model come from

the upstream MIT-licensed CODE0. The

LICENSE file ships at skills/html-ppt/LICENSE; please keep it in place when

redistributing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.