agentleFS
Ic3b3rgIc3b3rg/learn-skills/skills/flashcards/SKILL.md

flashcards

Skill9 starsChanged 5 months agoMITView on GitHub

Creates cited Markdown flashcards for later retrieval practice. Use when the user wants reusable cards, facts to drill, or flashcards from code or a learning session; practising existing cards belongs to quiz-me.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Project read: Read package.json / lockfile / pyproject.toml.

    line 38
  2. Distinctive:

    Atomicity check: If the front contains "and" or multiple clauses, ask the user to split.

    line 43
  3. Distinctive:

    Source the answer: Read code or retrieve the authoritative documentation with available tools to write a verified back.

    line 44
  4. Very specific:

    Offer the follow-up: After saving, suggest quiz-me on the actual saved path when the user wants to practise.

    line 47
  5. Very specific:

    If CURRICULUM.md exists in the current directory, the skill is running inside a Scenario B workspace.

    line 51
  6. Very specific:

    If CURRICULUM.md is absent (legacy mode), cards go to learn/flashcards/ as before.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Flashcards

Speak to the user in their language; these instructions are in English for the agent.

A generative skill that produces a markdown file of ASCII flashcards under learn/flashcards/. Each card is one atomic fact, with a clearly-folded answer. Cards are a vehicle for retrieval practice — see ADR 0001 — not a methodology in themselves. This skill produces the artefact; /quiz-me is the methodology that uses it.

Quick start

User: /flashcards src/auth/session.ts
Agent: Project read first. Stack: TypeScript + NextAuth 5.0.
       Cards will be saved to learn/flashcards/session-cards.md. I'll prompt you for
       the question phrasing on each card; I'll verify and write the answer.
       Tell me the first thing you want to be able to recall from memory.

The file is plain markdown. Compatible with eye-review and with simple flashcard importers via copy-paste; we don't generate binary deck formats.

Workflows

Mode detection

Inspect the argument:

  • Code-mode — argument is a file or PR. Cards target facts about this code (invariants, signatures, behaviour edges).
  • Topic-mode — argument is a concept. Cards target facts about the topic at the project's stack version.

Card and file format

See CARD-FORMAT.md for the exact card block, file structure, and the three non-negotiable properties (atomic, question-from-user, cited). Default file size: 5–15 cards.

Generation protocol

  1. Project read. Read package.json / lockfile / pyproject.toml. Cards must reflect the actual version in use.
  2. Read the artefact (code-mode) or fetch the docs (topic-mode). No card is written if the answer cannot be sourced.
  3. Ask the user for the first question front. Examples of good prompts:
    • "What's one thing about this code you'd want to recall a week from now without looking?"
    • "What's the first specific fact about this topic you want to drill?"
  4. Atomicity check. If the front contains "and" or multiple clauses, ask the user to split.
  5. Source the answer. Read code or retrieve the authoritative documentation with available tools to write a verified back. Cite. Never write an answer from memory.
  6. Loop. Continue until the user says stop, or 15 cards, whichever first.
  7. Write the file to flashcards/<slug>-cards.md in workspace mode, otherwise learn/flashcards/<slug>-cards.md, using the available file-editing tools.
  8. Offer the follow-up. After saving, suggest quiz-me on the actual saved path when the user wants to practise.

Workspace mode

If CURRICULUM.md exists in the current directory, the skill is running inside a Scenario B workspace. In workspace mode:

  • Cards go to flashcards/<slug>-cards.md (not learn/flashcards/).

If CURRICULUM.md is absent (legacy mode), cards go to learn/flashcards/ as before.

Using the cards later

This skill doesn't practise the cards — it only generates them. Practice happens via /quiz-me on the file. The agent reading the cards file should treat each Front as a recall prompt and verify the user's answer against the Back + citation.

Anti-patterns

  • Don't author question fronts for the user — the user phrases what they want to recall, because what they choose to be tested on is itself diagnostic information about their model; agent-authored fronts collapse retrieval into recognition.
  • Don't write answers from memory — every back is sourced before being written, otherwise the card becomes a durable carrier of borrowed confidence that the user will absorb on every review.
  • Don't write compound cards (two facts in one) — compound cards make it impossible to distinguish "knew one fact and guessed the other" from "knew both"; atomicity is what makes recall signal interpretable.
  • Don't generate without citations because "it's basic" — cite anyway; cards are durable, and basic-looking facts often turn out to be the version-specific ones that drift over time.
  • Don't put the answer above the fold — the <details> fold is the entire point of the format; visible answers turn cards into reading material, which doesn't drive retrieval.
  • Don't write more than 15 cards in one session — this workflow bounds the amount of material to phrase and verify; fifteen is a product limit, not a measured fatigue threshold.

Governing principles

  1. Agent withholds — answers folded; the user produces the front phrasing.
  2. Student speaks first — the user's recall need is the input.
  3. Artefact is the judge — every back is verified against the real code/docs.
  4. Source fidelity — every back ends with a citation to an authoritative source; stack version anchored before generation. Before verifying, read SOURCES.md.
  5. Transfer and completion — saving cited cards completes generation; it does not demonstrate recall or transfer. The user may practise with quiz-me later.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.