Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật101k · #1027

huashu-slides

Skill này làm gì

Agent này tạo bài thuyết trình dưới dạng trang web (HTML). Nó biến ý tưởng của bạn thành các slide hấp dẫn, theo một thiết kế cụ thể và đảm bảo mọi thứ vừa màn hình máy tính của bạn.

Khi nào nên dùng

  • ✓Khi bạn cần trình bày một dự án hoặc ý tưởng một cách chuyên nghiệp.
  • ✓Khi bạn chuyển đổi nghề nghiệp và muốn giới thiệu hành trình của mình với nhà tuyển dụng.
  • ✓Khi bạn cần tài liệu trực quan hỗ trợ cho một cuộc họp quan trọng.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-slides/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-slides/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo bài thuyết trình về tầm quan trọng của việc tái chế, với 10 slide.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn cung cấp nội dung và chủ đề, và agent sắp xếp chúng thành các slide HTML. Nó dùng một mẫu định sẵn cho thiết kế, tập trung vào việc đặt văn bản và thông tin của bạn vào đó.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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 <div id="stage"> 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 <section class="slide"> 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.
  2. Real content only. Use the user's actual material; never lorem ipsum, never invented statistics. Missing data gets an honest <!-- 待用户提供 --> placeholder, not fake numbers.

…

Câu hỏi thường gặp

Tôi có thể chọn màu cho bài thuyết trình không?

Bạn có thể đổi màu bằng cách sửa các giá trị cụ thể trong mã, nhưng thiết kế tổng thể và màu nhấn chính (đất nung) được cố định để giữ tính nhất quán.

Bài thuyết trình sẽ có bao nhiêu slide?

Mặc định sẽ tạo 10 slide, nhưng bạn có thể yêu cầu số lượng khác.

Bài thuyết trình có chạy trên mọi thiết bị không?

Có, thiết kế tự động điều chỉnh để vừa với mọi màn hình, dù là máy tính hay thiết bị khác.

Chi tiết

Mô tả gốc của tác giả

A career-pivot story from consultant to product leader — the arc, the proof, and why the next role is the right bet. Built as a decision-grade career deck for hiring manager, mentors.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1027
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự