record-case-solver

Generates Korean legal briefs from case record PDFs through fact analysis, statute and precedent research, and IRAC drafting.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/kmjy98-sketch/khulaw --skill record-case-solver-kmjy98-sketch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: record-case-solver
Source: https://github.com/kmjy98-sketch/khulaw/tree/main/sync/_meta/%EA%B8%B0%EB%A1%9D%ED%98%95%ED%92%80%EC%9D%B4_%EC%8A%A4%ED%82%AC_2026-05-05
Command: npx skills add https://github.com/kmjy98-sketch/khulaw --skill record-case-solver-kmjy98-sketch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Drafting Korean bar-exam record-type answers and competition briefs requires reading dozens of case record PDFs, organizing disputed facts, verifying statutes and precedents, and producing court-formatted documents — a slow, error-prone manual process. ## Core Features & Use Cases - Three-phase pipeline: Phase 0 inventories and batch-extracts record PDFs to markdown, Phase 1 builds timelines, undisputed-fact lists, issue-claim tables, and evidence classifications, Phase 2 verifies statutes and precedents via korean-law-mcp and official legal databases, and Phase 3 drafts the brief. - Multiple document types: Produces complaints, answers, preparatory briefs, reference briefs, defense opinions, and review opinions for civil, criminal, and regulatory advisory matters. - Submission-ready output: Converts drafts to docx with competition formatting rules (page caps, margins, fonts) via a md_to_docx script. - Use Case: Point the skill at a folder of case record PDFs for a moot court problem, and it extracts the record, maps disputed facts to issues, verifies cited precedents, and delivers a formatted defense brief. ## Quick Start Analyze the case record PDFs in the folder '2026형제8765 상해' and draft a defense opinion brief following the three-phase record-solving workflow.

Frequently Asked Questions about record-case-solver

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

FAQPage Schema
How do I draft a Korean legal brief from case record PDFs?▼

Provide the case record folder path and the document type you need, such as a complaint or defense opinion. The skill inventories the PDFs, extracts text in batch, organizes facts and issues, verifies statutes and precedents, then drafts the brief in three phases.

How are statutes and precedents verified in legal drafting?▼

Every statute and case number is queried through korean-law-mcp, with fallback searches on law.go.kr and glaw.scourt.go.kr. Unverified citations are marked as needing verification and never asserted as confirmed in the final draft.

Can it handle scanned PDF case records?▼

Yes. When extracted text is sparse, the skill detects scanned PDFs. Small files are read directly by page, while large ones are routed through a Colab OCR notebook that the user runs separately.

What output formats does the legal brief workflow produce?▼

It produces three markdown files covering fact organization, issues with statutes and precedents, and the final brief. The brief is then converted to docx via a Node script so the user can save it as HWP for submission.

What are the limitations of automated record-type answer generation?▼

The skill cannot invent facts outside the record and refuses unverified precedents, so gaps appear as explicit verification-needed markers. Records over roughly 100 pages require prioritized reading rather than full review, which may miss minor details.