Перейти к содержанию
Skillpedia
Документация101k · #1028

huashu-sparkline-arc

Что он делает

Этот инструмент создает наглядные презентации, которые называются «narrative deck». Они оформлены в особом стиле: волнистая линия показывает развитие идеи от текущего состояния к желаемому будущему, а ключевые переломные моменты выделяются оранжевым цветом.

Когда использовать

  • ✓Чтобы наглядно представить сложные финансовые данные.
  • ✓Чтобы рассказать инвесторам историю роста компании.
  • ✓Чтобы объяснить бизнес-план или стратегию совету директоров.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-sparkline-arc/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Создай презентацию о росте выручки нашей компании за прошлый год с основными факторами и прогнозом на будущее.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

ИИ использует готовый шаблон презентации с волной, которая движется между «что есть» и «что может быть». Он заменяет существующее содержимое вашей историей и использует оранжевый только в ключевых точках изменений.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

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 with position: fixed; top: 50%; left: 50%; a fit() function applies translate(-50%, -50%) scale(min(innerWidth/1920, innerHeight/1080)) on load and resize. All inner layout in px — the scaler owns responsiveness.
  • Each page is one <section class="slide"> inside #stage with a data-screen-label="01 封面"-style label; exactly one slide carries .active; dark pages add .dark.
  • Navigation (keep the script verbatim): ←/↑/PageUp previous, →/↓/Space/PageDown next, Home/End first/last; #/N hash routing (1-indexed) read on load + hashchange, written via history.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 via file://.

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)

  1. The waveform spine: every page carries at least one full-bleed .spark SVG with a smooth cubic-bézier oscillating path. Line layer uses preserveAspectRatio="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: .arc 5px orange hero line, .arc-thin 3.5px, .ghost-line 3px grey, .ghost-dash stroke-dasharray: 2 10 grey baseline/industry reference.
  2. Orange turning-point annotations: .pt group = 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-ghost dots mark pain points on comparison lines. Orange marks turning points only — if every dot is orange, nothing turns.
  3. Progressive reveal: paths carry pathLength="1" + class draw (stroke-dasharray: 1; stroke-dashoffset: 1); .slide.active .draw animates stroke-dashoffset to 0 (spark-draw, ~1.8s, ease-out-ish cubic-bezier). Segment stagger via d1/d2/d3, dot fade-ins via p1…p5 (animation-delay ladder). Because .active toggles display, the reveal replays every time a slide is entered — keep it that way.

…

Частые вопросы

Что такое «narrative deck»?

Это визуальная презентация, в центре которой четкая и увлекательная история. Для показа развития и поворотных моментов используются такие элементы, как волнистые линии.

Почему важен оранжевый цвет?

Оранжевый используется исключительно для выделения самых важных моментов истории, «переломных точек», где происходит значимое изменение или принимается решение.

Можно ли поменять дизайн или добавить другие цвета?

Нет, дизайн фиксирован и следует строгим правилам, чтобы сохранить ясность и стиль. Допустим только оранжевый как акцент, а также оттенки серого и белый/черный.

Подробности

Оригинальное описание автора

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

Популярность

Звёзды на GitHub
101k
Место в рейтинге
#1028
Лицензия
Apache-2.0
Обновлён
15.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы