npx skills add ...
npx skills add anthropics/claude-for-legal --skill flashcards
npx skills add anthropics/claude-for-legal --skill flashcards
Generate or drill flashcards for black-letter memorization — Leitner-style buckets, per-subject markdown storage, drill mode with self-assessment. Use when the user says "drill flashcards", "make flashcards from", "quiz me on cards", or wants to memorize rules.
~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, outline locations.--generate: build cards from source (outline path, notes, casebook) per card-writing rules. Write to ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md.--drill (default): prioritize due cards + new; show Q, wait for answer, show A, take self-assessment, update buckets + next review.--review: browse deck by bucket.--stats: progress snapshot; flag stuck cards for verbal drill.--session <n>: focused N-card session, prioritized by prior misses + due cards; appends results to study-plan.yaml → session_history.[VERIFY].If the question the student is asking sounds like it's about a REAL situation — their lease, their parking ticket, their family's business, their friend's arrest, a real dollar amount, a real deadline, a real party name — stop.
"This sounds like a real situation, not a hypothetical. I can't give you legal advice, and you can't give it either — you're not a lawyer yet. If this is real, [the person] needs an actual lawyer: legal aid, your school's clinic, a lawyer referral service (your jurisdiction's bar association, law society, or legal aid body), or (if there's money) a private attorney. I'm happy to help you understand the general legal concepts involved, but that's study, not advice."
Watch for: real names, real addresses, real dates, specific dollar amounts, "my landlord/boss/parent/friend," "I got a ticket/letter/notice," deadlines measured in days. Any one of these is a trigger.
Outlines are for synthesis; flashcards are for memorization. The bar exam and most law school exams reward fast rule recall. This skill generates cards from your outline (or notes or casebook excerpts), drills them with light spacing, and tracks what's stuck and what hasn't.
Not a full SRS system. Simple Leitner-style buckets. Good enough to study, light enough to maintain. If you want Anki, use Anki; this is for when you're in chat and want a quick drill.
Same rule as the other content-generating skills:
[VERIFY: rule — confirm against source]. You should check before committing to the card as a learning target.~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, existing outlines~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md if it exists (incremental build)Flag: --generate | --drill | --review | --stats | --session <n> (default: prompt)
--session <n> — focused N-card sessionFor when the student says "let's do 5 cards on Contracts" or runs /law-student:session Contracts 5 --flashcards.
~/.claude/plugins/config/claude-for-legal/law-student/study-plan.yaml if it exists and read session_history for this subject.--drill flow.study-plan.yaml → session_history:study-plan.yaml, write to ~/.claude/plugins/config/claude-for-legal/law-student/session-history.yaml instead.--generate — create cardsInputs:
Card structure:
Card-writing rules:
Citation check. When cards are generated from my knowledge rather than a source you pasted, the rule and any case/statute cited on the back were generated by an AI model and have not been verified. Before you memorize a card, confirm it against your outline, casebook, or a research tool (Westlaw, CourtListener). A wrong card drilled to mastery is worse than no card.
--drill — study sessionPrioritization:
next_review <= today AND bucket != masteredDrill flow per card:
right / partial / wrong / don't know| Self-assessment | Bucket change | Next review |
|---|---|---|
| right | up one (new → learning → review → mastered) | +1d new, +3d learning, +7d review, +21d mastered |
| partial | same bucket | +1d |
| wrong | down one (review → learning; learning → new; new stays new) | today +4h |
| don't know | down one | today +4h |
--review — browse deckShow all cards in a subject. Grouped by bucket. Useful for scanning what's in the deck and manually adjusting card content.
--stats — progress snapshotPer subject: total cards, bucket distribution, due today, reviewed this week. Highlight any cards that have bounced down to new more than twice — those are the stuck concepts worth drilling verbally via /law-student:socratic-drill.
/law-student:socratic-drill for verbal working-through — flashcards aren't enough for concepts you don't actually understandOne file per subject. Cards are markdown. Bucket/review metadata is inline per card. Not optimal for very large decks (>500) but fine for typical law school deck sizes.
[VERIFY]-heavy guesses is worse than a smaller deck./law-student:socratic-drill or re-read the source.### Card [N]
**Q:** [question — one concept, one card]
**A:** [answer — the rule, one or two sentences]
**Source:** [outline section, casebook page, class note date]
**Bucket:** new
**Last reviewed:** —
**Next review:** [today's date]
**Notes:** [optional — distinctions, exceptions, traps]flashcards/
└── [subject]/
└── cards.md