make-knowledge-cardslisted
Install: claude install-skill shzshzshz123/article-to-knowledge-cards
# Make Knowledge Cards
## Overview
Turn a pasted article or a local Markdown/TXT file into a compact set of standalone
knowledge cards. Each card teaches exactly one knowledge point and carries a title, the
core knowledge, a concise explanation, and exactly one example or self-test question.
The value of this skill is faithful extraction: keep what matters, drop what repeats, and
never invent content that is not in the source. Cards are a compressed view of the source,
not a commentary on it.
## Input Handling
Accept exactly two sources:
1. **Pasted text** - the user pastes the article directly in the conversation.
2. **Local Markdown/TXT file** - a path ending in `.md`, `.markdown`, `.txt`, or `.text`.
Read it with the file-reading tool before working.
State the limitation and ask for a supported input when the source is a URL, a PDF, Word,
PPT, image, or other binary document, or when the user asks for Anki export or a graphical
interface. Do not guess at or substitute content.
Classify the source before extracting anything:
| Source looks like | Do this instead of extracting cards |
| --- | --- |
| Already cards, an outline, or a summary | Do not compress it a second time. Say what it already is, then offer to re-cut it, add self-test questions, or regroup it. |
| Several files or several articles | Produce one card group per source, each under its own `## 知识卡片:<主题>` heading. Never merge unrelated sources into one set. |
| Code blocks, tables, formulas, diagram