flashcards

GitHub

法律学习闪卡技能,支持生成、 drills 和复习。基于莱希纳箱法管理记忆,自动追踪进度与薄弱项。严格区分学习与真实法律咨询,对无来源生成的内容强制标记验证,确保准确性。

law-student/skills/flashcards/SKILL.md anthropics/claude-for-legal

Trigger Scenarios

用户要求制作或练习闪卡 用户希望进行法律规则背诵训练 用户提到 'drill flashcards' 或 'quiz me' 用户需要针对特定科目进行记忆强化

Install

npx skills add anthropics/claude-for-legal --skill flashcards -g -y
More Options

Non-standard path

npx skills add https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/flashcards -g -y

Use without installing

npx skills use anthropics/claude-for-legal@flashcards

指定 Agent (Claude Code)

npx skills add anthropics/claude-for-legal --skill flashcards -a claude-code -g -y

安装 repo 全部 skill

npx skills add anthropics/claude-for-legal --all -g -y

预览 repo 内 skill

npx skills add anthropics/claude-for-legal --list

SKILL.md

Frontmatter
{
    "name": "flashcards",
    "description": "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.\n",
    "argument-hint": "[subject] [--generate | --drill | --review | --stats | --session <n>]"
}

/flashcards

  1. Load ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, weak subjects, outline locations.
  2. Apply the framework below.
  3. Route by flag:
    • --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.yamlsession_history.
  4. Apply confidence discipline: flag every card generated from knowledge-without-source with [VERIFY].

Real-matter check

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.

Purpose

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.

Confidence discipline

Same rule as the other content-generating skills:

  • If generating cards from a source you provide (outline, notes, casebook excerpt), the card's Q and A come from that source. Confident.
  • If generating cards from my knowledge without a source, I flag every card that states a rule I'm not fully confident on with [VERIFY: rule — confirm against source]. You should check before committing to the card as a learning target.
  • If I don't know an area well, I generate fewer cards rather than inventing. Better to have 8 good cards than 20 where 5 are wrong.

Load context

  • ~/.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)
  • User-provided source (outline path, notes, casebook excerpt) if given

Modes

Flag: --generate | --drill | --review | --stats | --session <n> (default: prompt)

--session <n> — focused N-card session

For when the student says "let's do 5 cards on Contracts" or runs /law-student:session Contracts 5 --flashcards.

  • Load ~/.claude/plugins/config/claude-for-legal/law-student/study-plan.yaml if it exists and read session_history for this subject.
  • Prioritize: cards previously marked wrong > due cards > new cards.
  • Run N cards one at a time per the --drill flow.
  • At session end, append results to study-plan.yamlsession_history:
session_history:
  - date: 2026-05-08
    subject: Contracts
    type: flashcards
    n_cards: 5
    right: 3
    partial: 1
    wrong: 1
    stuck_topics: [parol-evidence-rule]
  • If no study-plan.yaml, write to ~/.claude/plugins/config/claude-for-legal/law-student/session-history.yaml instead.

--generate — create cards

Inputs:

  • Subject (class name or topic)
  • Source (outline path, notes, or "use my existing outline from ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md")
  • Optional: card count target (default 10-20 per session)

Card structure:

### 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]

Card-writing rules:

  1. One concept per card. "Elements of negligence" becomes 4 cards, not 1.
  2. Front is a question, not a topic. "Negligence duty" bad. "What are the four elements of negligence?" good.
  3. Back is a rule, not a paragraph. If the answer needs a paragraph, split into multiple cards.
  4. Cite the source so you can re-check during drill.

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, Fastcase, CourtListener). A wrong card drilled to mastery is worse than no card.

--drill — study session

Prioritization:

  1. Cards where next_review <= today AND bucket != mastered
  2. New cards not yet attempted
  3. If no cards due and no new cards: ask if user wants review of mastered cards (for decay prevention)

Drill flow per card:

  1. Show Q. Wait for answer.
  2. User answers (or types "skip" / "don't know")
  3. Show A.
  4. User self-assesses: right / partial / wrong / don't know
  5. Update bucket + next review per the table below:
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 deck

Show all cards in a subject. Grouped by bucket. Useful for scanning what's in the deck and manually adjusting card content.

--stats — progress snapshot

Per 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.

Integration with other skills

  • outline-builder: after building or extending an outline, offer to generate flashcards from the new material
  • socratic-drill: if a card has been wrong 2+ times, route it to /law-student:socratic-drill for verbal working-through — flashcards aren't enough for concepts you don't actually understand
  • bar-prep-questions: bar prep subjects with poor flashcard stats weight higher in MBE drilling

Storage

flashcards/
└── [subject]/
    └── cards.md

One 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.

What this skill does not do

  • Replace Anki. If you already have a flashcard habit, keep it. This is for when you're in chat and want to drill without switching apps.
  • Invent cards to hit a count target. If I can only generate 8 confident cards from your source, you get 8. Padding with [VERIFY]-heavy guesses is worse than a smaller deck.
  • Enforce study discipline. Missed review days compound; the skill just shows what's due. You decide whether to drill.
  • Teach you the rule. Cards are for drilling what you've already studied. If a card is consistently wrong, the problem is upstream — use /law-student:socratic-drill or re-read the source.

Version History

  • 5ceb305 Current 2026-07-05 15:36

Same Skill Collection

ai-governance-legal/skills/ai-inventory/SKILL.md
ai-governance-legal/skills/cold-start-interview/SKILL.md
ai-governance-legal/skills/customize/SKILL.md
ai-governance-legal/skills/matter-workspace/SKILL.md
ai-governance-legal/skills/policy-monitor/SKILL.md
ai-governance-legal/skills/policy-starter/SKILL.md
ai-governance-legal/skills/reg-gap-analysis/SKILL.md
ai-governance-legal/skills/use-case-triage/SKILL.md
ai-governance-legal/skills/vendor-ai-review/SKILL.md
commercial-legal/skills/amendment-history/SKILL.md
commercial-legal/skills/cold-start-interview/SKILL.md
commercial-legal/skills/customize/SKILL.md
commercial-legal/skills/escalation-flagger/SKILL.md
commercial-legal/skills/matter-workspace/SKILL.md
commercial-legal/skills/nda-review/SKILL.md
commercial-legal/skills/renewal-tracker/SKILL.md
commercial-legal/skills/review-proposals/SKILL.md
commercial-legal/skills/review/SKILL.md
commercial-legal/skills/saas-msa-review/SKILL.md
commercial-legal/skills/stakeholder-summary/SKILL.md
commercial-legal/skills/vendor-agreement-review/SKILL.md
corporate-legal/skills/ai-tool-handoff/SKILL.md
corporate-legal/skills/board-minutes/SKILL.md
corporate-legal/skills/closing-checklist/SKILL.md
corporate-legal/skills/cold-start-interview/SKILL.md
corporate-legal/skills/customize/SKILL.md
corporate-legal/skills/deal-team-summary/SKILL.md
corporate-legal/skills/diligence-issue-extraction/SKILL.md
corporate-legal/skills/entity-compliance/SKILL.md
corporate-legal/skills/integration-management/SKILL.md
corporate-legal/skills/material-contract-schedule/SKILL.md
corporate-legal/skills/matter-workspace/SKILL.md
corporate-legal/skills/written-consent/SKILL.md
employment-legal/skills/cold-start-interview/SKILL.md
employment-legal/skills/customize/SKILL.md
employment-legal/skills/expansion-kickoff/SKILL.md
employment-legal/skills/expansion-update/SKILL.md
employment-legal/skills/handbook-updates/SKILL.md
employment-legal/skills/hiring-review/SKILL.md
employment-legal/skills/internal-investigation/SKILL.md
employment-legal/skills/international-expansion/SKILL.md
employment-legal/skills/investigation-add/SKILL.md
employment-legal/skills/investigation-memo/SKILL.md
employment-legal/skills/investigation-open/SKILL.md
employment-legal/skills/investigation-query/SKILL.md
employment-legal/skills/investigation-summary/SKILL.md
employment-legal/skills/leave-tracker/SKILL.md
employment-legal/skills/log-leave/SKILL.md
employment-legal/skills/matter-workspace/SKILL.md
employment-legal/skills/policy-drafting/SKILL.md
employment-legal/skills/termination-review/SKILL.md
employment-legal/skills/wage-hour-qa/SKILL.md
employment-legal/skills/worker-classification/SKILL.md
external_plugins/cocounsel-legal/skills/deep-research/SKILL.md
ip-legal/skills/cease-desist/SKILL.md
ip-legal/skills/clearance/SKILL.md
ip-legal/skills/cold-start-interview/SKILL.md
ip-legal/skills/customize/SKILL.md
ip-legal/skills/fto-triage/SKILL.md
ip-legal/skills/infringement-triage/SKILL.md
ip-legal/skills/invention-intake/SKILL.md
ip-legal/skills/ip-clause-review/SKILL.md
ip-legal/skills/matter-workspace/SKILL.md
ip-legal/skills/oss-review/SKILL.md
ip-legal/skills/portfolio/SKILL.md
ip-legal/skills/takedown/SKILL.md
law-student/skills/bar-prep-questions/SKILL.md
law-student/skills/case-brief/SKILL.md
law-student/skills/cold-call-prep/SKILL.md
law-student/skills/cold-start-interview/SKILL.md
law-student/skills/customize/SKILL.md
law-student/skills/exam-forecast/SKILL.md
law-student/skills/irac-practice/SKILL.md
law-student/skills/legal-writing/SKILL.md
law-student/skills/outline-builder/SKILL.md
law-student/skills/session/SKILL.md
law-student/skills/socratic-drill/SKILL.md
law-student/skills/study-plan/SKILL.md
legal-builder-hub/skills/auto-updater/SKILL.md
legal-builder-hub/skills/cold-start-interview/SKILL.md
legal-builder-hub/skills/customize/SKILL.md
legal-builder-hub/skills/disable/SKILL.md
legal-builder-hub/skills/registry-browser/SKILL.md
legal-builder-hub/skills/related-skills-surfacer/SKILL.md
legal-builder-hub/skills/skill-installer/SKILL.md
legal-builder-hub/skills/skill-manager/SKILL.md
legal-builder-hub/skills/uninstall/SKILL.md
legal-clinic/skills/build-guide/SKILL.md
legal-clinic/skills/client-comms-log/SKILL.md
legal-clinic/skills/client-intake/SKILL.md
legal-clinic/skills/client-letter/SKILL.md
legal-clinic/skills/cold-start-interview/SKILL.md
legal-clinic/skills/customize/SKILL.md
legal-clinic/skills/deadlines/SKILL.md
legal-clinic/skills/draft/SKILL.md
legal-clinic/skills/form-generation/SKILL.md
legal-clinic/skills/memo/SKILL.md
legal-clinic/skills/plain-language-letters/SKILL.md
legal-clinic/skills/ramp/SKILL.md
legal-clinic/skills/research-start/SKILL.md
legal-clinic/skills/semester-handoff/SKILL.md
legal-clinic/skills/status/SKILL.md
legal-clinic/skills/supervisor-review-queue/SKILL.md
litigation-legal/skills/brief-section-drafter/SKILL.md
litigation-legal/skills/chronology/SKILL.md
litigation-legal/skills/claim-chart/SKILL.md
litigation-legal/skills/cold-start-interview/SKILL.md
litigation-legal/skills/customize/SKILL.md
litigation-legal/skills/demand-draft/SKILL.md
litigation-legal/skills/demand-intake/SKILL.md
litigation-legal/skills/demand-received/SKILL.md
litigation-legal/skills/deposition-prep/SKILL.md
litigation-legal/skills/legal-hold/SKILL.md
litigation-legal/skills/matter-briefing/SKILL.md
litigation-legal/skills/matter-close/SKILL.md
litigation-legal/skills/matter-intake/SKILL.md
litigation-legal/skills/matter-update/SKILL.md
litigation-legal/skills/matter-workspace/SKILL.md
litigation-legal/skills/oc-status/SKILL.md
litigation-legal/skills/portfolio-status/SKILL.md
litigation-legal/skills/privilege-log-review/SKILL.md
litigation-legal/skills/subpoena-triage/SKILL.md
privacy-legal/skills/cold-start-interview/SKILL.md
privacy-legal/skills/customize/SKILL.md
privacy-legal/skills/dpa-review/SKILL.md
privacy-legal/skills/dsar-response/SKILL.md
privacy-legal/skills/matter-workspace/SKILL.md
privacy-legal/skills/pia-generation/SKILL.md
privacy-legal/skills/policy-monitor/SKILL.md
privacy-legal/skills/reg-gap-analysis/SKILL.md
privacy-legal/skills/use-case-triage/SKILL.md
product-legal/skills/cold-start-interview/SKILL.md
product-legal/skills/customize/SKILL.md
product-legal/skills/feature-risk-assessment/SKILL.md
product-legal/skills/is-this-a-problem/SKILL.md
product-legal/skills/launch-review/SKILL.md
product-legal/skills/marketing-claims-review/SKILL.md
product-legal/skills/matter-workspace/SKILL.md
regulatory-legal/skills/cold-start-interview/SKILL.md
regulatory-legal/skills/comments/SKILL.md
regulatory-legal/skills/customize/SKILL.md
regulatory-legal/skills/gap-surfacer/SKILL.md
regulatory-legal/skills/gaps/SKILL.md
regulatory-legal/skills/matter-workspace/SKILL.md
regulatory-legal/skills/policy-diff/SKILL.md
regulatory-legal/skills/policy-redraft/SKILL.md
regulatory-legal/skills/reg-feed-watcher/SKILL.md
ai-governance-legal/skills/aia-generation/SKILL.md
corporate-legal/skills/tabular-review/SKILL.md
legal-builder-hub/skills/skills-qa/SKILL.md

Metadata

Files
0
Version
5ceb305
Hash
59c622dd
Indexed
2026-07-05 15:36

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-10 04:52
浙ICP备14020137号-1 $Гость$