Element-Based Complaint Drafter
Paste the following prompt into your AI chat to install this skill:
Please install the @user_f92e3b61/complaint-drafter skill into your AI assistant according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Drafting court complaints from scattered dispute materials is often less about missing structure than about damaging the official template: tables get rearranged, fonts get replaced, and missing fields get deleted. This skill turns user materials into a .docx draft focused on the 67 element-based case types defined by the Supreme People's Court. It fills official templates for 54 case types, generates element-based applications for 13 state compensation or enforcement types, and falls back to a general complaint when no official element template is hit.
Workflow
- Case-type first: reads
references/67类要素式案由清单.md, infers the legal relationship from contracts, chat logs, or complaint images, and matches the closest case type. If uncertain, it asks the user instead of guessing. - Template fill, not rewrite: for the 54 complaint templates, it uses prebuilt marked
references/marked/*.docxfiles andreferences/marked/*.fields.json, extracts field values intovalues.json, and runsgenerate_complaint_docx.py --fillto replace⟦F{n}⟧placeholders. - Faithful formatting: official tables, column widths, fonts, labels, and prompt text are preserved; checkboxes are marked with
√/□; unknown fields are left blank and flagged for follow-up. - Image-to-Word: it can process photos, scans, or screenshots, normalize the image, read text with
Read, extract parties, claims, and facts, then rebuild the document as.docx.
Boundaries
The output is a document draft, not legal advice; it does not determine liability or whether a damages amount is reasonable. For major or complex cases, consult a licensed attorney, and follow the receiving court's current filing requirements.
Use Cases
- Turn loan contracts, transfer records, and chat screenshots into a Word complaint draft for a private lending dispute.
- Recognize a photographed complaint page by page and turn it into an editable Word element-based complaint.
- Use unpaid wage and termination materials to match a labor dispute case type and generate an element-based complaint.
- If the case is outside the 67 official element templates, generate a general complaint with plaintiff, defendant, and claims.
Best For
- Legal assistants who need to organize client dispute materials into a court complaint draft.
- Self-represented parties who want to turn chat logs and contracts into a complaint draft.
- Litigation assistants who need to convert scanned or handwritten complaints into editable Word files.
- Law clerks who need to check case types and choose between element-based and general complaint structures.
Related Skills
Based on Hengsheng Juyuan MCP financial data, it assesses equity, bond, commodity, and overseas markets and produces sourced risk reports with allocation guidance.
Applies a six-question industry-chain framework for structured fundamental analysis of sectors, profit pools, competition, ROIC, valuation, and domestic substitution.
Performs structured contract risk assessment, adds revision suggestions in the document, and generates a standalone review report.
A single-stock research framework that produces seven-dimension drafts, integrated analysis, scenario projections, and dual-track reference, with optional comparison and no investment advice.