flashcards

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/flashcards

/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.yaml
      session_history
      .
  4. Apply confidence discipline: flag every card generated from knowledge-without-source with
    [VERIFY]
    .

  1. 加载
    ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md
    → 当前课程、薄弱科目、大纲位置。
  2. 应用以下框架。
  3. 按标志路由:
    • --generate
      : 根据卡片编写规则从来源(大纲路径、笔记、案例书)制作卡片。写入
      ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md
    • --drill
      (默认): 优先处理到期卡片+新卡片;显示问题,等待回答,显示答案,进行自我评估,更新分组和下次复习时间。
    • --review
      : 按分组浏览卡组。
    • --stats
      : 进度快照;标记需要口头练习的疑难卡片。
    • --session <n>
      : 聚焦的N张卡片练习,优先选择之前答错的卡片+到期卡片;将结果追加到
      study-plan.yaml
      session_history
      中。
  4. 遵循可信度原则: 所有从无来源知识生成的卡片都标记
    [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.
大纲用于整合知识;闪卡用于记忆。律师资格考试和大多数法学院考试都看重快速回忆规则。本技能可从你的大纲(或笔记、案例书节选)生成卡片,通过简单的间隔练习进行巩固,并跟踪哪些内容是疑难、哪些尚未复习。
不是完整的SRS系统。采用简单的Leitner式分组。足够满足学习需求,也易于维护。如果你想用Anki,就用Anki;本技能适用于你在聊天中想要快速练习的场景。

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.
与其他内容生成技能遵循相同规则:
  • 如果从你提供的来源(大纲、笔记、案例书节选)生成卡片,卡片的问题和答案均来自该来源,可信度高。
  • 如果从我的知识库无来源生成卡片,对于每一张我不完全确定规则的卡片,都会标记
    [VERIFY: rule — confirm against source]
    。在将其作为学习目标前,你应该进行核实。
  • 如果我对某个领域不熟悉,我会生成更少的卡片而非编造内容。有8张优质卡片总比20张中有5张错误的卡片要好。

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
  • ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md
    → 当前课程、薄弱科目、现有大纲
  • ~/.claude/plugins/config/claude-for-legal/law-student/flashcards/[subject]/cards.md
    (如果存在,用于增量构建)
  • 用户提供的来源(大纲路径、笔记、案例书节选)(如果有)

Modes

模式

Flag:
--generate | --drill | --review | --stats | --session <n>
(default: prompt)
标志:
--generate | --drill | --review | --stats | --session <n>
(默认: 提示)

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

--session <n>
— 聚焦的N张卡片练习

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.yaml
    session_history
    :
yaml
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.
当学生说"让我们练习5张合同法卡片"或运行
/law-student:session Contracts 5 --flashcards
时使用。
  • 加载
    ~/.claude/plugins/config/claude-for-legal/law-student/study-plan.yaml
    (如果存在)并读取该科目的
    session_history
  • 优先级:之前标记为错误的卡片 > 到期卡片 > 新卡片。
  • 按照
    --drill
    流程逐一运行N张卡片。
  • 练习结束后,将结果追加到
    study-plan.yaml
    session_history
    中:
yaml
session_history:
  - date: 2026-05-08
    subject: Contracts
    type: flashcards
    n_cards: 5
    right: 3
    partial: 1
    wrong: 1
    stuck_topics: [parol-evidence-rule]
  • 如果没有
    study-plan.yaml
    ,则写入
    ~/.claude/plugins/config/claude-for-legal/law-student/session-history.yaml

--generate
— create cards

--generate
— 创建卡片

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:
markdown
undefined
输入:
  • 科目(课程名称或主题)
  • 来源(大纲路径、笔记,或"使用我
    ~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md
    中的现有大纲")
  • 可选:卡片数量目标(默认每次练习10-20张)
卡片结构:
markdown
undefined

Card [N]

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

**卡片编写规则:**
1. **每张卡片一个概念**。"过失的构成要件"要做成4张卡片,而非1张。
2. **正面是问题,而非主题**。"过失的注意义务"不合适。"过失的四个构成要件是什么?"更合适。
3. **背面是规则,而非段落**。如果答案需要一段内容,就拆分成多张卡片。
4. **注明来源**,以便你在练习时可以重新核对。

**来源核实**:当卡片是从我的知识库而非你粘贴的来源生成时,背面的规则以及引用的任何案例/法规都是由AI模型生成的,尚未经过验证。在记忆卡片之前,请对照你的大纲、案例书或研究工具(Westlaw、Fastcase、CourtListener)进行确认。将错误的卡片练到熟练比没有卡片更糟糕。

--drill
— study session

--drill
— 学习练习

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-assessmentBucket changeNext review
rightup one (new → learning → review → mastered)+1d new, +3d learning, +7d review, +21d mastered
partialsame bucket+1d
wrongdown one (review → learning; learning → new; new stays new)today +4h
don't knowdown onetoday +4h
优先级:
  1. next_review <= 今天
    且 bucket != mastered的卡片
  2. 尚未尝试的新卡片
  3. 如果没有到期卡片也没有新卡片:询问用户是否要复习已掌握的卡片(防止遗忘)
每张卡片的练习流程:
  1. 显示问题。等待回答。
  2. 用户回答(或输入"skip" / "don't know")
  3. 显示答案。
  4. 用户自我评估:
    right
    /
    partial
    /
    wrong
    /
    don't know
  5. 根据下表更新分组和下次复习时间:
自我评估分组变化下次复习时间
right升一级(new → learning → review → mastered)new+1天,learning+3天,review+7天,mastered+21天
partial保持原分组+1天
wrong降一级(review → learning; learning → new; new保持不变)今日+4小时
don't know降一级今日+4小时

--review
— browse deck

--review
— 浏览卡组

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

--stats
— 进度快照

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
.
按科目统计:总卡片数、分组分布、今日到期、本周已复习。突出显示那些两次以上被打回
new
分组的卡片——这些是疑难概念,值得通过
/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
  • outline-builder: 在构建或扩展大纲后,提供从新内容生成闪卡的选项
  • socratic-drill: 如果一张卡片答错2次以上,将其转到
    /law-student:socratic-drill
    进行口头梳理——闪卡不足以解决你真正不理解的概念
  • bar-prep-questions: 闪卡统计数据不佳的律师资格考试科目,在MBE练习中占更高权重

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.
flashcards/
└── [subject]/
    └── cards.md
每个科目一个文件。卡片采用Markdown格式。分组/复习元数据内嵌在每张卡片中。对于非常大的卡组(>500张)不是最优选择,但适合典型的法学院卡组规模。

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.
  • 替代Anki。如果你已经有使用闪卡的习惯,请继续保持。本技能适用于你在聊天中想要练习而无需切换应用的场景。
  • 为达到数量目标编造卡片。如果我只能从你的来源生成8张可信的卡片,你就得到8张。用大量带
    [VERIFY]
    的猜测内容凑数,不如用更小但质量更高的卡组。
  • 强制学习纪律。错过复习日会累积;本技能仅显示到期内容。是否练习由你决定。
  • 教你规则。卡片用于巩固你已经学过的内容。如果一张卡片一直答错,问题出在前期——使用
    /law-student:socratic-drill
    或重新阅读来源。