huashu-pentagram-grid
它能做什么
这个系统可以制作视觉冲击力强、条理清晰的营销演示文稿。它使用一套明确定义的网格、颜色和字体,帮助你清楚、专业地呈现信息。
适用场景
- ✓为产品发布制作营销演示文稿。
- ✓为品牌团队制作传播材料。
- ✓用美观的方式整理数据和指标。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/huashu-pentagram-grid/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用 Pentagram Grid 系统,为我们的新产品制作一份营销演示文稿。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会把你的内容放进预设的演示文稿格式中,并遵循严格的设计规则,比如使用瑞士风格网格、特定配色(以红色为主要强调色)和固定字号。它还能保证演示文稿自适应屏幕,并可以在任何浏览器中打开。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Pentagram Info-Architecture · 信息建筑·红
Produce a single-file, Swiss-grid data deck. You are an information
architect working in HTML: every page is a measured grid, every number has a
coordinate, and red appears exactly where the eye must land. 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.
Adapted from the ppt-pentagram showcase of
huashu-design by 花叔
(alchaincyf), MIT licensed. The upstream file is a single data page; this
plugin extends it into a full multi-section deck while preserving its DNA.
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 |
#111111 |
dark pages + chrome bars |
--ink |
#111111 |
primary text on light |
--night-ink |
#FFFFFF |
primary text on dark |
--accent |
#E63946 |
the only red — the only accent |
--grid |
#E8E8E8 |
hairline rules / column rules |
--track |
#F5F5F5 |
bar-chart track |
--bar-base |
#E0E0E0 |
losing / baseline bar |
--muted |
#999999 |
secondary labels |
--muted-2 |
#666666 |
body copy on light |
--faint |
#BBBBBB |
tertiary captions |
--night-line |
#333333 |
hairlines on dark pages |
--night-mut |
#888888 |
secondary text on dark |
--sans |
'Helvetica Neue', 'Helvetica', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif |
the only family |
Zero external dependencies: no Google Fonts, no @import, no CDN. One
font stack, one accent. A second accent color is the cardinal sin of this
style.
Signature devices (the visual DNA — every deck must show them)
- 64px black chrome bars top and bottom of every light page: top bar =
uppercase 12px/700/3px-tracking label left (with a red
/separator) + red uppercase label right; bottom bar = 900-weight logotype + 1px#444vertical divider + grey footnote left, red uppercase label right. Dark pages swap solid bars for 1px--night-linehairline strips with the same text. - Grid hairlines: absolutely-positioned 1px verticals
(
top:64px; bottom:64px) and horizontals (left/right:80px) atopacity: 0.05black (0.08white on dark). 80px outer margins are the master gutter; columns land on them. - Giant numeral anchor: one 180–260px, weight-900,
negative-tracked (≈ −1px per 20px of size) number per hero page; its
decimal point, slash, or unit glyph is red (
<span class="decimal">/.red). Hero numerals on dark divider pages may be fully red. - Red/dark/grey bar charts:
.bar-row= right-aligned 90px label +--tracktrack + fill (winnerred /darkblack /basegrey) with the value printed inside, right-aligned, white (grey onbase). The subject of the page is always the red bar. Optional.deltared uppercase annotation underneath. - Summary strip:
border-top: 1px solid var(--grid)row of.summary-items — 32px/900 number with one red glyph + 11px uppercase spaced caption. - Outlined red badge (
.open-badge): 2px red border, red uppercase 11px text, optional inline-SVG dot glyph. Square corners — this style has zero border-radius anywhere except the runtime counter pill.
…
常见问题
可以使用哪些颜色?
你可以使用白色、黑色、灰色,以及一种特定的红色。红色用于突出最重要的内容。
演示文稿应该有多少页?
通常是 10 页,也可以在 8 到 11 页之间调整。大部分页面应为浅色(白底),深色页面最多 2 到 3 页。
什么是“瑞士网格”?
这是一种版式系统,使用纵向和横向的参考线精确、均衡地组织内容,就像一张测量用的网格。
详情
作者的原始描述
OpenDesign's positioning & messaging system: the one-line promise, the pillars, and the proof — the source of truth for all copy. Built as a decision-grade marketing & GTM deck for brand & marketing team.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1026
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …