magazine
Render any content as a magazine-style HTML editorial — single self-contained file, Fraunces + Inter typography, each section gets its own distinct full-viewport spread (hero, dark midnight, rose alert stamp, terminal, academic drop-cap, big-stat, vinyl vintage, poster, scientific, etc.). Use when the user asks to 'magazine-style', 'editorial layout', 'morning edition', 'render as a zine', or wants any list / digest / report / minutes / curated content rendered as a designed publication instead of raw text. Triggers: 'magazine', 'morning edition', 'editorial', 'newsletter', 'zine', 'magazine-style', 'render this as a magazine', 'make it look like a magazine', 'beautiful html', 'designed digest'. Especially good for: HN/RSS feeds, meeting minutes, research summaries, project status reports, op-ed drafts, link roundups, daily briefings.
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- magazine
- description
- Render any content as a magazine-style HTML editorial — single self-contained file, Fraunces + Inter typography, each section gets its own distinct full-viewport spread (hero, dark midnight, rose alert stamp, terminal, academic drop-cap, big-stat, vinyl vintage, poster, scientific, etc.). Use when the user asks to 'magazine-style', 'editorial layout', 'morning edition', 'render as a zine', or wants any list / digest / report / minutes / curated content rendered as a designed publication instead of raw text. Triggers: 'magazine', 'morning edition', 'editorial', 'newsletter', 'zine', 'magazine-style', 'render this as a magazine', 'make it look like a magazine', 'beautiful html', 'designed digest'. Especially good for: HN/RSS feeds, meeting minutes, research summaries, project status reports, op-ed drafts, link roundups, daily briefings.
- user-invocable
- true
02 资源文件 8
- 参考文档references/design-system.md10.7 KB
- 参考文档references/examples.md5.8 KB
- 参考文档references/print-pdf.md10.1 KB
- 参考文档references/sourced-links.md7.0 KB
- 参考文档references/spreads.md18.4 KB
- 脚本scripts/regen-archive-index.py7.5 KB
- 脚本scripts/wb-availability.py2.8 KB
- 脚本scripts/wb-save.py3.9 KB
03 SKILL.md 正文
Magazine
Turn any content into a single self-contained HTML magazine where each item gets its own full-viewport spread with distinct typography, color, and layout treatment. Inspired by editorial design (NYT Magazine, The Atlantic, Wired, Pitchfork, MIT Technology Review).
When to use
- User asks for a "morning edition," "daily digest," "newsletter," "magazine," "zine," or "editorial" version of any content
- User wants a list of items (stories, projects, meetings, links) rendered with real visual variety, not as a markdown list
- User wants meeting minutes, research, or reports presented as if for publication, not for a tracker
- User wants something to feel "designed" — different background colors, layout, numeral treatment per item
- User specifically references the previous Morning Edition output and asks to recreate the format for a different topic
Don't use for
- Plain working documents (memos, code review, technical specs) — use plain markdown / Google Docs
- Single-screen things — magazine layout is for multi-spread digests and lists
- When the user wants editable Google Docs — magazine output is HTML, not Docs-friendly
Required reading before generating
Before writing any output, read these in order:
references/design-system.md— fonts, color palettes, type scales, layout chromereferences/spreads.md— full library of spread treatments with copy-paste CSSreferences/print-pdf.md— MANDATORY print stylesheet +--pdfflag handling (every magazine HTML must include it so Chrome → PDF produces no blank pages)references/examples.md— how to invoke for HN / minutes / research / link roundups
The treatments library is the value. Don't reinvent — pick from the catalog.
Core flow
- Identify source — what is being rendered? A live feed (HN, RSS), a document (minutes, transcript), or a curated list?
- Curate / score — if the source is a feed, apply taste filters (skip lists, lean-into lists). If the source is a document, extract 8–12 items worth their own spread.
- Pick treatments — assign each item a spread treatment from the catalog based on its tone (security → dark midnight, creative → magazine cover, civic → poster, dev tools → terminal, science → scientific, urgent issue → rose alert stamp, etc.).
- Generate HTML — single self-contained file using the design-system shell. Each item is its own
<section class="spread sNN">with full viewport height. - Save — to
~/Downloads/<slug>.htmlby default unless user specifies a path. Optionally upload to Google Drive folder if user asks. - Open / report —
openthe file in the user's browser and report the path + a one-line summary of treatments used.
Style commitments (non-negotiable)
- Document order:
<body>→<script>→<style>(NOT the traditional<head>with style/script before body). Write the body content first, then any<script>, then<style>last. Browsers reparent these correctly. This order ships dramatically better magazines than the traditional layout — it forces content-first generation and prevents running out of attention on scaffolding before the spreads exist. See "Document skeleton" below. - Fonts: Fraunces (serif display) + Inter (sans body) loaded via Google Fonts. Optional: JetBrains Mono for terminal/code spreads, Space Grotesk for scientific spreads.
- No small text anywhere. Body minimum 22px. Spread display sizes use
clamp()ranging from 48px → 200px+. - Each spread is its own world. No two spreads share the same background color, type treatment, AND numeral treatment. Variety is the whole point.
- Self-contained. All CSS inline in
<style>. No external JS required (except Google Fonts link). User opens one file, it works forever.
Document skeleton (MANDATORY)
Every magazine file uses this exact order — body content first, scripts second, styles last:
<!doctype html>
<html lang="en">
<title>The Morning Edition — 2026-05-18</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fraunces:...&family=Inter:...&display=swap" rel="stylesheet">
<body>
<header class="masthead">...</header>
<section class="spread s01">...</section>
<section class="spread s02">...</section>
<!-- ... more spreads ... -->
<footer class="colophon">...</footer>
</body>
<script>
// Optional: print mode toggle, ?pdf= flag handling, anchor smooth-scroll, etc.
</script>
<style>
/* All CSS lives here, last. See references/design-system.md and references/spreads.md. */
</style>
</html>
Notes:
- No
<head>wrapper.<title>,<meta>, and<link rel="stylesheet">for Google Fonts go at the top of the document before<body>— browsers parse them into the implicit head. <style>at the end of the document still applies to all preceding content (CSS is order-agnostic for selector matching). The trailing position is the whole point — body comes first.- This is non-traditional but valid HTML5. Do not "fix" it back to the standard
<head><style><script></head><body>order. - Numerals matter. Every spread has a giant numeral (01, 02, 03…) with its own treatment per the spreads catalog.
- Source line on every spread. Small (but not tiny — 18px+) attribution line at the bottom: source name + URL + any metadata.
Curation rules (when input is a feed)
If the user has previously stated a taste profile (love list / skip list), apply it. Otherwise infer from context:
- Lean in: AI tools, dev tools, privacy, security, weird science, creative software, civic transparency, infrastructure, anything actionable.
- Skip: crypto pumps, generic political flame wars, layoff hot-takes, "I quit my job," dating apps, fundraising press releases, generic Show HN unless useful.
- Flag "applies to you" when a story directly intersects something the user is actively working on — use the red rotated badge from the design system.
If you're unsure of taste, ask once at the start. Don't ask per-item.
Output requirements
- File path:
~/Downloads/<slug>-YYYY-MM-DD.htmlunless overridden - Title in
<title>should be evocative ("The Morning Edition — April 15, 2026", "Field Notes — SFPUC CAC, April 14") - Include a masthead spread (cover) and a colophon spread (sign-off) — these are part of the form
- After generation:
openthe file, then in chat give a 5-line max summary (file path, what's in it, treatment list)
Mandatory follow-up
After the file opens, ask the user if they want a recurring routine to generate this on a schedule (cron, Claude Code Routine, or loop skill). Magazine output is high-effort — automating the recurring case is the whole win.
04 同仓库更多 Skills
zi-search
暂无简介
visualise
Render inline interactive visuals — SVG diagrams, HTML widgets, charts, and explainers — directly in the conversation. Use this skill whenever the user asks to visualize, diagram, chart, illustrate, or explain something visually, or when an explanation would genuinely benefit from a spatial/interactive diagram rather than text. Also triggers for: flowcharts, architecture diagrams, data visualizations, interactive explainers, comparison layouts, UI mockups, and any request containing 'show me', 'draw', 'map out', 'visualize', or 'diagram'. Even when the user doesn't explicitly ask for a visual, use this skill proactively when the topic has spatial, sequential, or systemic relationships that a diagram would clarify better than prose.
video
When the user wants to create, generate, or produce video content using AI tools or programmatic frameworks. Also use when the user mentions 'video production,' 'AI video,' 'Remotion,' 'Hyperframes,' 'HeyGen,' 'Synthesia,' 'Veo,' 'Runway,' 'Kling,' 'Pika,' 'video generation,' 'AI avatar,' 'talking head video,' 'programmatic video,' 'video template,' 'explainer video,' 'product demo video,' 'video pipeline,' or 'make me a video.' Use this for video creation, generation, and production workflows. For video content strategy and what to post, see social-content. For paid video ad creative, see ad-creative.
manim-video
Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric/mathematical content.
video-use
Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.
ui-improver
暂无简介