headline-card
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user asks to add news headline cards, 'Last Week Tonight'-style cards, headline slides, news quote slides, or media quote cards to a…
от edwinhu★ 28 звёзд на GitHubОб этом скилле
Headline Cards for Typst Presentations
What this skill carries — grep references/ for any subject the names below miss:
!d=${CLAUDE_SKILL_DIR}; command -v skill-toc >/dev/null 2>&1 && exec skill-toc "$d"; s=$HOME/.claude/skills/plugin-utils/bin/skill-toc; [ -x "$s" ] && exec "$s" "$d"; echo "(skill-toc unavailable: references and scripts are NOT listed here — install the plugin-utils plugin, or start a new session so its bin/ reaches PATH)"
Typst rules in force here — read the one that governs what you are writing; they are independent:
!k=slides; command -v typst-rules >/dev/null 2>&1 && exec typst-rules "$k"; echo "(typst corpus unavailable: NO Typst rule is listed here — install the typst plugin, or start a new session so its bin/ reaches PATH)"
An editorial recreation of a newspaper clipping: light paper stock, the real masthead logo, a top rule carrying a category kicker and dateline, a serif headline with a Last-Week-Tonight yellow highlighter swipe over one phrase, and a short standfirst.
Read templates/theme.typ before writing a card. The implementation is the
authority; if it disagrees with this file, believe it and fix this file.
Architecture
presentation/
├── templates/theme.typ ← headline-card() lives here; read it first
├── data/headlines-NN.json ← card data, NN = the lecture number
├── assets/logos/*.svg ← DARK / full-colour logos (see below)
└── slides/XX-topic/NN.typ ← loops over the JSON, one slide per card
Step 1: the JSON entry
{
"venue": "WSJ",
"date": "June 24, 2026",
"kicker": "Tech",
"headline": "The headline exactly as published",
"highlight": "phrase to swipe in yellow",
"quote": "The article's own standfirst/dek.",
"logo": "../assets/logos/wsj.svg"
}
highlight must be a substring of headline, matching character for
character — the function splits on it, so a straight quote where the headline
has a curly one silently produces no swipe. kicker and quote are optional.
Quote the article, do not summarise it. The standfirst should be the publication's own dek or a vivid line from the piece. "Discusses the impact of proxy advisors" is not a card; "Anyone who gives them money — shame on you" is.
Nothing on the card may be composed. Headline, dek, outlet and date are the
article's own or they do not go on the slide — a card asserts that a publication
printed this. Pull them from the record, and if a field cannot be sourced, omit
it rather than inventing it. Note that Reader's
reader-get-document-details returns null for published_date/source_url
while reader-list-documents --id <id> returns them populated — check both
before concluding a date is unavailable.
Step 2: paper stock is per publication
headline-card picks the stock from venue. FT is famously salmon and the
broadsheets are white; one generic cream for everything reads as wrong to anyone
who knows the paper.
| venue | stock |
|---|---|
| Financial Times, FT | #FFF1E5 salmon |
| WSJ, NY Times, Bloomberg, ABC News | #FFFFFF |
| X, Twitter | #FFFFFF — light-mode surface; the mark is black |
| Bluesky, Mastodon, Threads, LinkedIn | #FFFFFF — same embed layout; accents #01A5FF / #563ACC / black / #0A66C2 |
| anything else | #F7F4EC cream fallback |
Microblog cards are embeds, not clippings
A post takes the same function and the same stock table, but an embed layout, because the masthead layout is what made it read as a clipping of a tweet:
{
"venue": "X",
"name": "Matt Levine",
"handle": "@mattlevine",
"avatar": "../assets/avatars/mattlevine.jpg",
"date": "3:42 PM · Aug 22, 2026",
"headline": "The post text, verbatim."
}
| slot | embed | newspaper |
|---|---|---|
| mark | top right | left, as the masthead |
| identity | avatar + name over @handle, left | venue wordmark |
| date | below the text, over a hairline | top right, with the kicker |
| text | sans regular 21pt | serif bold 28pt |
| border | #cfd9de (X's own) |
#ded7c7, radius 0.3em |
name and avatar are optional — with no name the handle carries the slot
alone rather than leaving a bold gap, and with no avatar the row simply starts
at the name. Secondary text is #536471, X's own. Supply logo to use a real X
mark; otherwise a bold sans X stands in.
Bluesky and Mastodon take the same layout. All three microblog embeds have
one shape — avatar + name over handle at the left, mark top right, timestamp
below the text — so this is a venue LIST (X, Twitter, Bluesky,
Mastodon, Threads, LinkedIn), not a branch per platform. Only the mark and its accent differ, and the
handle format is data rather than code: @user (X, Threads),
@user.bsky.social, @[email protected]. Every microblog ships its real mark inline. post-mark-svg in theme.typ
carries the official path for X, Bluesky, Mastodon, Threads and LinkedIn, each
filled with the platfor
Установить headline-card в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл headline-card?
Use this skill when the user asks to add news headline cards, 'Last Week Tonight'-style cards, headline slides, news quote slides, or media quote cards to a Typst presentation. Also use when the user wants to modify existing headline cards (add/remove cards, change quotes, swap logos, fix layout issues). Trigger on: 'add a headline', 'news card', 'LWT card', 'headline slide', 'quote card', 'media quote', 'add a quote from [publication]'.
Как установить скилл headline-card?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл headline-card запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic