Session

Run a focused N-question study session on a subject — MBE, essay, or flashcards. Tracks performance and updates the study plan. Use when the user says "run me 10 questions on [subject]", "do a session on [subject]", "let's do 5 cards on [subject]", or wants to drill a fixed number of questions and have the plan adapt.

infometa Updated 228 repo stars

File contents

/session

  1. Parse $ARGUMENTS — subject and N. If missing, ask:

    What subject, and how many questions? (e.g., Evidence 10 or Contracts 5 --essay.)

  2. Load ~/.codebuddy/plugins/config/legal-workflows/law-student/practice-profile.md → jurisdiction, exam format, weak subjects.
  3. Load ~/.codebuddy/plugins/config/legal-workflows/law-student/study-plan.yaml if it exists. Read session_history for this subject to weight subtopics toward where the student has been weak.
  4. Route by method flag:
    • --flashcards: load flashcards skill, run N cards in --drill mode.
  5. Run N questions one at a time. After each, explain right/wrong and flag rule-body when jurisdictions diverge.
  6. At session end, write session results:
    • If study-plan.yaml exists: append to session_history per the schema in the study-plan skill.
    • If not: write to ~/.codebuddy/plugins/config/legal-workflows/law-student/session-history.yaml.
  7. Report:
    • Score: X/N (percentage)
    • Missed: list with subtopic tags
    • Weak subtopics this session
    • Pattern vs. prior sessions on this subject (if history has 2+ prior)
    • What the plan now recommends next

infometa/workbuddyskills/tree/main/experts/law-student-coach/references/source-workflows/law-student/skills/session commit 1fb87a07da

Frequently asked questions

npx skillmds@latest add infometa/session