FC

    Format Chinese Legal Footnotes With a Rule Engine

    by siyu liu

    1

    Generates, checks and rewrites Chinese legal footnotes from a deterministic rule engine, so the same citation always comes out identical.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Generates footnotes from a rule engine, not a model guess
    • Covers 69 document types and the manual's 150 clauses
    • Returns the same output for the same citation every time
    • Audits a whole paper and reports every irregular note
    • Rewrites every footnote in a document to the standard form

    Who it's for

    Law students and legal scholars

    Make sure your thesis or paper follows the exact Handbook rules every time.

    Try asking: “Check the footnotes in my law thesis for any formatting errors.”

    Law firm associates and paralegals

    Format citations for formal reports and legal documents without manual typing.

    Try asking: “Format this citation for Zhang Xinbao, Tort Law, 5th edition, Renmin University Press, 2020.”

    Legal journal editors

    Quickly verify that submitted manuscripts match the official citation manual.

    Try asking: “Rewrite all footnotes in this Word doc to follow the official manual style.”

    FC

    Format Chinese Legal Footnotes With a Rule Engine

    Example session with this skill installed

    Please check the footnotes in my paper named paper_draft.docx to see if they follow the handbook.

    • Read your context and instructions
    • Compiled the format chinese legal

    I have analyzed the footnotes in paper_draft.docx. I found 12 footnotes total.

    Here is the summary of what I found

    • Perfect: 8 footnotes match the manual exactly.
    • Punctuation issues: 2 footnotes use full-width punctuation instead of the required style.
    • Style errors: 1 footnote for a judicial case has the case number in the wrong order.
    • Unrecognized: 1 footnote could not be parsed automatically.

    Next steps:
    I can generate a new Word document for you called

    paper_draft_fixed.docx that fixes the punctuation and style errors. I will leave the "unrecognized" one alone so you can check the details manually.

    Would you like me to proceed with creating the fixed document and a comparison table?

    paper_draft.docx

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Citation errors in Chinese legal writing are hard to spot and easy to repeat: the publisher is in the wrong place, the edition is missing, the punctuation between elements is wrong. Asking a language model to format them from memory gets a different answer each time, and some of those answers are invented.

    This skill separates the two jobs. The model reads your material, fills the fields and explains the result. The footnote text itself comes from a rule engine that encodes the manual: 69 document types, all 150 clauses. The same citation produces the same footnote, character for character, and every line can be checked back against the clause it follows.

    Three ways to use it

    1. One footnote for one sentence. 2. An audit of an existing paper, listing every note that departs from the standard. 3. A batch rewrite: it produces a corrected copy and leaves your original file alone.

    Where it refuses

    When a field is missing, it asks. It does not invent a plausible publisher, year or page number, because a confident wrong citation is worse than a gap.

    Only works with real Word footnotes or Markdown tags. It cannot read footnotes typed as plain superscript numbers.

    Built with a deterministic rule engine in Python using standard libraries. It reads and writes .docx (via footnotes.xml) and .md files. The core logic covers 150 clauses from the Handbook of Legal Citation (2nd ed). It uses a JSON/YAML rule set to ensure output consistency across different sessions. Functions include cite, doc-check, and doc-rewrite via a CLI script.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed1 day ago

    What's inside

    Frequently Asked Questions

    Generates, checks and rewrites Chinese legal footnotes from a deterministic rule engine, so the same citation always comes out identical.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Format Chinese Legal Footnotes With a Rule Engine on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.