Element-Based Lawsuit Document Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_a82a2273/element-lawsuit-generato.
About this skill
Problem context
Converting a traditional narrative lawsuit document into a court-style element-based form often requires manually separating the case type, parties, amounts, dates, and requested relief before filling a fixed template. When the source material is a .txt, .md, .docx, .pdf, or scanned image, this process is repetitive and prone to missed fields, especially checkboxes and table regions.
How it works
The skill targets 11 professional categories, 58 case types, and 104 templates, including complaints, answers, applications, and opinion statements. The pipeline includes:
- File parsing: reads text, documents, and PDF files, and can use OCR to extract text from images when needed.
- Case classification: matches keywords offline without relying on an external model, and returns candidate case types when confidence is low.
- Template retrieval: uses local templates first, and can download blank templates from the template repository and cache them on first use.
- Element extraction: distinguishes element-based input from traditional narrative input, then extracts key fields such as parties, amounts, and dates.
- Region filling: writes fields into the corresponding template regions using a paragraph-region index, and uses before_checkbox to target specific checkboxes so multiple □ marks on the same line are less likely to be checked by mistake.
Limits
It is best suited for cases where the underlying facts are already clear and the goal is to produce a standardized element-based document. If the source document is ambiguous, the case type is hard to identify, the template region is missing, or image recognition is poor, manual review is still required. The skill emphasizes local processing and does not upload document content, but image OCR and PDF parsing depend on optional dependencies.
Use Cases
- A lawyer receives a client's traditional complaint in .docx and needs to convert it into a court-style element form with parties and amounts filled in.
- A litigation assistant organizes labor dispute materials and needs to identify the case type before filling the matching answer template.
- Legal counsel extracts text from a scanned traffic accident document and needs to fill a fixed complaint template, including the correct gender checkbox.
- A lawyer works on a contract dispute application and needs to extract dates, amounts, and relief items into the correct template regions.
Best For
- Lawyers who need to convert clients' traditional complaints into court-style element-based forms
- Litigation assistants handling fixed case types such as labor or contract disputes
- Legal counsel responsible for checking template fields and checkboxes to avoid misfills
- Legal tech engineers who need offline case classification and local docx template filling
Related Skills
Systematically scans national strategy, technology trends, capital flows, and regional capacity to identify future industries, priority tracks, and actionable deployment pathways.
Recognizes plant growth stages from images or videos and outputs structured agronomic analysis, risk notes, suggestions, and cloud report history.
Analyzes child images or videos for ASD-related social, behavioral, and stereotyped traits, then produces a structured report with early intervention suggestions.
Prepare, submit, and verify enterprise tax filings through Qixiangyun MCP, including roster checks, initialization, PDF download, and missing-declaration checks.