anki-card-generation

Converts Korean law study materials into Anki Basic and Cloze flashcards with source verification.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/kmjy98-sketch/khulaw --skill anki-card-generation-kmjy98-sketch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: anki-card-generation
Source: https://github.com/kmjy98-sketch/khulaw/tree/main/.agent/skills/anki-card-generation
Command: npx skills add https://github.com/kmjy98-sketch/khulaw --skill anki-card-generation-kmjy98-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns verified Korean law study materials—issue notes, wiki documents, statutes, and case law—into structured Anki Basic and Cloze cards while preventing ungrounded legal claims, guessed statute numbers, and fabricated case citations. ## Core Features & Use Cases - Card Type Templates: Generates Rule, Case-law, Issue, and MCQ/OX cards in Basic or Cloze Markdown formats with mandatory source and verification fields. - Evidence and Verification Rules: Requires every legal assertion to carry an evidence excerpt and location, assigns a verification status tag, and blocks card creation when sources are missing. - Lifecycle and Deduplication: Manages note_key-based card identity, draft-to-exported lifecycle states, and duplicate prevention so re-imports update existing notes without losing review history. - Use Case: Given a verified civil law issue note on unjust enrichment, produce tagged Cloze cards with statute anchors and export them via the apkg build checklist. ## Quick Start Ask the assistant to convert the verified civil law issue note into Anki Cloze cards with source citations and verification tags.

Frequently Asked Questions about anki-card-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert law study notes into Anki cards?▼

Provide a verified wiki or issue note and request Basic or Cloze card generation. Each card follows a fixed template with front/back or cloze text, tags, source, and a verification status field.

What card types does this Anki generation workflow support?▼

It supports Rule cards for legal elements and effects, Case-law cards for precedent holdings, Issue cards for claim and defense structures, and MCQ/OX cards for objective questions, each in Basic or Cloze format.

Can I generate Anki cards without source documents?▼

No. Cards require grounded evidence excerpts with location identifiers. If sources are missing or unreadable, the workflow outputs a hold notice listing what additional material is needed instead of guessing.

How does the skill prevent duplicate Anki cards?▼

It uses stable note_key identifiers in the format key::card_type::seq. Existing keys are updated rather than recreated, matching front sides are merged, and rejected cards cannot be regenerated without explicit user approval.

When is the apkg export built?▼

The apkg build runs only when the user explicitly requests it or card files change. Pre-build checks cover card counts, Basic/Cloze ratios, residual Chinese characters, unnumbered clozes, and note_key duplication.