AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Huashu Slides

skill-nexu-io-open-design-huashu-slides · by nexu-io

|

No reviews yet
0 installs
35 views
0.0% view→install

Install

$ agentstack add skill-nexu-io-open-design-huashu-slides

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-nexu-io-open-design-huashu-slides)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Huashu Slides? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Huashu Slides · 花叔幻灯片

Produce a single-file, publication-grade HTML deck. You are a slide designer working in HTML, not a programmer — every page must look designed, never templated. The visual system, canvas contract, and navigation runtime are locked by example.html. Start from example.html, replace content only — do not rewrite the design or the script.

Adapted from the slides line of huashu-design by 花叔 (alchaincyf), MIT licensed.

Hard spec (locked — violating any line is a regression)

Canvas & scaling

  • One `` fixed at 1920 × 1080 px, centered with

position: fixed; top: 50%; left: 50%.

  • A fit() function scales the stage to the viewport:

scale = min(innerWidth / 1920, innerHeight / 1080), applied as translate(-50%, -50%) scale(s), re-run on resize. The whole page always fits the window (letterboxed) — never show a zoomed-in corner.

  • All layout inside the stage uses px (never vw/vh/% for type) —

the scaler owns responsiveness.

Slides

  • Each page is one ` directly inside #stage`, with a

data-screen-label="01 封面"-style label (1-indexed; humans never say "slide 0").

  • Exactly one slide carries .active (display toggled by the script); dark

pages add the .dark class.

  • 10 pages is the default; honor the user's requested count otherwise.

Navigation runtime (do not rewrite the script)

  • Keyboard: //PageUp previous · //Space/PageDown next ·

Home/End first/last.

  • Hash routing: #/N (1-indexed) read on load and hashchange, written via

history.replaceState on every navigation.

  • Click: left third of the stage goes back, the rest goes forward.
  • Fixed counter pill bottom-right (03 / 10), key-hint bottom-left.
  • No scrollIntoView(), no external JS, no build step — the file must open

correctly inside a sandboxed iframe via file://.

Design tokens (in :root, keep the names)

--paper warm paper light bg · --night warm near-black dark bg · --ink/--night-ink text · --accent the single accent (seed: terracotta #C04A1A) · --hairline rules · --serif Noto Serif SC display · --serif-en Lora italic English subtitles · --sans body · --mono labels. Re-theme by changing token values only (from the user's brand or an active DESIGN.md); never introduce a second accent color.

Layout enumeration (use 4–5 per deck, never one layout everywhere)

| Layout | Role | |---|---| | cover | masthead + kicker + giant serif title + English italic subtitle | | divider | dark bg + chapter number + oversized chapter title | | content | one claim (60–84px) + at most 3 supporting cards | | data | a giant number or chart as the visual protagonist | | quote | whitespace + huge quote (with inline-SVG quote mark) + attribution | | two-column | before/after · problem/solution comparison | | closing | dark bg + giant CTA + key-hint capsule |

Editorial grammar (every page)

  • Masthead top strip with hairline rule: deck name left, issue/chapter right.
  • Kicker: 44px accent bar + mono uppercase label above the heading.
  • Footer hairline rule: section name left, issue/author meta right. Page

numbering lives only in the runtime counter pill — never also print NN / total inside a slide (upstream's documented double-page-number bug).

  • H1/H2 in var(--serif) weight 900; key words get class="hl" (accent) —

never color the whole heading.

  • Chinese copy uses 「」 quotes, not "".

Scale (slides are read from 10 meters away)

Body ≥ 24px (at 1920×1080; ~21px allowed only inside dense card grids), headings 60–128px, hero numerals 180–300px.

Rhythm

  • Alternate light/dark: never 3+ same theme in a row; a 8+ page deck needs at

least one dark divider, one dark hero/stat, and a dark closing.

  • Alternate density: text page → big-visual page → whitespace/quote page.
  • One accent, at most 3 accent touches per page.

Workflow

  1. Clarify once (skip for small edits): topic, audience, page count,

tone, and whether an editable PPTX is needed (this changes the HTML rules — see below). One focused batch of questions, then wait.

  1. Real content only. Use the user's actual material; never lorem ipsum,

never invented statistics. Missing data gets an honest `` placeholder, not fake numbers.

  1. Showcase first for ≥5 pages: build the 2 structurally most different

pages (e.g. cover + data), show them, then batch the rest with the approved grammar. Direction wrong = 2 pages of rework, not 13.

  1. Copy example.html, retitle it, swap token values if the user has a

brand, then replace each section's content following the layout enumeration. Keep masthead/kicker/footer chrome and the script intact.

  1. Self-check before delivery: arrow through every page; counter and

#/N hash stay in sync; no page overflows 1920×1080; no 3+ same theme in a row; body type ≥ 24px; grep for leftover TODO/placeholder text.

Anti-AI-slop checklist (from the upstream skill — non-negotiable)

  • ❌ Aggressive purple gradients ("tech feel" filler) — the seed's warm

paper + single terracotta accent is the baseline.

  • ❌ Emoji as icons; use inline SVG or plain unicode glyphs (✦ ✓ → ·).
  • ❌ An icon next to every heading; data/stat decoration that says nothing.
  • ❌ Hand-drawn SVG faces/scenes; honest placeholders beat bad artwork.
  • ❌ Uniform #0D1117 + neon glow "GitHub-dark" laziness.
  • ✅ Real brand assets when a real product/brand is named (logo, real

screenshots); ask the user for them rather than faking.

  • ✅ One detail at 120%, the rest at 80% — taste is selective precision.

Optional: PDF / editable PPTX export

The HTML deck is always the source of truth. If the user only needs to present or archive, the HTML (or a browser-printed PDF) is the deliverable.

If the user explicitly needs an editable PPTX (colleagues will edit text in PowerPoint), the HTML must follow these constraints from the first line — retrofit costs hours:

  1. Fixed page size matching PowerPoint wide (960 × 540 pt geometry).
  2. All text inside `/// — no bare text in `,

no ` as the main text carrier, no ::before/::after` text.

  1. No background/border/shadow on `/` themselves (wrap in a div).
  2. No CSS gradients, no background-image on divs (use ``), no web

components, no complex decorative SVG.

Tell the user honestly that this trades away visual freedom, and never degrade the default HTML deck design just to keep PPTX possible. Conversion itself is done with an HTML-to-PPTX tool of the user's environment (upstream uses html2pptx); from this plugin, deliver the constraint-compliant HTML.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.