Complaint Drafting: One-Click Generation Skill for Civil and Commercial Case Filing Documents

Preface

Upon accepting a civil case, lawyers often need to assemble a complete set of materials within a short timeframe, including the Statement of Claim, Application for Property Preservation, Power of Attorney, Law Firm Letter of Assignment, Client Reception Record, Interest Calculation Sheet, and Agency Contract. Relying solely on general large language models to draft these documents individually can easily lead to inconsistent formatting, missing fixed attachments, and discrepancies between facts and legal citations. The following introduces the community Skill “Litigation Document Generator” on SkillHub (Coordinates @user_b8af0005/litigation-docs-generator, current version v2.8.0). It utilizes templates within the references/ directory to drive output, stringing together a fixed workflow of “Information Collection → Retrieval → Template-based Drafting → Linked Element-based Statement of Claim Generation.”

What is This

“Litigation Document Generator” is a skill for generating sets of civil and commercial litigation documents. It is published by SkillHub user user_b8af0005 (page author: Lu Lingyan UMU), sourced from the community, categorized as professional, and tagged as Legal Compliance. SkillHub marks it as requires_api_key=false, meaning installation itself does not mandate separate API Key configuration; however, if enabling legal database retrieval from sources like Yuandian or PKULaw, users must still configure access according to those platforms’ requirements.

When a user requests the drafting of a civil Statement of Claim, the generation of litigation documents, or the preparation of case filing materials, the Agent triggers according to the Skill instructions. The goal is to deliver a complete suite of supporting documents in one go, rather than generating just a single Statement of Claim.

Core Features

Auto-generated Document List

The main workflow listed in the skill instructions generates 10 supporting documents:

  1. Civil Statement of Claim
  2. Application for Litigation Preservation
  3. Letter of Guarantee
  4. Power of Attorney
  5. Law Firm Letter of Assignment
  6. Identity Certificate of Legal Representative (Only when the plaintiff is a company)
  7. Lawyer’s Client Reception Record
  8. Interest Loss Calculation Sheet (Excel)
  9. Entrustment Agency Contract
  10. Includes two fixed documents: Risk Disclosure Statement and Lawyer Work Feedback Card (replicated verbatim from the DeHeng standard originals each time to reduce the risk of missing items).

Core Workflow

The official processing sequence is:

Information Collection → Legal Retrieval (Yuandian / PKULaw) → Mandatory Loading of All Templates → Template-based Generation per Document → Fixed Template Rendering → Linked Generation of Element-based Documents → (When the defendant is a natural person) Generation of Population Information Retrieval Materials.

Key points are as follows:

  • All documents are strictly driven by templates under references/; free improvisation is prohibited.
  • Supports retrieval of regulations and similar cases from professional legal databases such as Huyu Yuandian and PKULaw.
  • Automatically retrieves and completes company information when either party is an enterprise.
  • When matching the cause of action, links with the element-complaint-filler skill to simultaneously generate an element-based Statement of Claim.
  • When the defendant is a natural person, proactively prompts whether to retrieve household registration population information; lawyers in the Wuxi region can automatically generate the public security standardized “Authorization for Case Party Information Retrieval” (Appendix 1) and “Application Form for Lawyers and Grassroots Legal Service Workers to Query Population Information for Litigation/Arbitration Agency” (Appendix 2).
  • After delivering the document set, it asks once whether to link with the law firm OA filing (calling lawfirm-oa-filing, including conflict of interest checks, reusing collected information without asking for it again).

Installation and Activation

The SkillHub page provides two common installation methods: sending the installation prompt to the AI, or downloading the Zip package to install locally on an Agent; the page also notes support for WorkBuddy.

In Agent conversations supporting SkillHub (such as Cursor, Codex CLI, Claude Code), send the following content and let the Agent execute according to the SkillHub installation documentation:

Please install `@user_b8af0005/litigation-docs-generator` based on https://skillhub.cn/install/skillhub.md.

The installation documentation address is https://skillhub.cn/install/skillhub.md; specific directories and client differences are subject to that document. If clients have different storage paths for Skills, refer to the installation instructions read in your current environment; this article does not speculate on paths.

Other Entry Points

  • Skill Package Address: https://api.skillhub.cn/user_b8af0005/litigation-docs-generator
  • SkillHub Display Page: https://www.skillhub.cn/skills/user_b8af0005/litigation-docs-generator

The page shows approximately 17,000 cumulative downloads for this Skill (consistent with the SkillHub backend statistics of 17,059 downloads). Reports from Yunding Lab and Keen Lab indicate it is safe and risk-free.

Typical Usage

The skill is triggered by natural language intent; there is no need to memorize fixed slash commands. You can describe the task directly in the Agent, for example:

Please use the Litigation Document Generation skill to help me prepare case filing materials for a private lending dispute: The plaintiff is a company, the defendant is a natural person, preservation is required, and an interest calculation sheet needs to be generated.

Following the steps above, the Agent should first collect information such as parties, claims, facts and reasons, and evidence points, then generate documents one by one according to templates; if the cause of action matches element-based requirements, it will link with element-complaint-filler; if the defendant is a natural person, it will prompt options related to population information retrieval; after full delivery, it will ask whether to proceed with the lawfirm-oa-filing filing process.

If the parties include an enterprise entity, be prepared with a searchable company name or Unified Social Credit Code so that the “Automatic Enterprise Information Completion” step in the skill instructions can be executed.

Applicable Scenarios and Notes

Who is it for

  • Civil and commercial lawyers and legal counsel who need to quickly assemble a complete set of documents for case filing and entrustment procedures.
  • Teams already using SkillHub in Agent workflows who want to lock document formatting to templates rather than model improvisation.

Usage Notes

  • Output quality depends on the completeness and accuracy of the facts you provide; template-driven generation reduces formatting omissions but cannot replace professional judgment and manual review.
  • Yuandian and PKULaw retrieval capabilities depend on whether you have configured the corresponding database access; without configuration, retrieval-related steps may not be completed as designed.
  • element-complaint-filler and lawfirm-oa-filing are linked skills and require installation in the environment or simultaneous installation via SkillHub instructions.
  • The population information query form for the Wuxi region is a localized capability; for other regions, refer to the skill’s actual prompts.
  • Fixed documents use a replication strategy of DeHeng standard originals. If your law firm’s internal templates differ, you still need to replace them with your firm’s version after generation.

Conclusion

“Litigation Document Generator” incorporates multiple common documents for civil and commercial case filing into a single templated pipeline, connecting extended steps like legal retrieval, element-based Statements of Claim, and law firm OA filing. If you want to systematically prepare case filing materials within an Agent, you can install @user_b8af0005/litigation-docs-generator from SkillHub:

https://www.skillhub.cn/skills/user_b8af0005/litigation-docs-generator

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye