China Legal Matters AI Specialist
Paste the following prompt into your AI chat to install this skill:
Please install @user_741dc82b/baozheng by following the guide at https://skillhub.cn/install/skillhub.md.
About this skill
The Problem It Solves
When dealing with Chinese legal matters, two key pain points arise from the lack of structured tooling: information asymmetry, where individuals or junior lawyers struggle to quickly locate relevant statutes, retrieve useful precedents, and organize them into compliant documents; and process fragmentation, where data cannot flow between steps like legal consultation, document drafting, and statute analysis, forcing users to repeatedly describe the case.
The 包拯 SKILL (Bao Zheng Skill) is designed specifically to address these issues. It is not a general-purpose chatbot but a structured, multi-module Agent skillset for the Chinese legal domain. Its goal is to integrate discrete legal support tasks into a routable and trackable workflow.
How It Works: Core Capabilities & Key Steps
The skill employs a "router-submodule" architecture. Its core lies in precise intent recognition and task dispatch.
- Smart Routing & Convergence: Upon receiving user input, the skill first initiates up to 3 rounds of intent convergence via
shared-intent-convergence.md. It determines if the intent is clear (jump directly to the target module), vague (guide clarification), or mixed (ask the user for preference). - Modular Execution: Based on the routing decision, it loads the corresponding submodule:
- Module A (Consultation): Executes a 4-step deep analysis process, outputting a legal analysis report.
- Module B (Complaint Drafting): Generates a structured complaint using one of 35 specific case templates (e.g.,
case-19-personality-internet.mdfor personality rights disputes on the internet). - Module C (Statute Analysis & Retrieval): The core is
shared-statute-engine.md, which prioritizes calling theflk.npc.gov.cnAPI for real-time statutory data. If the API fails, it degrades gracefully to an AI knowledge base. It follows a 6-step workflow (Init-Step-Poll) to produce its analysis. - Module D (Criminal Law): Assists in drafting 5 types of specialized criminal law documents, from case consultation and complaint materials to bail applications and defense opinion summaries.
- Supporting Public Layer: All modules share 10 categories of error-handling protocols (including a circuit-breaker after 5 consecutive API failures) and a global disclaimer to ensure output consistency and legal safety.
Applicability & Key Considerations
The skill has defined boundaries that must be respected:
- Strictly Limited to Chinese Law: Its trigger conditions explicitly state "Chinese legal matter consultation." It does not handle non-Chinese legal systems (e.g., Common Law).
- Assistance, Not Representation: Output documents (e.g., complaints, defense briefs) are professional drafts. Critical documents will note "suggested for review by a practicing attorney before submission." It does not execute actual litigation agency.
- Dependence on External Data: The real-time availability of statute information relies on the stability of the
flk.npc.gov.cnAPI. If the API is unavailable, the system degrades and marks the source as "AI training knowledge base," which may have lagging updates. - Task Scope: The skill focuses solely on the "consultation, drafting, analysis, and retrieval" aspects of legal problems. It does not cover subsequent enforcement, payments, or direct interaction with court systems.
Use Cases
- A lawyer or paralegal needs to quickly generate a civil complaint draft that meets court filing requirements, based on a client's account of a private lending dispute.
- A corporate compliance specialist, while reviewing a new technology contract, needs to retrieve relevant laws on software protection and analyze the constituent elements of specific clauses.
- A criminal defense lawyer, after an interrogation phase meeting with a client, needs to compile a draft application for bail pending trial with clear key points.
- A law student studying criminal law is confused about the boundary between 'justifiable defense' and 'excessive defense' in case examples and seeks in-depth analysis and comparison of the relevant statutes.
Best For
- Practicing lawyers or law firm assistants who need to efficiently handle a high volume of basic document drafting and statute research, ensuring the professionalism and standard formatting of outputs.
- Individual users facing labor disputes, consumer rights issues, or contract disagreements, who wish to obtain a professional legal analysis report and initial document framework before immediately hiring a lawyer.
- Law students or candidates preparing for the legal professional qualification examination, who need a tool that can precisely cite statutes and provide authoritative analysis to assist their study and research.
- Founders or managers of startups or SMEs without a dedicated legal department, who need to handle specific legal affairs such as company dissolution and liquidation or government information disclosure applications on their own.
Related Skills
A financial data query skill developed by the Tencent Stock Watchlist team for fetching real-time quotes, financial statements, capital flows, and historical K-line data for A-shares, Hong Kong stocks, US stocks, and other markets.
An AI-driven tool for resolving labor disputes in China, assisting with issues like wrongful termination, wage arrears, overtime pay, and work injuries through legal analysis, calculations, and document drafting.
A pre-publication compliance inspection skill for copywriting, using a three-layer risk structure to detect forbidden words and provide detailed issue lists and modification suggestions.
An AI-powered legal consultation and structured complaint drafting tool based on Chinese current law, covering 11 standard case types plus a universal template, with intelligent case type identification and document output.