huashu-sparkline-arc
Skill này làm gì
Công cụ này tạo bài thuyết trình trực quan gọi là “narrative decks”. Chúng dùng phong cách riêng với một đường lượn sóng thể hiện sự tiến triển của ý tưởng từ hiện trạng đến tương lai mong muốn, và làm nổi bật các bước ngoặt bằng màu cam.
Khi nào nên dùng
- ✓Khi bạn muốn trình bày rõ ràng dữ liệu tài chính phức tạp.
- ✓Khi bạn muốn kể câu chuyện tăng trưởng của công ty cho nhà đầu tư.
- ✓Khi bạn muốn giải thích kế hoạch kinh doanh hoặc chiến lược cho hội đồng quản trị.
Liên kết skill
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-sparkline-arc/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo bài thuyết trình về tăng trưởng doanh thu của công ty trong năm qua, cho thấy các yếu tố chính và dự báo tương lai.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI dùng một mẫu thuyết trình định sẵn với một đường sóng chạy giữa “what is” (hiện tại) và “what could be” (tương lai có thể). Nó thay thế nội dung hiện có để kể câu chuyện của bạn, chỉ dùng màu cam tại các điểm ngoặt quan trọng.
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.
Narrative Sparkline · 叙事波形
Produce a single-file, Duarte-style narrative deck. You are a story
cartographer working in HTML: every page is built on one oscillating waveform
that travels between "what is" and "what could be", and orange appears only
where the story turns. 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. Do not introduce any
color or font outside this spec.
Generated from the Sparkline叙事波形 / Narrative Sparkline (Duarte式) spec
(中性派, 还原91%) in references/design-styles.md of
huashu-design by 花叔
(alchaincyf), MIT licensed. Lineage: Nancy Duarte《Resonate》sparkline
structure, Al Gore An Inconvenient Truth, Duarte Inc. data storytelling.
Hard spec (locked — violating any line is a regression)
Canvas & runtime
- One
<div id="stage">fixed at 1920 × 1080 px, centered withposition: fixed; top: 50%; left: 50%; afit()function appliestranslate(-50%, -50%) scale(min(innerWidth/1920, innerHeight/1080))on load andresize. All inner layout in px — the scaler owns responsiveness. - Each page is one
<section class="slide">inside#stagewith adata-screen-label="01 封面"-style label; exactly one slide carries.active; dark pages add.dark. - Navigation (keep the script verbatim):
←/↑/PageUpprevious,→/↓/Space/PageDownnext,Home/Endfirst/last;#/Nhash routing (1-indexed) read on load +hashchange, written viahistory.replaceState; click left third = back, rest = forward; fixed counter pill bottom-right, key-hint bottom-left. No external JS, no build step — the file must open inside a sandboxed iframe viafile://.
Design tokens (:root — keep the names, re-theme values only)
| Token | Value | Role |
|---|---|---|
--paper |
#FFFFFF |
light page background |
--night |
#0E0E0C |
dark pages (solo-line, closing) |
--ink |
#1A1814 |
primary text on light |
--night-ink |
#F5F3EE |
primary text on dark |
--accent |
#FF6B2C |
the brand orange — the only accent |
--accent-dim |
rgba(255,107,44,.14) |
annotation halos / soft fills |
--ghost |
#C9C7C2 |
greyed comparison waveform |
--grid |
#ECEAE6 |
hairline rules |
--muted |
#9A958C |
secondary labels |
--muted-2 |
#5F5A52 |
body copy on light |
--night-line |
#26241F |
hairlines on dark pages |
--night-mut |
#8A857C |
secondary text on dark |
--sans |
'Inter', 'PingFang SC', …, sans-serif |
headlines + body |
--mono |
'Geist Mono', 'SFMono-Regular', 'Menlo', monospace |
labels, annotations, numerals |
Fonts: one Google Fonts @import (Inter 400–900 + Geist Mono 400–600)
and nothing else. No CDN scripts, no chart libraries, no images — every chart
is a hand-written inline SVG path. A second accent color is the cardinal sin
of this style; grey is the only other voice.
Signature devices (the visual DNA — every deck must show them)
- The waveform spine: every page carries at least one full-bleed
.sparkSVG with a smooth cubic-bézier oscillating path. Line layer usespreserveAspectRatio="none"so the path stretches; annotation dots/text live in a second, non-stretched SVG layer with the same viewBox so circles stay round and type stays true. Line weights:.arc5px orange hero line,.arc-thin3.5px,.ghost-line3px grey,.ghost-dashstroke-dasharray: 2 10grey baseline/industry reference. - Orange turning-point annotations:
.ptgroup = soft halo circle (--accent-dim), solid orange dot (r≈6–7), optional 2px orange ring for THE inflection point, plus Geist Mono uppercase.lab(12px, 2px tracking) and.val(20px, 600) value text. Grey.pt-ghostdots mark pain points on comparison lines. Orange marks turning points only — if every dot is orange, nothing turns. - Progressive reveal: paths carry
pathLength="1"+ classdraw(stroke-dasharray: 1; stroke-dashoffset: 1);.slide.active .drawanimatesstroke-dashoffsetto 0 (spark-draw, ~1.8s, ease-out-ish cubic-bezier). Segment stagger viad1/d2/d3, dot fade-ins viap1…p5(animation-delay ladder). Because.activetoggles display, the reveal replays every time a slide is entered — keep it that way.
…
Câu hỏi thường gặp
“Narrative deck” là gì?
Đó là bài thuyết trình trực quan tập trung vào việc kể một câu chuyện rõ ràng và hấp dẫn, dùng các yếu tố hình ảnh như đường lượn sóng để thể hiện tiến trình và các bước ngoặt.
Vì sao màu cam lại quan trọng?
Màu cam chỉ được dùng để làm nổi bật những khoảnh khắc quan trọng nhất trong câu chuyện, tức là các “bước ngoặt”, nơi có điều gì đó thay đổi hoặc được quyết định.
Tôi có thể đổi thiết kế hoặc thêm màu khác không?
Không, thiết kế được cố định và tuân theo các quy tắc nghiêm ngặt để giữ sự rõ ràng và phong cách. Chỉ màu cam được dùng làm điểm nhấn, cùng các sắc xám và trắng/đen.
Chi tiết
Mô tả gốc của tác giả
OpenDesign's revenue-driver narrative: what actually moves ARR, the leverage points, and the forecast. Built as a decision-grade data & finance deck for board, finance leadership.
repo: nexu-io/open-design
Độ phổ biến
- Sao GitHub
- 101k
- Vị trí xếp hạng
- #1028
- Giấy phép
- Apache-2.0
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
sample-plugin
101kGiúp agent của bạn tạo một tệp metadata cho các bài kiểm thử. Nó giúp đảm bảo mã nguồn chạy đúng trong nhiều tình huống khác nhau.
aster-atelier
101kGiúp agent của bạn tạo một website nghệ thuật theo phong cách cổ điển. Nó dùng hình ảnh tinh tế, bầu trời xanh và phông chữ serif để tạo cảm giác điện ảnh.
audio-jingle
101kGiúp agent của bạn tạo âm thanh như nhạc hiệu và hiệu ứng âm thanh. Nó có thể tạo nhạc và giọng nói, rồi lưu kết quả thành tệp âm thanh.
blog-post
101kGiúp agent của bạn viết bài báo dài hoặc bài blog. Có chỗ dành cho hình ảnh, trích dẫn và thông tin tác giả.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.