prompt-card
БесплатноБез исполняемых скриптовНе проверенBuild a brief, interactive prompt card: a small card that teaches a reader one prompt, with numbered color-coded slots whose 'why it matters' notes pop up on…
от ericmjl★ 45 звёзд на GitHubОб этом скилле
Prompt card
Usage
Use this skill when someone wants to show readers a prompt they actually use, in a form readers can copy and understand. The card sits at the bottom of a blog section or inside a note, so it has to be brief: roughly 350 to 500px tall at 640px wide.
The card takes up to three inputs:
- The prompt (required). The exact prompt the user types, with its blanks. Ask for it if it's missing.
- The skill or AGENTS.md instructions it uses (optional). Where they live, so you can read them. A card can be for a bare prompt. In that case, leave out the Interacts with section, or cut it to one line saying the prompt needs no setup.
- What the user means by it (optional). Their explanation of the key words: why each one is there and what goes wrong without it.
Learn the intent behind the key words
The hover notes explain why each word is there, so they have to say what the user means, not what you guess. Settle this before you write any hover note.
- If you iterated on the prompt with the user in this conversation, use what you learned there.
- If the user explained what they mean, use that, and ask only about gaps.
- Otherwise, interview the user. Ask a few short questions about the key words and blanks: what each one is for, and what goes wrong without it. If a skill is given, read it first, so your questions reflect what it actually does and you can offer a likely answer for the user to confirm or correct.
Work out where the card goes
Infer the destination from context, such as the file you're editing, the folder it's in, or how the user describes the card. Ask only if it's unclear.
- A blog post or website gets the standalone HTML widget, embedded with an iframe. Start from
assets/template.html. - An Obsidian note gets in-note markup plus a CSS snippet, because Obsidian strips scripts.
The Copy blank template button is part of the spec. Every card that can run scripts, whether embedded in a blog post or opened as a standalone page, must have it. The Obsidian in-note card is the only exception, because Obsidian strips scripts.
Either way, a card embedded in a post or note stays the slim hover widget described below. Anything longer belongs in the prose around it or on a standalone page.
What the card contains
Keep to these parts, in this order, and nothing else:
- Header. The card title, a small "prompt card" label, and the hint "Hover a highlight to see why it matters". The standalone version puts the Copy blank template button in the header and the hint just under the template.
- The template. The prompt in a white box. The parts that matter most are numbered, color-coded slots: 1 blue, 2 green, 3 amber, and 4 slate only if you truly need a fourth. Three slots is the sweet spot.
- Why notes as popovers. Each slot reveals its note on hover or keyboard focus. Don't add an always-visible list of notes. Put the same text in the slot's
title=attribute as a fallback. - Interacts with. A slate section with no number badge. One or two sentences on the standing instructions the prompt relies on (an agent skill, or else an AGENTS.md instruction) and what they supply, followed by chips naming them. This is what explains why a short prompt works. If the prompt stands alone, leave this section out or cut it to one line.
- Footer. One line: label, version, date.
Leave out metadata tables, skill lists, intended use, worked examples, limitations, and next steps. If the post needs those, they belong in the prose around the card.
Ground it before you write
- If the prompt relies on a skill or AGENTS.md, read the real instructions before writing any why note or the Interacts with text. Describe what they actually tell the agent to do.
- Base each why note on the user's intent from the step above, not on your own reading of the words.
- Don't invent capabilities. If a note implies something the instructions don't say, reword it or flag it to the user.
- Never link a private repo. Name a private skill as plain text. Link public skills only after you've confirmed the folder exists.
- Report any gaps between what the blog post claims and what the instructions say, rather than smoothing them over on the card.
Writing rules
- Plain, warm, direct. Write to the reader as "you".
- Each why note is one sentence, two at most: what the part does, and what goes wrong without it.
- No jargon or internal labels. No em-dashes. Sentence-case headings without colons.
Styling
If the host site already has interactive widgets, match them. Read its widget CSS first and reuse its fonts, colors, borders, radius, and spacing. Otherwise use the default house style below, which comes from a set of standalone blog widgets:
- Monospace, a
#fafafacard, a 1px#dddborder, 8px radius,0 2px 8px rgba(0,0,0,0.06)shadow, 640px max width,#0066ccaccent. - Slot palette: blue
#0066ccon#eef4ff, green#1a7a4bon#e7f6ee, amber#a05a0con#fdf3e3,
Установить prompt-card в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл prompt-card?
Build a brief, interactive prompt card: a small card that teaches a reader one prompt, with numbered color-coded slots whose 'why it matters' notes pop up on hover, and, when the prompt relies on one, an 'Interacts with' section naming the skill or AGENTS.md instructions behind it. Takes the prompt, optionally the skill it uses, and optionally the user's explanation of what they mean; if the intent isn't already clear from the conversation, interviews the user about it. Works out from context whether the card goes in a blog post (standalone HTML widget) or an Obsidian note (note markup plus CSS snippet). Use when someone wants a prompt card for a prompt, agent skill, or workflow. Triggers include 'make a prompt card', 'turn this prompt into a card', 'add a prompt card to this post', or 'show readers the prompt I use'.
Как установить скилл prompt-card?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prompt-card запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic